/* ==========================================================================
   IMS — International Marketing Services
   ========================================================================== */

:root {
  --paper: #f3f2ee;
  --paper-2: #e9e7e1;
  --ink: #070b17;
  --ink-2: #0d1326;
  --navy: #061944;
  --teal: #01dbca;
  --teal-soft: #b8f5ef;
  --muted: #646a7a;
  --line: rgba(7, 11, 23, .12);
  --line-light: rgba(255, 255, 255, .14);

  --f-display: "Inter Tight", "DM Sans", system-ui, sans-serif;
  --f-body: "DM Sans", system-ui, sans-serif;

  --pad: clamp(1.25rem, 4vw, 3.5rem);
  --radius: clamp(18px, 2.4vw, 32px);
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1rem/1.55 var(--f-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3 { margin: 0; font-family: var(--f-display); font-weight: 600; letter-spacing: -.03em; line-height: 1; }
p { margin: 0; }
em { font-style: normal; color: var(--teal); }
::selection { background: var(--teal); color: var(--ink); }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 4px; }

.label {
  font: 500 .8rem/1 var(--f-body);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.5rem;
}
.label--light { color: rgba(255, 255, 255, .55); }
.h2 { font-size: clamp(2.4rem, 6vw, 5.6rem); }
.section-head { padding: 0 var(--pad); margin-bottom: clamp(2.5rem, 6vw, 5rem); }
.section-head--split { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; flex-wrap: wrap; }
.section-lead { max-width: 34rem; margin-top: 1.5rem; font-size: clamp(1.05rem, 1.4vw, 1.25rem); color: var(--muted); }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); }

/* Buttons ---------------------------------------------------------------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; gap: .65rem;
  padding: .95rem 1.5rem;
  border-radius: 999px;
  font-weight: 500;
  overflow: hidden;
  isolation: isolate;
  transition: color .4s var(--ease), border-color .4s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  border-radius: inherit;
  transform: translateY(101%);
  transition: transform .5s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn .arrow { font-style: normal; transition: transform .4s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn--accent { background: var(--teal); color: var(--ink); }
.btn--accent::before { background: #fff; }
.btn--ghost { border: 1px solid rgba(255, 255, 255, .3); color: #fff; }
.btn--ghost::before { background: #fff; }
.btn--ghost:hover { color: var(--ink); }
.btn--pill { background: var(--ink); color: #fff; padding: .7rem 1.2rem; font-size: .92rem; }
.btn--pill::before { background: var(--teal); }
.btn--pill:hover { color: var(--ink); }
.btn--pill:hover .dot { background: var(--ink); }

/* Loader ----------------------------------------------------------------- */
.loader { display: none; }
.js .loader {
  position: fixed; inset: 0; z-index: 100;
  display: grid; place-items: center; align-content: center; gap: 1.5rem;
  background: var(--ink); color: #fff;
}
.loader__mark svg { width: 84px; fill: none; stroke: var(--teal); stroke-width: 9; stroke-linecap: round; }
.loader__mark path { stroke-dasharray: 100; stroke-dashoffset: 100; animation: draw 1s var(--ease) forwards; }
.loader__mark path:nth-child(2) { animation-delay: .12s; }
.loader__mark path:nth-child(3) { animation-delay: .24s; }
.loader__count { font: 500 .85rem var(--f-body); letter-spacing: .1em; color: rgba(255, 255, 255, .6); text-align: center; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.is-loaded .loader { pointer-events: none; }

/* Nav -------------------------------------------------------------------- */
/* Full-width bar at the top; on scroll it shrinks into a floating glass pill */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  width: 100%; margin: 0 auto;
  display: flex; align-items: center; gap: 2rem;
  padding: 1rem var(--pad);
  border: 1px solid transparent; border-radius: 0;
  transition:
    width .7s var(--ease), top .7s var(--ease), padding .7s var(--ease),
    border-radius .7s var(--ease), background .5s, border-color .5s, box-shadow .5s, gap .7s var(--ease);
}
.nav.is-scrolled {
  top: 12px;
  width: min(880px, calc(100% - 24px));
  padding: .5rem .5rem .5rem 1.4rem;
  gap: 1.6rem;
  border-radius: 999px;
  background: rgba(243, 242, 238, .72);
  border-color: rgba(7, 11, 23, .08);
  box-shadow: 0 12px 40px -18px rgba(7, 11, 23, .35);
  backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4);
}
.nav__logo { margin-right: auto; }
.nav__logo img { width: 112px; height: auto; transition: width .7s var(--ease); }
.nav.is-scrolled .nav__logo img { width: 84px; }
.nav.is-scrolled .nav__links { gap: 1.5rem; font-size: .9rem; }
.nav .logo--light { display: none; }
.nav.on-dark:not(.is-scrolled) .logo--dark { display: none; }
.nav.on-dark:not(.is-scrolled) .logo--light { display: block; }
.nav.on-dark:not(.is-scrolled) .nav__links a { color: rgba(255, 255, 255, .75); }
.nav.on-dark:not(.is-scrolled) .nav__links a:hover { color: #fff; }
.nav__links { display: flex; gap: 2rem; font-size: .95rem; }
.nav__links a { position: relative; color: var(--muted); transition: color .3s; }
.nav__links a:hover { color: var(--ink); }
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease);
}
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__burger { display: none; width: 44px; height: 44px; border-radius: 50%; background: var(--ink); position: relative; }
.nav__burger span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: #fff; transition: transform .4s var(--ease); }
.nav__burger span:first-child { top: 18px; }
.nav__burger span:last-child { top: 25px; }
.menu-open .nav__burger span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-open .nav__burger span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 45;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 7rem var(--pad) 2rem;
  background: var(--ink); color: #fff;
  clip-path: inset(0 0 100% 0);
  transition: clip-path .7s var(--ease);
}
.menu-open .menu { clip-path: inset(0 0 0 0); }
.menu nav { display: grid; gap: .4rem; }
.menu nav a { font: 600 clamp(2.2rem, 10vw, 3.4rem)/1.1 var(--f-display); letter-spacing: -.03em; }
.menu__foot { display: grid; gap: .5rem; color: rgba(255, 255, 255, .6); font-size: .9rem; word-break: break-all; }
.menu-open .nav .logo--dark { display: none; }
.menu-open .nav .logo--light { display: block; }
.menu-open .nav { background: transparent; backdrop-filter: none; }

