/* Agrobraz · design system. Dark navy + Agrobraz orange, glass, technical linework. */

/* html:root outranks host design-system tokens of the same name (e.g. --accent) */
html:root {
  --bg: #060a11;
  --bg-2: #0b121d;
  --bg-3: #111a28;
  --ink: #f2f4f7;
  --ink-2: #a9b3c1;
  --ink-3: #8592a3;
  --line: rgba(214, 226, 240, 0.1);
  --line-2: rgba(214, 226, 240, 0.18);

  --accent: #e76a1d;
  --accent-hi: #ff8a3d;
  --accent-deep: #a94b0e;
  /* surface orange for white text (4.5:1); the brand #e76a1d stays for marks, lines and icons */
  --accent-surface: #c2550e;
  --accent-surface-hover: #b24d0c;
  --accent-ink: #ffffff;

  --paper: #eef0f1;
  --paper-2: #e2e6e9;
  --paper-ink: #0b121d;
  --paper-ink-2: #4a5463;

  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-io: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);

  --r-xs: 8px;
  --r-s: 12px;
  --r: 16px;
  --r-l: 28px;

  --gutter: clamp(20px, 4.2vw, 64px);
  --max: 1280px;
  --section: clamp(104px, 13vw, 184px);
  --nav-h: 64px;

  --t-hero: clamp(2.55rem, 6.1vw, 5.75rem);
  --t-1: clamp(2.2rem, 4.6vw, 4.25rem);
  --t-2: clamp(1.75rem, 3vw, 2.75rem);
  --t-3: clamp(1.2rem, 1.6vw, 1.5rem);
  --t-lead: clamp(1.06rem, 1.3vw, 1.3rem);
  --t-body: 1.0625rem;
  --t-small: 0.9375rem;
  --t-label: 0.75rem;

  --z-base: 1;
  --z-stage: 5;
  --z-nav: 40;
  --z-float: 45;
  --z-menu: 50;
  --z-modal: 60;
  --z-toast: 70;

  color-scheme: dark;
}

/* ---------- reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--nav-h) + 24px);
}
html:not(.has-lenis) {
  scroll-behavior: smooth;
}
html.lenis,
html.lenis body {
  height: auto;
}
.lenis.lenis-stopped {
  overflow: hidden;
}
html body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--t-body);
  line-height: 1.62;
  letter-spacing: 0.003em;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img,
svg,
video,
canvas {
  display: block;
  max-width: 100%;
}
img {
  height: auto;
}
h1,
h2,
h3,
h4,
p,
ul,
ol,
figure {
  margin: 0;
}
ul,
ol {
  padding: 0;
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
}

/* ---------- browser surfaces ---------- */
::selection {
  background: rgba(231, 106, 29, 0.85);
  color: #fff;
}
:focus-visible {
  outline: 2px solid var(--accent-hi);
  outline-offset: 3px;
  border-radius: 6px;
}
input,
textarea {
  caret-color: var(--accent-hi);
}
html {
  scrollbar-color: #2a3546 var(--bg);
  scrollbar-width: thin;
}
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg);
}
::-webkit-scrollbar-thumb {
  background: #263142;
  border-radius: 10px;
  border: 2px solid var(--bg);
}
.tnum {
  font-variant-numeric: tabular-nums;
}

