/* ==========================================================================
   Scene Production — website styles
   Brand: Blaze Orange #FF5B05 · Wild Sand #E4EEF0 · Mirage #16232B · Sea Green #075055
   Direction-agnostic: written with logical properties, works for RTL (ar) and LTR (en).
   ========================================================================== */

:root {
  --orange: #ff5b05;
  --orange-hover: #e04e00;
  --sand: #e4eef0;
  --mirage: #16232b;
  --sea: #075055;
  --black: #000;
  --white: #fff;

  /* Graphik Arabic is the brand typeface; it is used automatically if installed/licensed.
     IBM Plex Sans Arabic is the typeface used throughout the identity presentation. */
  --font: "Graphik Arabic", "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif;

  --fs-300: 0.875rem;
  --fs-400: 1.0625rem;
  --fs-500: clamp(1.125rem, 1rem + 0.45vw, 1.3125rem);
  --fs-600: clamp(1.3125rem, 1.05rem + 0.9vw, 1.75rem);
  --fs-700: clamp(1.625rem, 1.15rem + 1.7vw, 2.5rem);
  --fs-800: clamp(2.5rem, 1.35rem + 4.4vw, 5.5rem);
  --fs-hero: clamp(1.875rem, min(1rem + 3.1vw, 7.4vh), 4.125rem);

  --gutter: clamp(20px, 4.5vw, 64px);
  --maxw: 1360px;
  --header-h: 76px;
  --section-y: clamp(88px, 11vw, 168px);
  --radius-ui: 14px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  --mask: url("../brand/screen-mask.svg");
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

@media (max-width: 960px) {
  :root { --header-h: 64px; }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-400);
  line-height: 1.85;
  color: var(--mirage);
  background: var(--black);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

html[lang="en"] body { line-height: 1.65; }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ol, ul, dl, dd, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
button { font: inherit; }

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

.menu-open { overflow: hidden; }

.visually-hidden {
  position: absolute !important;
  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;
  inset-block-start: 12px;
  inset-inline-start: 12px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--orange);
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-200%);
}
.skip-link:focus { transform: none; }

