/* NIVO chassis 1.0.2 */
:root {
  --t-hero: clamp(2.75rem, 1rem + 6.2vw, var(--hero-max));
  --t-h2: clamp(2rem, 1.1rem + 3.2vw, var(--h2-max));
  --t-h3: clamp(1.35rem, 1.1rem + 0.9vw, 1.75rem);
  --t-lede: clamp(1.2rem, 1.05rem + 0.5vw, 1.45rem);
  --t-body: clamp(1.125rem, 1.07rem + 0.12vw, 1.1875rem);
  --t-small: 0.9375rem;
  --t-micro: 0.75rem;
  --lh-display-ar: 1.3;
  --lh-display-latin: 1.02;
  --lh-body-ar: 1.85;
  --lh-body-latin: 1.6;
  --wrap: 1240px;
  --gut: clamp(16px, 4vw, 48px);
  --sec: clamp(80px, 10vw, 160px);
  --measure: 62ch;
  --tap: 44px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --d-press: 120ms;
  --d-fast: 180ms;
  --d-reveal: 600ms;
  --d-scene: 1200ms;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: var(--t-body);
  line-height: var(--lh-body-latin);
  overflow-wrap: break-word;
}
img, svg, video, canvas { display: block; max-width: 100%; }
img, video { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; }

:lang(ar) { letter-spacing: 0; line-height: var(--lh-body-ar); }
:lang(ar) :is(h1, h2, h3, .display) { line-height: var(--lh-display-ar); }

:is(h1, h2, h3, .display, .t-hero, .t-h2) { word-spacing: var(--ws-display, normal); }
:is(h1, h2, h3, .display) {
  font-family: var(--f-display);
  line-height: var(--lh-display-latin);
  margin: 0;
  text-wrap: balance;
}
h1, .t-hero { font-size: var(--t-hero); font-weight: var(--w-display, 800); }
h2, .t-h2   { font-size: var(--t-h2);   font-weight: var(--w-display, 800); }
h3, .t-h3   { font-size: var(--t-h3);   font-weight: 700; }
p { margin: 0 0 1em; max-width: var(--measure); }
.lede  { font-size: var(--t-lede); }
.small { font-size: var(--t-small); }
.micro { font-size: var(--t-micro); }   

.latin, bdi.latin { font-family: var(--f-latin); unicode-bidi: isolate; direction: ltr; }
.code, code, kbd, samp { font-family: var(--f-mono); unicode-bidi: isolate; direction: ltr; }

input:not([type]), input[type="text"], input[type="search"], textarea { unicode-bidi: plaintext; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.band--dark :focus-visible, .nivo-bar :focus-visible { outline-color: var(--on-dark); }
.tap { min-height: var(--tap); min-width: var(--tap); }
.skip {
  position: absolute; inset-inline-start: var(--gut); top: -100px; z-index: 1000;
  padding: 12px 16px; background: var(--dark); color: var(--on-dark);
}
.skip:focus { top: 12px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

html.motion [data-reveal]:not(.hero *, .is-in) {
  opacity: 0;
  transform: translate3d(0, 24px, 0);
}
html.motion [data-reveal] {
  transition: opacity var(--d-reveal) var(--ease-out), transform var(--d-reveal) var(--ease-out);
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
    scroll-behavior: auto !important;
  }
}

.wrap { width: min(100% - 2 * var(--gut), var(--wrap)); margin-inline: auto; }

.band { padding-block: var(--sec); position: relative; isolation: isolate; }
.band--alt   { background: var(--ground-alt); }
.band--dark  { background: var(--dark);  color: var(--on-dark); }
.band--field { background: var(--field); color: var(--on-field); }
.band--dark  .soft { color: var(--on-dark-soft); }
.band--tight { padding-block: calc(var(--sec) * .55); }

.bento {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--bento-gap, clamp(12px, 1.6vw, 24px));
}
.bento > * { grid-column: span 12; min-width: 0; }
@media (min-width: 760px) {
  .bento > .s-3 { grid-column: span 3; }  .bento > .s-4 { grid-column: span 4; }
  .bento > .s-5 { grid-column: span 5; }  .bento > .s-6 { grid-column: span 6; }
  .bento > .s-7 { grid-column: span 7; }  .bento > .s-8 { grid-column: span 8; }
  .bento > .s-9 { grid-column: span 9; }
  .bento > .r-2 { grid-row: span 2; }
}

.hero { min-height: min(100svh, 980px); display: grid; align-content: center; position: relative; }

.legal { font-size: var(--t-small); line-height: 1.7; }
.legal__name { font-weight: 700; }
.legal__form, .legal__hq { display: block; }

.nivo-bar {
  background: var(--nivo-bar-bg, #0B0D10);
  color: var(--nivo-bar-ink, #C9CED6);
  padding-block: 14px;
  font-size: var(--t-micro);
}
.nivo-bar__in { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; }
.nivo-credit { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; text-decoration: none; }
.nivo-credit img { width: 27px; height: 27px; object-fit: contain; }

.wa-cta { display: inline-flex; align-items: center; gap: 10px; min-height: var(--tap); padding-inline: 22px; text-decoration: none; }

@media (hover: hover) and (pointer: fine) {
  .nivo-credit:hover { color: #fff; }
}