.skip {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: var(--z-modal);
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--accent-surface);
  color: #fff;
  font-weight: 500;
  transform: translateY(-160%);
  transition: transform 200ms var(--ease-out);
}
.skip:focus-visible {
  transform: none;
}
.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- grain: a lit room, not a flat screen ---------- */
.grain {
  position: fixed;
  inset: 0;
  z-index: var(--z-float);
  pointer-events: none;
  /* plain alpha, no blend mode: a fixed full-screen blend layer re-composites the whole page every frame */
  opacity: 0.032;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* ---------- layout ---------- */
.wrap {
  width: 100%;
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section {
  position: relative;
  padding-block: var(--section) calc(var(--section) * 1.08);
}

/* grounds: dark is the default; light is the Agrobraz engineering world */
.ground-light {
  --ink: var(--paper-ink);
  --ink-2: var(--paper-ink-2);
  --ink-3: #5d6876;
  --line: rgba(11, 18, 29, 0.1);
  --line-2: rgba(11, 18, 29, 0.18);
  --accent-text: var(--accent-deep);
  background: var(--paper);
  color: var(--ink);
  color-scheme: light;
}
.ground-dark {
  --accent-text: var(--accent-hi);
  background: var(--bg);
  color: var(--ink);
}
:root {
  --accent-text: var(--accent-hi);
}
/* a dark island inside a light ground */
.on-dark {
  --ink: #f2f4f7;
  --ink-2: #a9b3c1;
  --ink-3: #8592a3;
  --line: rgba(214, 226, 240, 0.1);
  --line-2: rgba(214, 226, 240, 0.18);
  --accent-text: var(--accent-hi);
  color: var(--ink);
}

/* a ground change is a sheet that rises over the previous one */
.sheet {
  position: relative;
  z-index: 2;
  border-radius: var(--r-l) var(--r-l) 0 0;
  margin-top: calc(var(--r-l) * -1);
  box-shadow: 0 -30px 60px -30px rgba(1, 4, 10, 0.55);
}

/* ---------- type ---------- */
.display {
  font-size: var(--t-hero);
  line-height: 0.98;
  letter-spacing: -0.035em;
  font-weight: 560;
  text-wrap: balance;
}
.h1 {
  font-size: var(--t-1);
  line-height: 1.02;
  letter-spacing: -0.032em;
  font-weight: 550;
  text-wrap: balance;
}
.h2 {
  font-size: var(--t-2);
  line-height: 1.08;
  letter-spacing: -0.026em;
  font-weight: 540;
  text-wrap: balance;
}
.h3 {
  font-size: var(--t-3);
  line-height: 1.2;
  letter-spacing: -0.015em;
  font-weight: 540;
  text-wrap: balance;
}
.lead {
  font-size: var(--t-lead);
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 54ch;
  text-wrap: pretty;
}
.body {
  color: var(--ink-2);
  max-width: 62ch;
  text-wrap: pretty;
}
.accent {
  color: var(--accent);
}
.ground-dark .accent,
.on-dark .accent {
  color: var(--accent-hi);
}
.ground-light .accent {
  color: var(--accent-deep);
}
.label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: var(--t-label);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-2);
  font-weight: 500;
}
.label::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--accent);
}
.mono {
  font-family: var(--mono);
  letter-spacing: 0.02em;
}

/* ---------- glass ---------- */
.glass {
  position: relative;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.02));
  box-shadow:
    inset 0 0 0 1px rgba(214, 226, 240, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 24px 60px -28px rgba(1, 4, 10, 0.75);
  /* no backdrop blur by default: over flat grounds it changes nothing visible and costs a repaint per frame.
     Panels that sit over imagery opt in (.glass--blur) or carry their own opaque base. */
  border-radius: var(--r);
}
.glass--blur {
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
}
.low-power .glass--blur {
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  background-color: rgba(12, 19, 30, 0.86);
}
.ground-light .glass,
.glass--light {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.5));
  box-shadow:
    inset 0 0 0 1px rgba(11, 18, 29, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 24px 50px -30px rgba(20, 32, 48, 0.35);
}
/* spotlight edge that follows the pointer (set --mx/--my on the element) */
.spot {
  --mx: 50%;
  --my: 0%;
}
.spot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  padding: 1px;
  background: radial-gradient(260px circle at var(--mx) var(--my), rgba(255, 138, 61, 0.55), transparent 60%);
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 240ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .spot:hover::after {
    opacity: 1;
  }
}

/* ---------- buttons ---------- */
.btn {
  --h: 54px;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  height: var(--h);
  padding: 0 7px 0 24px;
  border-radius: 999px;
  font-size: 0.98rem;
  font-weight: 500;
  letter-spacing: 0.005em;
  white-space: nowrap;
  transition:
    transform 160ms var(--ease-out),
    background-color 200ms var(--ease-out),
    box-shadow 200ms var(--ease-out),
    color 200ms var(--ease-out);
  -webkit-tap-highlight-color: transparent;
}
.btn:active {
  transform: scale(0.97);
}
.btn__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  transition: transform 260ms var(--ease-out), background-color 200ms var(--ease-out);
}
.btn__icon svg {
  width: 17px;
  height: 17px;
}
@media (hover: hover) and (pointer: fine) {
  .btn:hover .btn__icon {
    transform: translateX(3px) scale(1.04);
  }
}
.btn.btn--primary {
  background: var(--accent-surface);
  color: #fff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 12px 26px -14px rgba(2, 6, 14, 0.6);
}
.btn--primary .btn__icon {
  background: rgba(255, 255, 255, 0.18);
}
@media (hover: hover) and (pointer: fine) {
  .btn--primary:hover {
    background: var(--accent-surface-hover);
  }
}
.btn.btn--glass {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.06);
  box-shadow:
    inset 0 0 0 1px rgba(214, 226, 240, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}