.container {
  width: 100%;
  max-width: calc(var(--maxw) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Section display titles — set like the identity's slide titles (with kashida in Arabic) */
.display {
  font-size: var(--fs-800);
  font-weight: 700;
  line-height: 1.12;
}
html[lang="en"] .display { letter-spacing: -0.03em; line-height: 1; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  min-height: 52px;
  padding: 0.7em 1.55em;
  border: 1px solid transparent;
  border-radius: var(--radius-ui);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.btn--sm { min-height: 42px; padding: 0.5em 1.1em; font-size: 0.9375rem; }
.btn--primary { background: var(--orange); color: var(--white); }
.btn--primary:hover { background: var(--orange-hover); }
.btn--ghost { border-color: rgba(255, 255, 255, 0.38); color: var(--white); }
.btn--ghost:hover { border-color: var(--white); background: rgba(255, 255, 255, 0.08); }
.btn--dark { background: var(--mirage); color: var(--white); }
.btn--dark:hover { background: var(--black); }
.btn--line { border-color: var(--mirage); color: var(--mirage); }
.btn--line:hover { background: var(--mirage); color: var(--white); }

/* ---------- Logo ---------- */
.brand { display: inline-flex; align-items: center; color: inherit; text-decoration: none; }
.brand svg { display: block; height: 34px; width: auto; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 50;
  height: var(--header-h);
  color: var(--white);
  transition: transform 0.45s var(--ease-out), background-color 0.3s;
}
.site-header.is-solid {
  background: rgba(0, 0, 0, 0.74);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
}
.site-header.is-hidden { transform: translateY(-100%); }
html:not(.js) .site-header { background: rgba(0, 0, 0, 0.86); }
/* backdrop-filter/transform would trap the fixed menu inside the header box */
.site-header.is-menu {
  background: var(--black);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  transform: none;
  transition: none;
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 48px);
  height: 100%;
}

.nav { margin-inline-start: auto; }
.nav__list { display: flex; gap: clamp(18px, 2.4vw, 40px); }
.nav__link {
  position: relative;
  display: block;
  padding-block: 6px;
  font-size: 0.9375rem;
  text-decoration: none;
  opacity: 0.72;
  transition: opacity 0.2s;
}
.nav__link:hover,
.nav__link[aria-current="true"] { opacity: 1; }
.nav__link[aria-current="true"]::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  inset-block-end: -2px;
  height: 2px;
  background: var(--orange);
}

.header-actions { display: flex; align-items: center; gap: clamp(14px, 1.6vw, 24px); }
.lang {
  font-size: 0.9375rem;
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.2s;
}
.lang:hover { opacity: 1; }

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-inline-end: -10px;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
}
.menu-toggle span,
.menu-toggle span::before {
  display: block;
  width: 24px;
  height: 2px;
  background: currentColor;
  transition: transform 0.3s var(--ease-out);
}
.menu-toggle span { position: relative; transform: translateY(-4px); }
.menu-toggle span::before { content: ""; position: absolute; inset-block-start: 8px; }
.menu-toggle[aria-expanded="true"] span { transform: translateY(0) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span::before { transform: translateY(-8px) rotate(-90deg); }

.mobile-menu {
  position: fixed;
  inset: var(--header-h) 0 0;
  z-index: 49;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
  padding: 32px var(--gutter) 40px;
  background: var(--black);
  color: var(--white);
  overflow-y: auto;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu__list { display: grid; gap: 6px; }
.mobile-menu__list a {
  display: block;
  padding-block: 8px;
  font-size: clamp(1.75rem, 1.2rem + 3vw, 2.5rem);
  font-weight: 600;
  line-height: 1.35;
  text-decoration: none;
}
.mobile-menu__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }

@media (max-width: 960px) {
  .nav,
  .header-actions .btn { display: none; }
  .menu-toggle { display: inline-flex; }
  .header-actions { margin-inline-start: auto; }
  .brand svg { height: 28px; }
}

/* ---------- The "screen" (logo-shaped frame) ---------- */
.screen {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #04070a;
  -webkit-mask: var(--mask) center / 100% 100% no-repeat;
  mask: var(--mask) center / 100% 100% no-repeat;
}
.screen > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Film grain, as in the identity imagery */
.grain { isolation: isolate; }
.grain::after {
  content: "";
  position: absolute;
  inset: -120px;
  z-index: 4;
  pointer-events: none;
  background-image: var(--grain);
  background-size: 220px 220px;
  opacity: 0.26;
  mix-blend-mode: overlay;
  animation: grain 0.8s steps(5) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); }
  20% { transform: translate(-40px, 24px); }
  40% { transform: translate(32px, -36px); }
  60% { transform: translate(-24px, -16px); }
  80% { transform: translate(44px, 30px); }
  100% { transform: translate(0, 0); }
}

/* ==========================================================================
   Hero + statement ("reel")
   Default = static layout (no JS / reduced motion).
   html.cinematic = the screen expands into the full scene on scroll.
   ========================================================================== */
.reel { position: relative; background: var(--black); color: var(--white); }
.reel__screen { display: none; }

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(32px, 5vw, 96px);
  min-height: 100vh;
  min-height: 100svh;
  padding-block: calc(var(--header-h) + 24px) 96px;
  padding-inline: max(var(--gutter), (100% - var(--maxw)) / 2);
}

.hero__copy { position: relative; z-index: 2; max-width: 46rem; }
.hero__title {
  font-size: var(--fs-hero);
  font-weight: 700;
  line-height: 1.24;
}
html[lang="en"] .hero__title { letter-spacing: -0.03em; line-height: 1.06; }
.hero__title span { display: block; }
.hero__lead {
  max-width: 33em;
  margin-block-start: clamp(16px, 3vh, 28px);
  font-size: var(--fs-500);
  font-weight: 400;
  line-height: 1.75;
  color: rgba(228, 238, 240, 0.78);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-block-start: clamp(24px, 4.5vh, 40px); }