/* Hero ------------------------------------------------------------------- */
.hero { padding: 5.2rem .75rem .75rem; min-height: 100svh; display: flex; }
.hero__card {
  position: relative; flex: 1;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: clamp(1.5rem, 4vw, 3.5rem);
  border-radius: var(--radius);
  background: radial-gradient(120% 90% at 85% 10%, #0b2a6b 0%, var(--navy) 38%, var(--ink) 100%);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.hero__waves { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero__eyebrow { display: inline-flex; align-items: center; gap: .6rem; font-size: .9rem; color: rgba(255, 255, 255, .7); }
.hero__title {
  margin: clamp(1.5rem, 5vh, 4rem) 0;
  font-size: clamp(2.7rem, 7.4vw, 8.6rem);
  line-height: .95;
  letter-spacing: -.045em;
}
.hero__bottom {
  display: grid; grid-template-columns: 1.3fr 1fr auto; align-items: end; gap: 2rem;
  padding-top: 1.5rem; border-top: 1px solid var(--line-light);
}
.hero__lead { max-width: 26rem; font-size: clamp(1rem, 1.3vw, 1.2rem); color: rgba(255, 255, 255, .78); }
.hero__list { list-style: none; margin: 0; padding: 0; font-size: .9rem; color: rgba(255, 255, 255, .6); line-height: 1.75; }
.hero__list li::before { content: "— "; color: var(--teal); }
.hero__cta { display: flex; gap: .75rem; flex-wrap: wrap; }

/* Marquee ---------------------------------------------------------------- */
.marquee { overflow: hidden; padding: clamp(1.5rem, 3vw, 2.5rem) 0; border-bottom: 1px solid var(--line); }
.marquee__track {
  display: flex; align-items: center; gap: 2.2rem; width: max-content;
  font: 600 clamp(1.6rem, 3.4vw, 3rem)/1 var(--f-display); letter-spacing: -.03em;
  animation: marquee 38s linear infinite;
}
.marquee__track b { color: var(--teal); font-weight: 400; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Statement -------------------------------------------------------------- */
.statement {
  display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 6vw, 6rem); align-items: start;
  padding: clamp(5rem, 12vw, 10rem) calc(var(--pad) * 1.6);
}
.statement__copy { position: sticky; top: 7rem; }
.statement__text {
  font: 500 clamp(1.5rem, 2.4vw, 2.5rem)/1.18 var(--f-display);
  letter-spacing: -.025em;
}
.statement__text .w { display: inline-block; }
.statement__link {
  display: inline-flex; gap: .5rem; margin-top: 2rem;
  font-weight: 500; border-bottom: 1px solid currentColor; padding-bottom: .2rem;
}
.statement__link i { font-style: normal; transition: transform .4s var(--ease); }
.statement__link:hover i { transform: translateX(4px); }
.statement__media {
  border-radius: 16px; overflow: hidden; background: var(--ink);
  aspect-ratio: 16 / 10;
}
.statement__media video { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Services --------------------------------------------------------------- */
.services { position: relative; padding-bottom: clamp(5rem, 12vw, 10rem); }
.svc { list-style: none; margin: 0; padding: 0 var(--pad); border-top: 1px solid var(--line); }
.svc__item {
  position: relative;
  display: grid; grid-template-columns: 4rem 1.3fr 1.2fr 1fr; align-items: center; gap: 1.5rem;
  padding: clamp(1.4rem, 2.6vw, 2.2rem) 0;
  border-bottom: 1px solid var(--line);
  transition: padding .5s var(--ease), color .4s;
}
.svc__item::before {
  content: ""; position: absolute; inset: 0 calc(var(--pad) * -1); z-index: -1;
  background: var(--ink);
  transform: scaleY(0); transform-origin: bottom;
  transition: transform .5s var(--ease);
}
.svc__item:hover { color: #fff; padding-left: 1.2rem; }
.svc__item:hover::before { transform: scaleY(1); transform-origin: top; }
.svc__item:hover .svc__desc, .svc__item:hover .svc__tags { color: rgba(255, 255, 255, .65); }
.svc__num { font-size: .85rem; color: var(--muted); }
.svc__item:hover .svc__num { color: var(--teal); }
.svc__title { font-size: clamp(1.5rem, 2.8vw, 2.5rem); }
.svc__title sup {
  display: inline-block; vertical-align: middle;
  margin-left: .4rem; padding: .3rem .55rem; border-radius: 99px;
  background: var(--teal); color: var(--ink);
  font: 600 .7rem/1 var(--f-body); letter-spacing: .04em; text-transform: uppercase;
}
.svc__desc { color: var(--muted); max-width: 28rem; transition: color .4s; }
.svc__tags { font-size: .85rem; color: var(--muted); text-align: right; transition: color .4s; }
a.svc__tags { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.svc__item:hover a.svc__tags { color: var(--teal); }

.svc__preview {
  position: fixed; top: 0; left: 0; z-index: 40;
  width: clamp(180px, 18vw, 280px); aspect-ratio: 4/5;
  border-radius: 14px; overflow: hidden;
  pointer-events: none; opacity: 0;
  transform: translate(-50%, -50%) scale(.6);
}
.svc__preview img { width: 100%; height: 100%; object-fit: cover; }

/* Work ------------------------------------------------------------------- */
.work { padding-bottom: clamp(5rem, 12vw, 10rem); }
.filters { display: flex; gap: .4rem; flex-wrap: wrap; }
.filters button {
  padding: .6rem 1.1rem; border-radius: 999px; border: 1px solid var(--line);
  font-size: .9rem; color: var(--muted);
  transition: background .3s, color .3s, border-color .3s;
}
.filters button:hover { border-color: var(--ink); color: var(--ink); }
.filters button.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }

.grid {
  display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-flow: dense;
  gap: clamp(.75rem, 1.6vw, 1.5rem);
  padding: 0 var(--pad);
}
.card { grid-row: span 1; cursor: pointer; }
.card.is-extra { display: none; }
.work.is-expanded .card.is-extra:not(.is-hidden) { display: block; }
.work__more { display: flex; justify-content: center; margin-top: clamp(2rem, 5vw, 3.5rem); }
.work.is-expanded .work__more, .work.is-filtered .work__more { display: none; }
.btn--outline { border: 1px solid var(--ink); color: var(--ink); }
.btn--outline::before { background: var(--ink); }
.btn--outline:hover { color: #fff; }

/* Website cards: browser frame, screenshot scrolls on hover */
.card--site .card__media { background: #fff; border: 1px solid var(--line); }
.browser {
  position: absolute; top: 0; left: 0; right: 0; z-index: 2; height: 26px;
  display: flex; gap: 6px; align-items: center; padding: 0 12px;
  background: #f7f7f5; border-bottom: 1px solid var(--line);
}
.browser i { width: 8px; height: 8px; border-radius: 50%; background: #d9d8d3; }
.card--site .card__media img {
  position: absolute; top: 26px; height: calc(100% - 26px);
  object-position: 50% 0; transform: none !important;
  transition: object-position 7s linear;
}
.card--site:hover .card__media img { object-position: 50% 100%; transform: none; }
.card--tall { grid-row: span 2; }
.card--wide { grid-column: span 2; }
.card.is-hidden { display: none; }
.card__media {
  position: relative; overflow: hidden; border-radius: 14px; background: var(--paper-2);
  aspect-ratio: 4/3;
}
.card--tall .card__media { aspect-ratio: auto; height: calc(100% - 4.2rem); min-height: 420px; }
.card--wide .card__media { aspect-ratio: 16/8; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform 1.1s var(--ease); }
.card:hover .card__media img { transform: scale(1.08); }
.card__meta { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: .9rem .2rem 0; min-height: 3.3rem; }
.card__meta h3 { font-size: 1.15rem; letter-spacing: -.02em; }
.card__meta p { font-size: .85rem; color: var(--muted); text-align: right; }

/* Lightbox --------------------------------------------------------------- */
.lightbox {
  width: min(1100px, calc(100% - 24px)); max-width: none; height: calc(100% - 24px); max-height: none;
  margin: auto; padding: 0; border: 0; border-radius: var(--radius);
  background: var(--paper); color: var(--ink);
  display: none; flex-direction: column; overflow: hidden;
}
.lightbox[open] { display: flex; animation: lb-in .6s var(--ease); }
.lightbox::backdrop { background: rgba(7, 11, 23, .7); backdrop-filter: blur(6px); }
@keyframes lb-in { from { opacity: 0; transform: translateY(40px) scale(.98); } }
.lightbox__head {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.2rem clamp(1.2rem, 3vw, 2rem); border-bottom: 1px solid var(--line);
}
.lightbox__head h3 { font-size: clamp(1.4rem, 2.6vw, 2.2rem); }
.lightbox__head p { color: var(--muted); font-size: .9rem; margin-top: .3rem; }
.lightbox__close {
  flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: #fff;
  transition: transform .4s var(--ease), background .3s;
}
.lightbox__close:hover { transform: rotate(90deg); background: var(--teal); color: var(--ink); }
.lightbox__body {
  flex: 1; overflow-y: auto; overscroll-behavior: contain;
  padding: 12px 12px 0;
}
.lb-cols { columns: 2; column-gap: 12px; }
.lightbox__body.is-single .lb-cols { columns: 1; }
.lightbox__body img { width: 100%; margin-bottom: 12px; break-inside: avoid; border-radius: 12px; background: var(--paper-2); }

/* Print ------------------------------------------------------------------ */
.print { padding: clamp(5rem, 12vw, 10rem) 0; background: var(--paper-2); overflow: hidden; }
.print__rail {
  display: flex; gap: clamp(.75rem, 1.6vw, 1.5rem);
  padding: 0 var(--pad);
  width: max-content;
}
.tile { margin: 0; width: clamp(240px, 28vw, 420px); }
.tile img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 14px; }
.tile figcaption { display: flex; gap: .8rem; padding-top: 1rem; font: 600 1.25rem var(--f-display); letter-spacing: -.02em; }
.tile figcaption b { font: 500 .8rem var(--f-body); color: var(--muted); padding-top: .3rem; }

/* POS -------------------------------------------------------------------- */
.pos {
  margin: .75rem; padding: clamp(4rem, 10vw, 8rem) clamp(1.5rem, 5vw, 5rem);
  border-radius: var(--radius);
  background: var(--ink); color: #fff;
  overflow: hidden; position: relative; isolation: isolate;
}
.pos::before {
  content: ""; position: absolute; z-index: -1; width: 60vw; height: 60vw; right: -20vw; top: -25vw;
  background: radial-gradient(closest-side, rgba(1, 219, 202, .22), transparent);
}
.pos .section-lead { color: rgba(255, 255, 255, .65); margin-bottom: 2.2rem; }
.pos__inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }

.pos__device { position: relative; display: grid; place-items: center; min-height: 440px; }
.ticket {
  width: min(100%, 340px);
  padding: 1.4rem; border-radius: 22px;
  background: linear-gradient(180deg, #121a33, #0b1124);
  border: 1px solid var(--line-light);
  box-shadow: 0 40px 80px -30px rgba(1, 219, 202, .25);
  font-size: .92rem;
}
.ticket__head { display: flex; justify-content: space-between; font-weight: 600; margin-bottom: 1rem; }
.live { display: inline-flex; align-items: center; gap: .4rem; font-weight: 500; font-size: .8rem; color: var(--teal); }
.live i { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); animation: pulse 1.6s infinite; }
@keyframes pulse { 50% { opacity: .25; } }
.ticket__lines { list-style: none; margin: 0; padding: 0; }
.ticket__lines li { display: flex; justify-content: space-between; padding: .6rem 0; border-bottom: 1px dashed var(--line-light); color: rgba(255, 255, 255, .8); }
.ticket__total { display: flex; justify-content: space-between; padding: 1rem 0; font: 600 1.4rem var(--f-display); }
.ticket__pay {
  position: relative; height: 48px; border-radius: 12px; background: var(--teal); color: var(--ink);
  display: grid; place-items: center; font-weight: 600; overflow: hidden;
}
.ticket__pay span { grid-area: 1 / 1; transition: transform .5s var(--ease), opacity .5s; }
.ticket__pay .ok { transform: translateY(120%); opacity: 0; }
.ticket.is-paid .ticket__pay .tap { transform: translateY(-120%); opacity: 0; }
.ticket.is-paid .ticket__pay .ok { transform: none; opacity: 1; }
.stat {
  position: absolute; padding: .9rem 1.1rem; border-radius: 14px;
  background: rgba(255, 255, 255, .06); border: 1px solid var(--line-light);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.stat small { display: block; font-size: .72rem; color: rgba(255, 255, 255, .55); margin-bottom: .2rem; }
.stat b { font: 600 1.2rem var(--f-display); }
.stat--a { top: 6%; left: 0; }
.stat--b { bottom: 8%; right: 0; }
.stat--b b { color: #ffb27a; font-size: 1rem; }

.pos__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: clamp(3rem, 8vw, 6rem); }
.vcard {
  padding: 1.8rem; border-radius: 18px;
  border: 1px solid var(--line-light);
  background: rgba(255, 255, 255, .03);
  transition: background .4s, border-color .4s, transform .5s var(--ease);
}
.vcard:hover { background: rgba(1, 219, 202, .07); border-color: rgba(1, 219, 202, .4); transform: translateY(-4px); }
.vcard__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: rgba(1, 219, 202, .12); color: var(--teal); margin-bottom: 1.6rem; }
.vcard__icon svg { width: 24px; }
.vcard h3 { font-size: 1.6rem; margin-bottom: 1rem; }
.vcard ul { list-style: none; margin: 0; padding: 0; color: rgba(255, 255, 255, .65); line-height: 2; }
.vcard li::before { content: "✓  "; color: var(--teal); }

/* Process ---------------------------------------------------------------- */
.process {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(2rem, 6vw, 6rem);
  padding: clamp(5rem, 12vw, 10rem) var(--pad);
}
.process__left { position: sticky; top: 7rem; align-self: start; }
.steps { list-style: none; margin: 0; padding: 0; }
.steps li { display: grid; grid-template-columns: 4rem 1fr; padding: 2rem 0; border-top: 1px solid var(--line); }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps span { font-weight: 500; color: var(--teal); filter: brightness(.8); }
.steps h3 { font-size: clamp(1.5rem, 2.4vw, 2.1rem); margin-bottom: .6rem; }
.steps p { color: var(--muted); max-width: 30rem; }

/* Contact ---------------------------------------------------------------- */
.contact { padding: clamp(4rem, 10vw, 8rem) var(--pad); background: var(--ink); color: #fff; border-radius: var(--radius) var(--radius) 0 0; }
.contact__big { font-size: clamp(4rem, 17vw, 17rem); letter-spacing: -.06em; line-height: .85; margin-bottom: clamp(3rem, 7vw, 6rem); }
.contact__grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(2rem, 6vw, 6rem); }
.contact .section-lead { color: rgba(255, 255, 255, .65); margin: 0 0 2rem; }
.contact__line {
  display: block; padding: 1.1rem 0; border-top: 1px solid var(--line-light);
  font: 500 clamp(1.05rem, 1.6vw, 1.35rem) var(--f-display); letter-spacing: -.01em;
  word-break: break-word; transition: color .3s, padding .4s var(--ease);
}
a.contact__line:hover { color: var(--teal); padding-left: .5rem; }
.contact__line small { display: block; font: 500 .75rem var(--f-body); letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .45); margin-bottom: .35rem; }

.form { display: grid; gap: 1.2rem; align-content: start; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.form label > span, .chips legend { display: block; font-size: .8rem; color: rgba(255, 255, 255, .55); margin-bottom: .45rem; }
.form input, .form textarea {
  width: 100%; padding: .9rem 0; border: 0; border-bottom: 1px solid var(--line-light);
  background: transparent; color: #fff; font: inherit; font-size: 1.05rem; resize: vertical;
  transition: border-color .3s;
}
.form input:focus, .form textarea:focus { outline: none; border-color: var(--teal); }
.form input.is-invalid { border-color: #ff7a7a; }
.chips { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.chips legend { width: 100%; }
.chips label { cursor: pointer; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span {
  display: inline-block; padding: .55rem 1rem; border-radius: 99px; border: 1px solid var(--line-light);
  font-size: .9rem; color: rgba(255, 255, 255, .8); transition: all .3s;
}
.chips span:hover { border-color: rgba(255, 255, 255, .5); }
.chips input:checked + span { background: var(--teal); border-color: var(--teal); color: var(--ink); }
.chips input:focus-visible + span { outline: 2px solid var(--teal); outline-offset: 2px; }
.form .btn { justify-self: start; margin-top: .5rem; }
.form__note { font-size: .9rem; color: var(--teal); min-height: 1.4em; }

/* Footer ----------------------------------------------------------------- */
.footer { background: var(--ink); color: rgba(255, 255, 255, .6); padding: 0 var(--pad) 2rem; }
.footer__top { display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; padding: 3rem 0; border-top: 1px solid var(--line-light); }
.footer__top img { width: 120px; }
.footer__social { display: flex; gap: 1.6rem; flex-wrap: wrap; }
.footer__social a:hover, .footer__top-link:hover { color: var(--teal); }
.footer__bottom { display: flex; justify-content: space-between; font-size: .85rem; }

/* WhatsApp + cursor ------------------------------------------------------ */
.wa {
  position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 40;
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  background: #25d366; color: #fff;
  box-shadow: 0 10px 30px -8px rgba(0, 0, 0, .35);
  transition: transform .4s var(--ease);
}
.wa:hover { transform: scale(1.08); }
.wa svg { width: 28px; }

.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  .js .cursor {
    display: block; position: fixed; top: 0; left: 0; z-index: 60;
    width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%;
    background: var(--teal); pointer-events: none; mix-blend-mode: difference;
    transition: width .3s var(--ease), height .3s var(--ease), margin .3s var(--ease);
  }
  .js .cursor.is-big { width: 48px; height: 48px; margin: -24px 0 0 -24px; }
}

/* JS-only initial states (content stays visible without JS) -------------- */
.js [data-split] { visibility: hidden; }
.js.is-ready [data-split] { visibility: visible; }

/* Responsive ------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero__bottom { grid-template-columns: 1fr 1fr; }
  .hero__cta { grid-column: 1 / -1; }
  .statement { grid-template-columns: 1fr; padding-left: var(--pad); padding-right: var(--pad); }
  .statement__copy { position: static; }
  .svc__item { grid-template-columns: 3rem 1fr; }
  .svc__desc { grid-column: 2; }
  .svc__tags { grid-column: 2; text-align: left; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .pos__inner { grid-template-columns: 1fr; }
  .pos__cards { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr; }
  .process__left { position: static; }
  .contact__grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .nav__links, .nav .btn--pill { display: none; }
  .nav__burger { display: block; }
  .hero { padding-top: 4.8rem; }
  .hero__bottom { grid-template-columns: 1fr; }
  .hero__list { display: none; }
  .grid { grid-template-columns: 1fr; }
  .card--wide { grid-column: auto; }
  .card--tall .card__media { height: auto; min-height: 0; aspect-ratio: 4/5; }
  .card__meta { flex-direction: column; gap: .2rem; }
  .card__meta p { text-align: left; }
  .form__row { grid-template-columns: 1fr; }
  .nav.is-scrolled { padding: .4rem .4rem .4rem 1.1rem; }
  .lb-cols { columns: 1; }
  .footer__bottom { flex-direction: column; gap: .8rem; }
  .print__rail { width: auto; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 1rem; }
  .tile { flex: 0 0 78%; scroll-snap-align: start; }
  .pos__device { padding: 3.5rem 0; }
  .stat--a { top: 0; }
  .stat--b { bottom: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .marquee__track { animation: none; }
}