.btn--glass .btn__icon {
  background: rgba(255, 255, 255, 0.08);
}
@media (hover: hover) and (pointer: fine) {
  .btn--glass:hover {
    background: rgba(255, 255, 255, 0.1);
  }
}
.ground-light .btn--glass {
  background: rgba(11, 18, 29, 0.04);
  box-shadow: inset 0 0 0 1px rgba(11, 18, 29, 0.14);
}
.ground-light .btn--glass .btn__icon {
  background: rgba(11, 18, 29, 0.06);
}
.btn.btn--dark {
  background: var(--paper-ink);
  color: #fff;
}
.btn--dark .btn__icon {
  background: rgba(255, 255, 255, 0.12);
}
.btn[disabled],
.btn[aria-disabled="true"] {
  opacity: 0.45;
  pointer-events: none;
}

button.icon-btn,
.icon-btn {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 0 0 1px var(--line-2);
  transition:
    transform 160ms var(--ease-out),
    background-color 200ms var(--ease-out),
    opacity 200ms var(--ease-out);
}
.icon-btn svg {
  width: 18px;
  height: 18px;
}
.icon-btn:active {
  transform: scale(0.94);
}
.icon-btn:disabled {
  opacity: 0.3;
  cursor: default;
}
@media (hover: hover) and (pointer: fine) {
  .icon-btn:not(:disabled):hover {
    background: rgba(255, 255, 255, 0.12);
  }
}
.ground-light .icon-btn {
  background: #fff;
  box-shadow:
    inset 0 0 0 1px rgba(11, 18, 29, 0.1),
    0 8px 20px -12px rgba(20, 32, 48, 0.35);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  color: var(--ink);
}
.link-arrow svg {
  width: 16px;
  height: 16px;
  transition: transform 220ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .link-arrow:hover svg {
    transform: translateX(4px);
  }
}