.hero__slot {
  position: relative;
  justify-self: center;
  width: min(100%, 64vh);
  aspect-ratio: 1;
}

.hero__meta {
  position: absolute;
  z-index: 2;
  inset-inline: max(var(--gutter), (100% - var(--maxw)) / 2);
  inset-block-end: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-size: var(--fs-300);
  color: rgba(228, 238, 240, 0.6);
}
.cue { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; }
.cue:hover { color: var(--white); }
.cue__chev { display: inline-flex; flex-direction: column; line-height: 0.42; font-size: 15px; font-weight: 700; }
.cue__chev i { display: block; font-style: normal; transform: rotate(90deg); animation: chev 1.8s infinite; }
.cue__chev i:nth-child(2) { animation-delay: 0.15s; }
.cue__chev i:nth-child(3) { animation-delay: 0.3s; }
@keyframes chev { 0%, 100% { opacity: 0.25; } 30% { opacity: 1; } }

/* Statement — full-bleed scene */
.statement {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: var(--section-y) var(--gutter);
  overflow: hidden;
  text-align: center;
}
.statement__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.statement__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0.68));
}
.statement__inner { position: relative; z-index: 5; max-width: 52rem; }
.statement__text {
  font-size: clamp(1.5rem, 0.95rem + 2.3vw, 3rem);
  font-weight: 500;
  line-height: 1.6;
}
html[lang="en"] .statement__text { line-height: 1.42; letter-spacing: -0.01em; }
.statement__sub {
  margin-block-start: 36px;
  font-size: var(--fs-500);
  color: var(--sand);
  opacity: 0.86;
}

/* --- Cinematic mode --- */
.cinematic .reel { height: 290vh; height: 290svh; }
.cinematic .reel__stage {
  position: sticky;
  inset-block-start: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
}
.cinematic .hero { position: absolute; inset: 0; min-height: 0; }
.cinematic .hero__slot .screen { visibility: hidden; }
.cinematic .reel__screen {
  display: block;
  position: absolute;
  z-index: 1;
  overflow: hidden;
  -webkit-mask: var(--mask) center / var(--m, 100%) var(--m, 100%) no-repeat;
  mask: var(--mask) center / var(--m, 100%) var(--m, 100%) no-repeat;
  opacity: 0;
}
.cinematic .reel__screen.is-measured { opacity: 1; }
.cinematic .reel__crt {
  position: absolute;
  inset: 0;
  background: #04070a;
  transform: scale(0, 0.006);
}
.cinematic .reel__screen.is-on .reel__crt { animation: crt-on 1.5s var(--ease-out) 0.15s both; }
.cinematic .reel__crt img,
.cinematic .reel__crt video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: drift 26s ease-in-out infinite alternate;
}
.cinematic .reel__dim {
  position: absolute;
  inset: 0;
  z-index: 3;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.7));
  opacity: var(--dim, 0);
}
.cinematic .statement {
  position: absolute;
  inset: 0;
  z-index: 3;
  min-height: 0;
  opacity: 0;
  pointer-events: none;
}
.cinematic .statement__bg,
.cinematic .statement__shade,
.cinematic .statement.grain::after { display: none; }

@keyframes crt-on {
  0% { transform: scale(0, 0.006); filter: brightness(6) saturate(0); }
  28% { transform: scale(1, 0.006); filter: brightness(6) saturate(0); }
  62% { transform: scale(1, 1); filter: brightness(1.9) saturate(0.6); }
  100% { transform: scale(1, 1); filter: none; }
}
@keyframes drift {
  from { transform: scale(1.04) translate(0, 0); }
  to { transform: scale(1.14) translate(-2.5%, 1.5%); }
}

/* ==========================================================================
   Sections
   ========================================================================== */
.section { padding-block: var(--section-y); }
.section--sand { background: var(--sand); color: var(--mirage); }
.section--white { background: var(--white); color: var(--mirage); }
.section--black { background: var(--black); color: var(--white); }
.section--sea { background: var(--sea); color: var(--white); }
.section--mirage { background: var(--mirage); color: var(--sand); }

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  align-items: end;
  gap: 24px clamp(40px, 6vw, 104px);
  margin-block-end: clamp(48px, 7vw, 104px);
}
.section-head__text { max-width: 34em; font-size: var(--fs-500); line-height: 1.75; }
.section--black .section-head__text,
.section--sea .section-head__text { color: rgba(228, 238, 240, 0.78); }
.section--white .section-head__text,
.section--sand .section-head__text { color: rgba(22, 35, 43, 0.78); }

/* ---------- About ---------- */
.about {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: clamp(48px, 7vw, 128px);
  align-items: start;
  margin-block-start: clamp(48px, 7vw, 96px);
}
.about__lead {
  max-width: 24em;
  font-size: var(--fs-600);
  font-weight: 500;
  line-height: 1.65;
}
html[lang="en"] .about__lead { line-height: 1.45; letter-spacing: -0.01em; }
.about__body { max-width: 36em; margin-block-start: 28px; color: rgba(22, 35, 43, 0.82); }
.about__body p + p { margin-block-start: 1em; }

.sectors { margin-block-start: clamp(48px, 6vw, 72px); }
.sectors__title { font-size: var(--fs-400); font-weight: 600; margin-block-end: 14px; }
.sector-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; }
.sector-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-block: 15px;
  border-block-start: 1px solid rgba(22, 35, 43, 0.14);
  font-weight: 500;
  line-height: 1.5;
}
.sector-list li::before {
  content: "";
  flex: none;
  width: 12px;
  height: 12px;
  background: var(--orange);
  -webkit-mask: var(--mask) center / 100% 100% no-repeat;
  mask: var(--mask) center / 100% 100% no-repeat;
}

.story__media {
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border-radius: 6px;
  background: #0b1216;
}
.story__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 52%; }
.story__title { margin-block-start: 28px; font-size: var(--fs-500); font-weight: 600; line-height: 1.5; }
.story__text { margin-block-start: 10px; font-size: 0.96875rem; color: rgba(22, 35, 43, 0.78); }

/* ---------- Formats: one scene, every screen ----------
   Frames share one height: each item grows in proportion to its aspect ratio (--r). */
.formats {
  display: flex;
  align-items: flex-start;
  gap: clamp(16px, 2vw, 32px);
}
.format { flex: var(--r) 1 0; min-width: 0; }
.format__screen {
  position: relative;
  aspect-ratio: var(--ar);
  overflow: hidden;
  border-radius: 10px;
  background: #0a0f12;
  box-shadow: 0 0 0 1px rgba(228, 238, 240, 0.1);
}
.format__screen img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-out); }
.format:hover .format__screen img { transform: scale(1.04); }

/* Viewfinder overlay: corner marks, record light, ratio, timecode */
.format__hud {
  --hud: rgba(255, 255, 255, 0.8);
  --c: 14px;
  position: absolute;
  inset: clamp(10px, 1.1vw, 16px);
  z-index: 5;
  direction: ltr;
  color: var(--hud);
  font: 600 0.625rem/1 ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  letter-spacing: 0.08em;
  pointer-events: none;
  background:
    linear-gradient(var(--hud), var(--hud)) top left / var(--c) 1.5px,
    linear-gradient(var(--hud), var(--hud)) top left / 1.5px var(--c),
    linear-gradient(var(--hud), var(--hud)) top right / var(--c) 1.5px,
    linear-gradient(var(--hud), var(--hud)) top right / 1.5px var(--c),
    linear-gradient(var(--hud), var(--hud)) bottom left / var(--c) 1.5px,
    linear-gradient(var(--hud), var(--hud)) bottom left / 1.5px var(--c),
    linear-gradient(var(--hud), var(--hud)) bottom right / var(--c) 1.5px,
    linear-gradient(var(--hud), var(--hud)) bottom right / 1.5px var(--c);
  background-repeat: no-repeat;
}
.format--light .format__hud { --hud: rgba(22, 35, 43, 0.62); }
.format__rec,
.format__ratio,
.format__tc { position: absolute; }
.format__rec { top: 10px; left: 11px; display: flex; align-items: center; gap: 6px; }
.format__rec::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
}
.format__ratio { top: 10px; right: 11px; }
.format__tc { bottom: 10px; left: 11px; font-variant-numeric: tabular-nums; }
.format__focus {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 30px;
  height: 22px;
  margin: -11px 0 0 -15px;
  border: 1.5px solid var(--hud);
  border-radius: 2px;
}