/* ---------- nav: floating glass island ---------- */
.nav {
  position: fixed;
  z-index: var(--z-nav);
  top: 14px;
  left: 50%;
  width: min(calc(100% - 24px), 1180px);
  height: var(--nav-h);
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 10px 0 22px;
  border-radius: 20px;
  background: rgba(8, 13, 22, 0.52);
  box-shadow:
    inset 0 0 0 1px rgba(214, 226, 240, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 20px 40px -24px rgba(0, 0, 0, 0.7);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  backdrop-filter: blur(22px) saturate(160%);
  transition:
    background-color 360ms var(--ease-out),
    box-shadow 360ms var(--ease-out),
    transform 500ms var(--ease-drawer);
}
.nav.is-hidden {
  transform: translate(-50%, calc(-100% - 24px));
}
.nav__brand {
  position: relative;
  display: block;
  height: 38px;
  width: 106px;
  flex: none;
}
.nav__brand img {
  position: absolute;
  inset: 0;
  height: 38px;
  width: auto;
  transition: opacity 360ms var(--ease-out);
}
.nav__brand .logo-light {
  opacity: 0;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav__link {
  position: relative;
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 0.92rem;
  color: rgba(242, 244, 247, 0.74);
  transition:
    color 200ms var(--ease-out),
    background-color 200ms var(--ease-out);
}
.nav__link[aria-current="page"] {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}
.nav__link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 3px;
  width: 4px;
  height: 4px;
  margin-left: -2px;
  border-radius: 99px;
  background: var(--accent);
}
@media (hover: hover) and (pointer: fine) {
  .nav__link:hover {
    color: #fff;
  }
}
.nav__cta {
  --h: 44px;
  padding-left: 18px;
  font-size: 0.9rem;
}
.nav__cta .btn__icon {
  width: 32px;
  height: 32px;
}
.nav__cta .btn__icon svg {
  width: 15px;
  height: 15px;
}
.nav__burger {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  position: relative;
}
.nav__burger span {
  position: absolute;
  left: 14px;
  right: 14px;
  height: 1.5px;
  border-radius: 2px;
  background: currentColor;
  transition:
    transform 340ms var(--ease-drawer),
    opacity 200ms var(--ease-out);
}
.nav__burger span:nth-child(1) {
  top: 18px;
}
.nav__burger span:nth-child(2) {
  top: 26px;
}
.nav.is-open .nav__burger span:nth-child(1) {
  transform: translateY(4px) rotate(45deg);
}
.nav.is-open .nav__burger span:nth-child(2) {
  transform: translateY(-4px) rotate(-45deg);
}

/* nav over a light ground */
.nav.on-light {
  background: rgba(246, 247, 248, 0.66);
  box-shadow:
    inset 0 0 0 1px rgba(11, 18, 29, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 20px 40px -26px rgba(20, 32, 48, 0.4);
  color: var(--paper-ink);
}
.nav.on-light .logo-dark {
  opacity: 0;
}
.nav.on-light .logo-light {
  opacity: 1;
}
.nav.on-light .nav__link {
  color: rgba(11, 18, 29, 0.7);
}
.nav.on-light .nav__link[aria-current="page"] {
  color: var(--paper-ink);
  background: rgba(11, 18, 29, 0.06);
}
@media (hover: hover) and (pointer: fine) {
  .nav.on-light .nav__link:hover {
    color: var(--paper-ink);
  }
}

/* mobile menu */
.menu {
  position: fixed;
  inset: 0;
  z-index: var(--z-menu);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: calc(var(--nav-h) + 48px) var(--gutter) 40px;
  background: rgba(6, 10, 17, 0.78);
  -webkit-backdrop-filter: blur(30px) saturate(140%);
  backdrop-filter: blur(30px) saturate(140%);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 320ms var(--ease-out),
    visibility 0s linear 320ms;
}
.menu.is-open {
  opacity: 1;
  visibility: visible;
  transition:
    opacity 320ms var(--ease-out),
    visibility 0s;
}
.menu__links {
  display: grid;
  gap: 4px;
}
.menu__link {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: clamp(2rem, 9vw, 2.75rem);
  font-weight: 520;
  letter-spacing: -0.03em;
  line-height: 1.1;
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 460ms var(--ease-out),
    transform 560ms var(--ease-out);
  transition-delay: calc(60ms + var(--i, 0) * 50ms);
}
.menu__link[aria-current="page"] {
  color: var(--accent-hi);
}
.menu.is-open .menu__link {
  opacity: 1;
  transform: none;
}
.menu__foot {
  margin-top: 32px;
  display: grid;
  gap: 6px;
  color: var(--ink-2);
  font-size: var(--t-small);
  opacity: 0;
  transition: opacity 400ms var(--ease-out) 320ms;
}
.menu.is-open .menu__foot {
  opacity: 1;
}

@media (max-width: 900px) {
  .nav__links,
  .nav__cta {
    display: none;
  }
  .nav__burger {
    display: block;
  }
  .nav {
    padding-left: 16px;
    padding-right: 8px;
    height: 58px;
    --nav-h: 58px;
    top: 10px;
    border-radius: 18px;
  }
  .nav__brand,
  .nav__brand img {
    height: 32px;
  }
  .nav__brand {
    width: 90px;
  }
}

/* ---------- reveal (only when JS is running) ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  filter: blur(8px);
  transition:
    opacity 900ms var(--ease-out),
    transform 1100ms var(--ease-out),
    filter 900ms var(--ease-out);
  transition-delay: calc(var(--i, 0) * 70ms);
}
.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
  filter: none;
}
/* phones: same rise and fade, without the per-frame blur repaint */
.low-power [data-reveal] {
  filter: none !important;
}
.js [data-reveal="fade"] {
  transform: none;
}
.js [data-reveal="clip"] {
  opacity: 1;
  filter: none;
  transform: none;
  clip-path: inset(0 0 100% 0 round var(--r));
  transition: clip-path 1200ms var(--ease-io);
}
.js [data-reveal="clip"].is-in {
  clip-path: inset(0 0 0 0 round var(--r));
}

/* ---------- media frames ---------- */
.frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--r);
  background: var(--bg-3);
  isolation: isolate;
}
.frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ground-light .frame {
  background: #dfe3e6;
}

/* ---------- section heads ---------- */
.head {
  display: grid;
  gap: 20px;
  max-width: 820px;
}
.head .label {
  margin-bottom: 6px;
}