.format__title { margin-block-start: 18px; font-size: var(--fs-500); font-weight: 600; line-height: 1.4; }
.format__num { margin-inline-start: 4px; font-size: 0.8em; font-weight: 500; color: var(--orange); font-variant-numeric: tabular-nums; }
.format__use { margin-block-start: 4px; font-size: var(--fs-300); line-height: 1.6; color: rgba(228, 238, 240, 0.66); }

.formats-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-block-start: clamp(56px, 7vw, 96px);
  padding-block-start: 32px;
  border-block-start: 1px solid rgba(228, 238, 240, 0.14);
  color: rgba(228, 238, 240, 0.72);
}

/* ---------- Services ---------- */
.services {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(40px, 6vw, 112px);
  align-items: start;
}
.service-list { border-block-start: 1px solid rgba(22, 35, 43, 0.14); }
.service {
  display: grid;
  grid-template-columns: 1fr;
  padding-block: clamp(22px, 2.6vw, 34px);
  border-block-end: 1px solid rgba(22, 35, 43, 0.14);
  transition: opacity 0.35s;
}
.service-list.is-previewing .service:not(.is-active) { opacity: 0.4; }
.service__title {
  display: flex;
  align-items: center;
  font-size: var(--fs-700);
  font-weight: 600;
  line-height: 1.3;
}
html[lang="en"] .service__title { letter-spacing: -0.02em; line-height: 1.15; }
.service__title::before {
  content: "";
  flex: none;
  width: 0;
  height: 0.5em;
  background: var(--orange);
  -webkit-mask: var(--mask) center / 100% 100% no-repeat;
  mask: var(--mask) center / 100% 100% no-repeat;
  transition: width 0.35s var(--ease-out), margin 0.35s var(--ease-out);
}
.service.is-active .service__title::before { width: 0.5em; margin-inline-end: 0.4em; }
.service__desc { max-width: 34em; margin-block-start: 8px; color: rgba(22, 35, 43, 0.74); }

.services__screen {
  position: sticky;
  inset-block-start: calc(var(--header-h) + 48px);
  aspect-ratio: 1;
}
.services__screen .screen > img {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s;
}
.services__screen .screen > img.is-active { opacity: 1; }

.formats-nav { display: none; }
.formats-track {
  --size: 0.4;
  --pos: 0;
  position: relative;
  flex: none;
  width: 88px;
  height: 3px;
  border-radius: 2px;
  background: rgba(228, 238, 240, 0.18);
  overflow: hidden;
}
.formats-thumb {
  position: absolute;
  inset-block: 0;
  inset-inline-start: calc(var(--pos) * (1 - var(--size)) * 100%);
  width: calc(var(--size) * 100%);
  border-radius: inherit;
  background: var(--orange);
}

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.step { position: relative; padding-block-start: 44px; padding-inline-end: clamp(16px, 2.4vw, 40px); }
.step::before {
  content: "";
  position: absolute;
  inset-block-start: 0;
  inset-inline: 0;
  height: 1px;
  background: rgba(228, 238, 240, 0.3);
}
.step::after {
  content: "";
  position: absolute;
  inset-block-start: -7px;
  inset-inline-start: 0;
  width: 15px;
  height: 15px;
  background: var(--orange);
  -webkit-mask: var(--mask) center / 100% 100% no-repeat;
  mask: var(--mask) center / 100% 100% no-repeat;
}
.step:last-child::before { inset-inline-end: auto; width: 15px; }
.step__num {
  display: block;
  font-size: clamp(2.5rem, 1.6rem + 2vw, 3.75rem);
  font-weight: 300;
  line-height: 1;
  color: rgba(228, 238, 240, 0.48);
  font-variant-numeric: tabular-nums;
}
.step__title { margin-block-start: 22px; font-size: var(--fs-600); font-weight: 600; line-height: 1.35; }
.step__desc { margin-block-start: 10px; font-size: 0.96875rem; color: rgba(228, 238, 240, 0.78); }

/* ---------- FAQ ---------- */
.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(40px, 7vw, 128px);
  align-items: start;
}
.faq-layout__head { position: sticky; inset-block-start: calc(var(--header-h) + 32px); }
.faq-layout__text { max-width: 26em; margin-block-start: 28px; font-size: var(--fs-500); line-height: 1.75; color: rgba(22, 35, 43, 0.78); }
.faq-layout__more { margin-block-start: 24px; font-size: var(--fs-400); color: rgba(22, 35, 43, 0.78); }
.faq-layout__more a { color: var(--mirage); font-weight: 600; text-underline-offset: 5px; text-decoration-color: var(--orange); text-decoration-thickness: 2px; }

.faq { border-block-end: 1px solid rgba(22, 35, 43, 0.16); }
.faq__item { border-block-start: 1px solid rgba(22, 35, 43, 0.16); }
.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: clamp(20px, 2.2vw, 28px);
  cursor: pointer;
  list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__q { font-size: var(--fs-500); font-weight: 600; line-height: 1.5; }
.faq__icon { position: relative; flex: none; width: 16px; height: 16px; }
.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  inset-block-start: 50%;
  inset-inline-start: 0;
  width: 100%;
  height: 2px;
  margin-block-start: -1px;
  background: var(--orange);
  transition: transform 0.35s var(--ease-out);
}
.faq__icon::after { transform: rotate(90deg); }
.faq__item[open] .faq__icon::after { transform: rotate(0deg); }
.faq__a { max-width: 40em; padding-block-end: clamp(22px, 2.4vw, 30px); padding-inline-end: 40px; color: rgba(22, 35, 43, 0.78); }

/* ---------- Character ---------- */
.character {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(56px, 8vw, 144px);
  align-items: center;
}
.character__text { max-width: 33em; margin-block-start: 28px; color: rgba(22, 35, 43, 0.82); }
.pillars { margin-block-start: 40px; font-size: var(--fs-600); font-weight: 600; line-height: 1.6; }
html[lang="en"] .pillars { line-height: 1.5; letter-spacing: -0.01em; }

.traits { display: grid; gap: clamp(22px, 2.4vw, 30px); }
.trait {
  display: grid;
  grid-template-columns: 6.5em minmax(0, 1fr) 6.5em;
  align-items: center;
  gap: clamp(14px, 2vw, 24px);
  font-size: 0.96875rem;
  font-weight: 600;
  line-height: 1.4;
}
.trait__end { text-align: end; }
.trait__track { position: relative; height: 1px; background: rgba(22, 35, 43, 0.22); }
.trait__dot {
  position: absolute;
  inset-block-start: -9px;
  inset-inline-start: calc(var(--pos) * 100% - 9px);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--orange);
}

/* ---------- CTA ---------- */
.cta {
  position: relative;
  overflow: hidden;
  padding-block: clamp(104px, 13vw, 200px);
  background: var(--orange);
  color: var(--mirage);
}
.cta.grain::after { opacity: 0.2; z-index: 1; }
.cta__inner { position: relative; z-index: 2; }
.cta__title {
  max-width: 11em;
  font-size: clamp(2.5rem, 1.1rem + 5.8vw, 7rem);
  font-weight: 700;
  line-height: 1.16;
  color: var(--white);
}
html[lang="en"] .cta__title { letter-spacing: -0.035em; line-height: 0.98; }
.cta__text { max-width: 32em; margin-block-start: 32px; font-size: var(--fs-500); font-weight: 500; line-height: 1.7; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-block-start: 44px; }