/* ---------- footer ---------- */
.footer {
  position: relative;
  overflow: hidden;
  padding: clamp(88px, 11vw, 150px) 0 32px;
}
.footer__blueprint {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.5;
  background-image:
    linear-gradient(rgba(214, 226, 240, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(214, 226, 240, 0.045) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(80% 70% at 50% 0%, #000 20%, transparent 75%);
  mask-image: radial-gradient(80% 70% at 50% 0%, #000 20%, transparent 75%);
}
.footer__top {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr));
  gap: 48px;
  align-items: start;
}
.footer__logo {
  width: min(320px, 70vw);
}
.footer__claim {
  margin-top: 28px;
  max-width: 34ch;
  color: var(--ink-2);
}
.footer h3 {
  font-family: var(--mono);
  font-size: var(--t-label);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 500;
  margin-bottom: 18px;
}
.footer__list {
  display: grid;
  gap: 10px;
  color: var(--ink-2);
}
.footer__list a {
  transition: color 180ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .footer__list a:hover {
    color: #fff;
  }
}
.footer__beccs {
  position: relative;
  margin-top: clamp(64px, 8vw, 110px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 28px;
}
.footer__beccs p {
  font-size: var(--t-3);
  letter-spacing: -0.015em;
  font-weight: 500;
  max-width: 36ch;
}
.footer__beccs p span {
  color: var(--accent-hi);
}
.footer__bottom {
  position: relative;
  margin-top: 56px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  color: var(--ink-3);
  font-size: 0.875rem;
}
.footer__social {
  display: flex;
  gap: 18px;
}
@media (max-width: 900px) {
  .footer__top {
    grid-template-columns: 1fr 1fr;
  }
  .footer__brand {
    grid-column: 1 / -1;
  }
}
@media (max-width: 520px) {
  .footer__top {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

/* ---------- WhatsApp float ---------- */
.wa {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: var(--z-float);
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 999px;
  color: #fff;
  background: var(--accent-surface);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 14px 30px -12px rgba(2, 6, 14, 0.6);
  transition: transform 200ms var(--ease-out);
}
.wa svg {
  width: 27px;
  height: 27px;
}
.wa.is-away {
  opacity: 0;
  transform: translateY(16px) scale(0.92);
  pointer-events: none;
}
.wa {
  transition:
    transform 300ms var(--ease-out),
    opacity 300ms var(--ease-out);
}
.wa:active {
  transform: scale(0.94);
}
@media (hover: hover) and (pointer: fine) {
  .wa:hover {
    transform: translateY(-2px);
  }
}

/* ---------- toast ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: var(--z-toast);
  width: min(420px, calc(100% - 32px));
  padding: 16px 20px;
  border-radius: var(--r);
  background: rgba(14, 21, 33, 0.9);
  color: var(--ink);
  box-shadow:
    inset 0 0 0 1px rgba(214, 226, 240, 0.12),
    0 24px 50px -20px rgba(0, 0, 0, 0.7);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  transform: translate(-50%, 0);
  transition:
    transform 400ms var(--ease-drawer),
    opacity 300ms var(--ease-out);
}
.toast[hidden] {
  display: block;
  opacity: 0;
  transform: translate(-50%, 130%);
  pointer-events: none;
}
.toast strong {
  display: block;
  font-weight: 560;
}
.toast span {
  color: var(--ink-2);
  font-size: var(--t-small);
}

/* ---------- film dialog ---------- */
.film {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: none;
  max-height: none;
  width: 100%;
  height: 100%;
  margin: 0;
  color: var(--ink);
}
.film::backdrop {
  background: rgba(3, 6, 11, 0.82);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}
.film__inner {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 72px 16px 24px;
}
.film video {
  height: min(82dvh, 960px);
  width: auto;
  max-width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: var(--r);
  background: #000;
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.9);
}
.film__close {
  position: fixed;
  top: 18px;
  right: 18px;
}
/* client names drift on the compositor (CSS animation), paused off screen */
.marquee__inner.is-forward,
.marquee__inner.is-reverse {
  animation: marquee var(--marquee-dur, 30s) linear infinite;
}
.marquee__inner.is-reverse {
  animation-direction: reverse;
}
.marquee__inner.is-paused {
  animation-play-state: paused;
}
@keyframes marquee {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-50%, 0, 0);
  }
}
.film[open] .film__inner {
  animation: film-in 420ms var(--ease-out);
}
@keyframes film-in {
  from {
    opacity: 0;
    transform: scale(0.96);
  }
}

/* ---------- reduced motion: fewer and gentler, not zero ---------- */
@media (prefers-reduced-motion: reduce) {
  html:not(.has-lenis) {
    scroll-behavior: auto;
  }
  .js [data-reveal] {
    transform: none;
    filter: none;
    transition: opacity 500ms ease;
  }
  .js [data-reveal="clip"] {
    clip-path: none;
  }
  .menu__link {
    transform: none;
  }
  .film[open] .film__inner {
    animation: none;
  }
}