/* ---------- Contact ---------- */
.contact {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(48px, 7vw, 128px);
  align-items: start;
}
.contact__intro { max-width: 26em; margin-block-start: 24px; color: rgba(228, 238, 240, 0.75); }
.contact__list { display: grid; gap: 26px; margin-block-start: 48px; }
.contact__list dt { font-size: var(--fs-300); color: rgba(228, 238, 240, 0.58); }
.contact__list dd { margin-block-start: 2px; font-size: var(--fs-500); font-weight: 500; line-height: 1.5; }
.contact__list a { text-decoration: none; }
.contact__list a:hover { text-decoration: underline; text-underline-offset: 4px; }
.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }

.social { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-block-start: 44px; font-size: 0.9375rem; }
.social a { text-decoration: none; opacity: 0.8; }
.social a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }

.form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  padding: clamp(24px, 3.6vw, 48px);
  border: 1px solid rgba(228, 238, 240, 0.1);
  border-radius: 20px;
  background: rgba(228, 238, 240, 0.045);
}
.form__title { grid-column: 1 / -1; font-size: var(--fs-600); font-weight: 600; line-height: 1.4; color: var(--white); }
.field { display: grid; gap: 8px; align-content: start; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: var(--fs-300); font-weight: 500; color: rgba(228, 238, 240, 0.82); }
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 52px;
  padding: 13px 16px;
  border: 1px solid rgba(228, 238, 240, 0.18);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.24);
  color: var(--white);
  font: inherit;
  font-size: 1rem;
  line-height: 1.5;
  transition: border-color 0.2s, background-color 0.2s;
}
.field input::placeholder,
.field textarea::placeholder { color: rgba(228, 238, 240, 0.55); }
.field input:hover,
.field select:hover,
.field textarea:hover { border-color: rgba(228, 238, 240, 0.34); }
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--orange); background: rgba(0, 0, 0, 0.36); }
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible { outline-offset: 1px; }
.field textarea { min-height: 148px; resize: vertical; }
.field select {
  appearance: none;
  -webkit-appearance: none;
  padding-inline-end: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5l5 5 5-5' stroke='%23E4EEF0' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}
[dir="rtl"] .field select { background-position: left 16px center; }
.field select option { color: var(--mirage); }

.form__foot {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  margin-block-start: 8px;
}
.form__note { max-width: 26em; font-size: var(--fs-300); color: rgba(228, 238, 240, 0.58); line-height: 1.6; }
.form__status { grid-column: 1 / -1; font-size: 0.9375rem; color: var(--sand); }
.form__hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); opacity: 0; pointer-events: none; }
.form .btn:disabled { opacity: 0.6; cursor: progress; }
.form__status:empty { display: none; }

/* ---------- Footer ---------- */
.site-footer {
  padding-block: 56px 32px;
  border-block-start: 1px solid rgba(228, 238, 240, 0.12);
  background: var(--mirage);
  color: rgba(228, 238, 240, 0.66);
  font-size: var(--fs-300);
}
.site-footer__top {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: start;
  gap: 32px 72px;
}
.site-footer .brand { color: var(--sand); }
.site-footer .brand svg { height: 28px; }
.footer-address { font-style: normal; line-height: 1.9; }
.footer-address strong { color: var(--sand); font-weight: 600; }
.footer-address a { color: var(--sand); text-decoration: none; }
.footer-address a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-nav { display: grid; grid-template-columns: repeat(2, auto); gap: 8px 40px; line-height: 1.9; }
.footer-nav a { text-decoration: none; }
.footer-nav a:hover { color: var(--white); }
.site-footer__copy {
  margin-block-start: 44px;
  padding-block-start: 24px;
  border-block-start: 1px solid rgba(228, 238, 240, 0.1);
}
address { font-style: normal; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 56px; }
  .step:nth-child(3)::before { inset-inline-end: auto; width: 15px; }
}

@media (max-width: 960px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
    align-content: center;
    gap: clamp(24px, 4vh, 40px);
    padding-block: calc(var(--header-h) + 12px) 72px;
  }
  .hero__slot { order: -1; width: min(100%, 36vh); width: min(100%, 36svh); }
  .hero__copy { max-width: 36rem; }
  .hero__lead { margin-block-start: 14px; }
  .hero__actions { margin-block-start: 22px; }
  .hero__meta { inset-block-end: 20px; }

  .section-head,
  .about,
  .services,
  .character,
  .faq-layout,
  .contact { grid-template-columns: minmax(0, 1fr); }
  .faq-layout__head { position: static; }

  /* The services screen pins under the header while the list scrolls beneath it */
  .services { gap: 12px; }
  .services__screen {
    order: -1;
    z-index: 2;
    inset-block-start: var(--header-h);
    aspect-ratio: 16 / 10;
    max-height: 36vh;
    max-height: 36svh;
    padding-block: 12px;
    background: var(--white);
    transition: inset-block-start 0.45s var(--ease-out);
  }
  .services__screen .screen { inset-block: 12px; }
  .site-header.is-hidden ~ main .services__screen { inset-block-start: 0; }
  .story { max-width: 30rem; }
  .story__media { aspect-ratio: 4 / 3; }

  /* Formats become a swipeable strip of screens that keep one height */
  .formats {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    margin-inline: calc(-1 * var(--gutter));
    padding-inline: var(--gutter);
    scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
  }
  .formats::-webkit-scrollbar { display: none; }
  /* one height for all, sized so the wide card fills 80% and the next one peeks in */
  .formats { --fh: min(calc((100vw - 2 * var(--gutter)) * 0.45), 300px); }
  .format { flex: 0 0 auto; width: calc(var(--r) * var(--fh)); scroll-snap-align: start; }
  .formats-nav {
    display: flex;
    align-items: center;
    margin-block-start: 18px;
  }
}

@media (max-width: 640px) {
  .hero { gap: 20px; padding-block: calc(var(--header-h) + 8px) 28px; }
  .hero__meta { display: none; }
  .hero__lead { font-size: 1rem; line-height: 1.7; }
  .hero__actions .btn { flex: 1 1 auto; }
  .hero__title span + span { margin-block-start: 0.1em; }
  .sector-list { grid-template-columns: minmax(0, 1fr); }
  .site-footer__top { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .site-footer__copy { margin-block-start: 32px; }

  .steps { grid-template-columns: minmax(0, 1fr); row-gap: 0; }
  .step { padding-block: 0 44px; padding-inline-start: 40px; padding-inline-end: 0; }
  .step::before,
  .step:nth-child(3)::before,
  .step:last-child::before { inset-block: 0; inset-inline-start: 7px; inset-inline-end: auto; width: 1px; height: auto; }
  .step:last-child::before { display: none; }
  .step::after { inset-block-start: 4px; }
  .step__num { font-size: 2.25rem; }
  .step__title { margin-block-start: 12px; }

  .trait { grid-template-columns: 5.2em minmax(0, 1fr) 5.2em; font-size: 0.875rem; }
  html[lang="en"] .trait { grid-template-columns: 6.6em minmax(0, 1fr) 6.6em; }

  .form { grid-template-columns: minmax(0, 1fr); }
  .form__foot .btn { width: 100%; }
}

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .site-header { transition: none; }
  .grain::after,
  .cue__chev i { animation: none; }
  .format__screen img { transition: none; }
  .cue__chev i { opacity: 0.7; }
  .service,
  .services__screen,
  .services__screen .screen > img,
  .service__title::before { transition: none; }
}

.cta__title span { display: block; }

/* Short phones: keep the whole hero inside one screen */
@media (max-width: 960px) and (max-height: 720px) {
  .hero__slot { width: min(100%, 28vh); width: min(100%, 28svh); }
  .hero__lead { line-height: 1.6; }
}

/* Short screens (phones held sideways): the scroll cue would sit on top of the hero text */
@media (max-height: 520px) {
  .hero__meta { display: none; }
}
