/* =========================================================
   Especializados ORG — V2 · Industrial Premium / Logistics in Motion
   ========================================================= */

@font-face { font-family: "Barlow Condensed"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/barlow-condensed-600.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/barlow-condensed-700.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 800; font-style: normal; font-display: swap; src: url("../fonts/barlow-condensed-800.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-weight: 400 800; font-style: normal; font-display: swap; src: url("../fonts/manrope-var.woff2") format("woff2"); }

:root {
  --night: #071525;
  --night-2: #0d2038;
  --night-3: #12294a;
  --org: #123B83;
  --electric: #377FDB;
  --electric-2: #5b98e6;
  --steel: #DCE5EE;
  --steel-2: #eef3f8;
  --white: #FFFFFF;

  --ground: var(--white);
  --ink: var(--night);
  --muted: #3e5069;
  --line: rgba(7, 21, 37, 0.14);

  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --text: "Manrope", system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", "SFMono-Regular", Menlo, Consolas, monospace;

  --fs-hero: clamp(42px, 6.2vw, 96px);
  --fs-h1: clamp(40px, 5.2vw, 80px);
  --fs-h2: clamp(32px, 3.6vw, 56px);
  --fs-h3: clamp(22px, 1.8vw, 28px);
  --fs-lead: clamp(17px, 1.3vw, 20px);
  --fs-body: 16px;
  --fs-small: 14px;
  --fs-tag: 13px;

  --m: clamp(20px, 3vw, 44px);
  --max: 1360px;
  --gap: clamp(14px, 1.5vw, 22px);
  --section: clamp(56px, 6.4vw, 96px);
  --head-gap: clamp(24px, 2.6vw, 40px);
  --header-h: 80px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
  --ease-exit: cubic-bezier(0.55, 0.055, 0.675, 0.19);
  --t-press: 140ms;
  --t-hover: 200ms;
  --t-ui: 320ms;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 88px; }
body { margin: 0; background: var(--white); color: var(--night); font-family: var(--text); font-size: var(--fs-body); line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
picture { display: contents; }
a { color: inherit; -webkit-tap-highlight-color: transparent; }
a, button, label, select, summary { touch-action: manipulation; }
button { -webkit-tap-highlight-color: transparent; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--electric); color: var(--white); }
:focus-visible { outline: 3px solid var(--electric); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; } /* taste-skill-ignore: screen-reader text */
.skip { position: fixed; left: var(--m); top: 12px; z-index: 200; background: var(--white); color: var(--night); padding: 12px 18px; font-weight: 700; transform: translateY(-160%); transition: transform var(--t-ui) var(--ease-out); }
.skip:focus { transform: none; }

/* ---------- surfaces ---------- */
.s-white { --ground: var(--white); --ink: var(--night); --muted: #3e5069; --line: rgba(7,21,37,.13); --card: var(--steel-2); background: var(--white); color: var(--ink); }
.s-steel { --ground: var(--steel); --ink: var(--night); --muted: #374961; --line: rgba(7,21,37,.16); --card: var(--white); background: var(--steel); color: var(--ink); }
.s-night { --ground: var(--night); --ink: var(--white); --muted: #b2c2d6; --line: rgba(255,255,255,.14); --card: var(--night-2); background: var(--night); color: var(--ink); }
.s-deep  { --ground: var(--night-2); --ink: var(--white); --muted: #b6c6da; --line: rgba(255,255,255,.14); --card: var(--night-3); background: var(--night-2); color: var(--ink); }
.s-org   { --ground: var(--org); --ink: var(--white); --muted: #d3def0; --line: rgba(255,255,255,.2); --card: #16458f; background: var(--org); color: var(--ink); }

/* ---------- type ---------- */
.hero-title, .h1, .h2, .h3 { font-family: var(--display); text-transform: uppercase; font-weight: 800; letter-spacing: -0.005em; }
.hero-title { font-size: var(--fs-hero); line-height: 0.92; }
.h1 { font-size: var(--fs-h1); line-height: 0.94; }
.h2 { font-size: var(--fs-h2); line-height: 0.96; }
.h3 { font-size: var(--fs-h3); line-height: 1.02; font-weight: 700; letter-spacing: 0.005em; }
.lead { font-size: var(--fs-lead); line-height: 1.55; font-weight: 500; }
.muted { color: var(--muted); }
.small { font-size: var(--fs-small); line-height: 1.5; }
.num { font-variant-numeric: tabular-nums; }
.prose p + p { margin-top: 1em; }
.tag { display: inline-flex; align-items: center; gap: 12px; font-family: var(--mono); font-size: var(--fs-tag); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: #1d5aae; }
.tag::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.s-night .tag, .s-deep .tag, .s-org .tag, .on-photo .tag { color: #7fb0f0; }
.idx { font-family: var(--mono); font-size: var(--fs-tag); font-weight: 600; letter-spacing: 0.1em; color: #1d5aae; }
.s-night .idx, .s-deep .idx, .s-org .idx, .on-photo .idx { color: #7fb0f0; }

/* ---------- frame ---------- */
.wrap { width: min(100% - 2 * var(--m), var(--max)); margin-inline: auto; }
.section { padding-block: var(--section); }
.sec-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 20px var(--gap); align-items: end; margin-bottom: var(--head-gap); }
.sec-head__title > * + * { margin-top: 16px; }
.sec-head__aside { display: grid; gap: 20px; justify-items: start; }
.sec-head--center { grid-template-columns: minmax(0, 1fr); text-align: left; }
@media (max-width: 860px) { .sec-head { grid-template-columns: minmax(0, 1fr); } }

/* ---------- buttons ---------- */
.btn { --bg: #2a6ccb; --fg: var(--white); --hbg: var(--org); display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; padding: 0 24px; background: var(--bg); color: var(--fg); font-family: var(--text); font-weight: 750; font-size: 14px; letter-spacing: 0.04em; text-transform: uppercase; text-decoration: none; border: 1px solid transparent; border-radius: 2px; cursor: pointer; position: relative; overflow: hidden; isolation: isolate; transition: transform var(--t-press) var(--ease-out), color var(--t-hover) ease, border-color var(--t-hover) ease; user-select: none; white-space: nowrap; }
.btn::before { content: ""; position: absolute; inset: 0; background: var(--hbg); transform: scaleX(0); transform-origin: 100% 50%; transition: transform 420ms var(--ease-out); z-index: -1; }
.btn .arrow { width: 16px; height: 16px; flex: none; transition: transform 420ms var(--ease-out); }
.btn:active { transform: scale(0.97); }
.btn--ghost { --bg: transparent; --fg: var(--white); --hbg: var(--white); border-color: rgba(255,255,255,.5); }
.btn--ink { --bg: var(--night); --fg: var(--white); --hbg: var(--electric); }
.btn--line { --bg: transparent; --fg: var(--ink); --hbg: var(--night); border-color: var(--ink); }
.btn--white { --bg: var(--white); --fg: var(--night); --hbg: var(--electric); }
.btn--block { width: 100%; }
@media (hover: hover) and (pointer: fine) {
  .btn:hover::before { transform: scaleX(1); transform-origin: 0 50%; }
  .btn:hover .arrow { transform: translateX(4px); }
  .btn--ghost:hover { color: var(--night); border-color: var(--white); }
  .btn--line:hover { color: var(--white); }
  .btn--white:hover { color: var(--white); }
}
.link { font-weight: 700; color: var(--ink); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; text-decoration-color: var(--electric); transition: text-underline-offset var(--t-ui) var(--ease-out); }
@media (hover: hover) { .link:hover { text-underline-offset: 9px; } }

/* ---------- header ---------- */
.header { position: fixed; inset: 0 0 auto 0; z-index: 100; color: var(--white); transition: background-color 360ms ease, box-shadow 360ms ease; }
.header__in { width: min(100% - 2 * var(--m), var(--max)); margin-inline: auto; height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; transition: height 420ms var(--ease-out); }
.header.is-solid { background: rgba(7, 21, 37, 0.96); box-shadow: 0 1px 0 rgba(255,255,255,.08); } /* taste-skill-ignore: header edge on a fixed bar */
.header.is-solid .header__in { height: 64px; }
.header__brand { display: block; width: 88px; flex: none; transition: width 420ms var(--ease-out); }
.header.is-solid .header__brand { width: 76px; }
.header__nav { display: flex; align-items: center; gap: clamp(18px, 2.2vw, 36px); }
.header__nav a:not(.btn) { position: relative; font-weight: 600; font-size: 15px; text-decoration: none; padding-block: 8px; opacity: .88; transition: opacity var(--t-hover) ease; }
.header__nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--electric); transform: scaleX(0); transform-origin: 100% 50%; transition: transform 360ms var(--ease-out); }
.header__nav a[aria-current="page"] { opacity: 1; }
.header__nav a[aria-current="page"]::after { transform: scaleX(1); }
@media (hover: hover) and (pointer: fine) { .header__nav a:not(.btn):hover { opacity: 1; } .header__nav a:not(.btn):hover::after { transform: scaleX(1); transform-origin: 0 50%; } }
.header__nav .btn { min-height: 44px; padding: 0 18px; font-size: 13px; }
@media (max-width: 1240px) { .header__tel { display: none !important; } }
.header__tel { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; text-decoration: none; }
.header__tel svg { width: 16px; height: 16px; }
.header__menu { display: none; background: none; border: 1px solid rgba(255,255,255,.35); border-radius: 2px; padding: 0 16px; font-weight: 700; font-size: 14px; cursor: pointer; color: inherit; min-height: 44px; }

.menu[hidden] { display: none; }
.menu { position: fixed; inset: 0; z-index: 99; background: var(--night); color: var(--white); padding: calc(var(--header-h) + 24px) var(--m) calc(24px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; justify-content: space-between; clip-path: inset(0 0 100% 0); transition: clip-path 420ms var(--ease-in-out); }
.menu.is-open { clip-path: inset(0 0 0 0); transition: clip-path 480ms var(--ease-in-out); }
.menu ul { display: grid; }
.menu li + li { border-top: 1px solid rgba(255,255,255,.12); }
.menu ul a { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(40px, 11vw, 60px); line-height: 1; text-decoration: none; display: flex; justify-content: space-between; align-items: center; padding-block: 12px; }
.menu ul a[aria-current="page"] { color: var(--electric-2); }
.menu__foot { display: grid; gap: 10px; }
.menu__foot a:not(.btn) { font-size: 17px; font-weight: 600; text-decoration: none; padding-block: 6px; }
@media (max-width: 1020px) {
  :root { --header-h: 68px; }
  .header__nav { display: none; }
  .header__menu { display: block; }
  .header__brand { width: 74px; }
}

/* ---------- home hero ---------- */
.hero { position: relative; min-height: min(90svh, 980px); display: flex; flex-direction: column; justify-content: flex-end; overflow: clip; color: var(--white); background: var(--night); }
.hero__media { position: absolute; inset: 0; z-index: 0; overflow: clip; }
.hero__media img, .hero__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 56%; }
.hero__media video { opacity: 0; transition: opacity 900ms ease; }
.hero__media video.is-playing { opacity: 1; }
.hero__scrim { position: absolute; inset: 0; z-index: 1; background:
  linear-gradient(90deg, rgba(7,21,37,.94) 0%, rgba(7,21,37,.78) 34%, rgba(7,21,37,.28) 62%, rgba(7,21,37,.12) 100%),
  linear-gradient(0deg, rgba(7,21,37,.96) 0%, rgba(7,21,37,.55) 22%, rgba(7,21,37,0) 46%),
  linear-gradient(180deg, rgba(7,21,37,.7) 0%, rgba(7,21,37,0) 22%); } /* taste-skill-ignore: neutral scrim over the photograph for legibility */
.hero__body { position: relative; z-index: 2; width: min(100% - 2 * var(--m), var(--max)); margin-inline: auto; padding: calc(var(--header-h) + clamp(40px, 6vh, 80px)) 0 clamp(24px, 3vw, 40px); display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px; align-items: end; }
.hero__copy { display: grid; gap: 22px; justify-items: start; max-width: 900px; }
.hero__title .line { display: block; overflow: clip; padding-bottom: 0.06em; margin-bottom: -0.06em; }
.hero__title .line > span { display: block; }
.hero__title .accent { color: var(--electric-2); }
.hero__desc { font-size: var(--fs-lead); line-height: 1.55; max-width: 52ch; color: #dbe5f2; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.hero__live { justify-self: end; align-self: end; display: grid; gap: 6px; padding: 16px 18px; border: 1px solid rgba(255,255,255,.18); background: rgba(7,21,37,.6); min-width: 240px; }
.hero__live strong { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.hero__live span { font-family: var(--mono); font-size: 13px; color: #b9c9dd; letter-spacing: .04em; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #4fd18b; box-shadow: 0 0 0 0 rgba(79,209,139,.6); animation: live 2.4s ease-out infinite; }
@keyframes live { 0% { box-shadow: 0 0 0 0 rgba(79,209,139,.55); } 70%, 100% { box-shadow: 0 0 0 10px rgba(79,209,139,0); } }

.hero__cards { position: relative; z-index: 2; width: min(100% - 2 * var(--m), var(--max)); margin: 0 auto clamp(24px, 3vw, 40px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.16); }
.hcard { position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px; padding: 22px 24px; background: rgba(7,21,37,.78); text-decoration: none; color: var(--white); overflow: hidden; transition: background-color 320ms ease; }
.hcard__icon { width: 52px; height: 52px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.22); color: #8fbaf2; transition: color 320ms ease, border-color 320ms ease; }
.hcard__icon svg { width: 30px; height: 30px; }
.hcard__txt { display: grid; gap: 4px; min-width: 0; }
.hcard__txt .idx { font-size: 13px; }
.hcard__name { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: 24px; line-height: 1; letter-spacing: .01em; }
.hcard__spec { font-size: 14px; color: #c3d1e2; }
.hcard__go { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.22); transition: transform 420ms var(--ease-out), background-color 320ms ease, border-color 320ms ease; }
.hcard__go svg { width: 14px; height: 14px; }
@media (hover: hover) and (pointer: fine) {
  .hcard:hover { background: rgba(18,59,131,.88); }

  .hcard:hover .hcard__icon { color: var(--white); border-color: rgba(255,255,255,.5); }
  .hcard:hover .hcard__go { background: var(--electric); border-color: var(--electric); transform: translateX(4px); }
}
.hero__cue { position: absolute; z-index: 2; left: 50%; bottom: 0; width: 1px; height: 0; }
@media (max-width: 1020px) {
  .hero__body { grid-template-columns: minmax(0, 1fr); }
  .hero__live { justify-self: start; }
}
@media (max-width: 760px) {
  .hero { min-height: 0; }
  .hero__media img, .hero__media video { object-position: 68% 50%; }
  .hero__scrim { background: linear-gradient(180deg, rgba(7,21,37,.75) 0%, rgba(7,21,37,.55) 35%, rgba(7,21,37,.92) 70%, rgba(7,21,37,1) 100%); } /* taste-skill-ignore: neutral scrim */
  .hero__body { padding-top: calc(var(--header-h) + 56px); }
  .hero__actions { width: 100%; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__live { display: none; }
  .hero__cards { grid-template-columns: minmax(0, 1fr); }
  .hcard { padding: 16px 18px; gap: 14px; }
  .hcard__icon { width: 44px; height: 44px; }
  .hcard__icon svg { width: 26px; height: 26px; }
  .hcard__name { font-size: 21px; }
}

/* ---------- inner page hero ---------- */
.phero { position: relative; overflow: clip; color: var(--white); background: var(--night); }
.phero__media { position: absolute; inset: 0; z-index: 0; }
.phero__media img, .phero__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.phero__scrim { position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(7,21,37,.95) 0%, rgba(7,21,37,.78) 40%, rgba(7,21,37,.3) 100%), linear-gradient(0deg, rgba(7,21,37,.9) 0%, rgba(7,21,37,0) 50%); } /* taste-skill-ignore: neutral scrim */
.phero__body { position: relative; z-index: 2; width: min(100% - 2 * var(--m), var(--max)); margin-inline: auto; padding: calc(var(--header-h) + clamp(48px, 7vw, 96px)) 0 clamp(32px, 4vw, 56px); display: grid; gap: 20px; justify-items: start; }
.crumbs { display: flex; gap: 10px; font-family: var(--mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: #b9c9dd; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--white); }
.phero__title { max-width: 18ch; }
.phero__desc { max-width: 58ch; color: #dbe5f2; }
.phero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.phero__strip { position: relative; z-index: 2; width: min(100% - 2 * var(--m), var(--max)); margin: 0 auto clamp(24px, 3vw, 40px); }
@media (max-width: 760px) { .phero__scrim { background: linear-gradient(180deg, rgba(7,21,37,.7), rgba(7,21,37,.95)); } .phero__actions .btn { flex: 1 1 100%; } } /* taste-skill-ignore: neutral scrim */

/* ---------- clients strip ---------- */
.clients { padding-block: clamp(28px, 3.4vw, 44px); border-bottom: 1px solid var(--line); }
.clients__in { display: grid; grid-template-columns: minmax(180px, 220px) minmax(0, 1fr); gap: 24px 40px; align-items: center; }
.clients__label { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: 22px; line-height: 1.05; }
.clients__label .idx { display: block; margin-bottom: 8px; font-family: var(--mono); font-size: 13px; font-weight: 600; }
.clients__logos { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; align-items: center; }
.clients__logos li { display: grid; place-items: center; height: 76px; padding: 12px 16px; border: 1px solid var(--line); transition: border-color 260ms ease, background-color 260ms ease; }
.clients__logos img { max-height: 40px; width: auto; max-width: 100%; object-fit: contain; filter: grayscale(1) contrast(1.1); opacity: .78; mix-blend-mode: multiply; transition: filter 320ms ease, opacity 320ms ease, transform 420ms var(--ease-out); }
@media (hover: hover) { .clients__logos li:hover { border-color: var(--electric); } .clients__logos li:hover img { filter: none; opacity: 1; transform: scale(1.04); } }
@media (max-width: 960px) { .clients__in { grid-template-columns: minmax(0, 1fr); } .clients__logos { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 480px) { .clients__logos li { height: 64px; padding: 10px; } .clients__logos img { max-height: 32px; } }

/* ---------- experience ---------- */
.exp { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.exp__copy { display: grid; gap: 22px; justify-items: start; }
.exp__facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; width: 100%; }
.fact { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; background: var(--card); border: 1px solid var(--line); font-size: 15px; line-height: 1.45; }
.fact svg { flex: none; width: 22px; height: 22px; color: var(--electric); margin-top: 1px; }
.fact strong { display: block; font-size: 15px; }
.exp__visual { position: relative; padding: 0 0 28px 28px; }
.exp__visual::before { content: ""; position: absolute; left: 0; bottom: 0; width: 42%; height: 58%; background: var(--org); }
.exp__visual::after { content: ""; position: absolute; right: -14px; top: -14px; width: 120px; height: 120px; border-top: 2px solid var(--electric); border-right: 2px solid var(--electric); }
.exp__photo { position: relative; aspect-ratio: 5 / 4; overflow: clip; }
.exp__photo img { width: 100%; height: 112%; object-fit: cover; object-position: 50% 40%; }
.badge { position: absolute; z-index: 2; left: 44px; bottom: 48px; display: flex; gap: 12px; align-items: center; padding: 12px 16px; background: var(--night); color: var(--white); font-size: 14px; font-weight: 600; }
.badge svg { width: 20px; height: 20px; color: #8fbaf2; }
@media (max-width: 900px) { .exp { grid-template-columns: minmax(0, 1fr); } .exp__visual { order: -1; } }
@media (max-width: 520px) { .exp__facts { grid-template-columns: minmax(0, 1fr); } .exp__visual { padding: 0 0 18px 18px; } .exp__visual::after { display: none; } .badge { left: 30px; bottom: 32px; } }

.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(40px, 4.4vw, 64px); background: var(--night); color: var(--white); }
.stat { padding: clamp(22px, 2.4vw, 34px) clamp(20px, 2.2vw, 32px); display: grid; gap: 6px; align-content: start; }
.stat + .stat { border-left: 1px solid rgba(255,255,255,.14); }
.stat__fig { font-family: var(--display); font-weight: 800; font-size: clamp(48px, 5vw, 76px); line-height: .9; font-variant-numeric: tabular-nums; }
.stat__fig small { font-size: .55em; color: var(--electric-2); margin-right: 2px; vertical-align: .3em; }
.stat__lbl { font-family: var(--mono); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: #9fc1ee; }
.stat__txt { font-size: 14px; color: #c4d2e3; line-height: 1.45; }
.stats--on-photo { margin-top: 0; background: rgba(7,21,37,.82); border: 1px solid rgba(255,255,255,.14); }
@media (max-width: 860px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .stat:nth-child(3) { border-left: 0; } .stat:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.14); } }

/* ---------- solutions ---------- */
.sol { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.scard { position: relative; display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); transition: border-color 320ms ease, transform 520ms var(--ease-out); }
.scard__media { position: relative; aspect-ratio: 4 / 3; overflow: clip; }
.scard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1100ms var(--ease-out); }
.scard__chip { position: absolute; left: 16px; top: 16px; z-index: 1; padding: 7px 12px; background: var(--night); color: var(--white); font-family: var(--mono); font-size: 13px; letter-spacing: .08em; }
.scard__body { padding: clamp(20px, 2vw, 28px); display: flex; flex-direction: column; gap: 14px; flex: 1; }
.scard__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.scard__icon { width: 40px; height: 40px; color: var(--electric); }
.scard__desc { color: var(--muted); }
.specs { display: grid; border-top: 1px solid var(--line); }
.specs div { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 12px; padding-block: 10px; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.specs dt { color: var(--muted); }
.specs dd { font-weight: 700; }
.scard .btn { margin-top: auto; }
@media (hover: hover) and (pointer: fine) {
  .scard:hover { border-color: var(--electric); transform: translateY(-6px); }
  .scard:hover .scard__media img { transform: scale(1.06); }
}
@media (max-width: 1020px) { .sol { grid-template-columns: repeat(2, minmax(0, 1fr)); } .sol > :last-child { grid-column: 1 / -1; } .sol > :last-child .scard__media { aspect-ratio: 16 / 7; } }
@media (max-width: 680px) { .sol { grid-template-columns: minmax(0, 1fr); } .sol > :last-child .scard__media { aspect-ratio: 4 / 3; } }

/* ---------- why ORG ---------- */
.why { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 4vw, 64px); align-items: stretch; }
.why__intro { display: grid; gap: 20px; align-content: start; }
.why__photo { position: relative; aspect-ratio: 4 / 3; overflow: clip; margin-top: 8px; }
.why__photo img { width: 100%; height: 112%; object-fit: cover; object-position: 50% 30%; }
.why__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }
.icard { position: relative; display: grid; gap: 14px; align-content: start; padding: clamp(22px, 2.2vw, 32px); background: var(--card); border: 1px solid var(--line); overflow: hidden; transition: border-color 320ms ease, background-color 320ms ease, transform 520ms var(--ease-out); }
.icard:nth-child(2), .icard:nth-child(3) { background: var(--org); }
.icard__top { display: flex; justify-content: space-between; align-items: flex-start; }
.icard__icon { width: 48px; height: 48px; color: #8fbaf2; }
.icard__icon path, .icard__icon circle, .icard__icon rect, .icard__icon line, .icard__icon polyline { vector-effect: non-scaling-stroke; }
.icard p { color: var(--muted); font-size: 15px; }
@media (hover: hover) and (pointer: fine) { .icard:hover { border-color: rgba(127,176,240,.6); transform: translateY(-4px); } }
@media (max-width: 960px) { .why { grid-template-columns: minmax(0, 1fr); } .why__photo { aspect-ratio: 16 / 8; } }
@media (max-width: 560px) { .why__grid { grid-template-columns: minmax(0, 1fr); } .icard:nth-child(3) { background: var(--card); } .icard:nth-child(4) { background: var(--org); } }

/* ---------- technology ---------- */
.tech { position: relative; overflow: clip; }
.tech__routes { position: absolute; inset: 0; z-index: 0; pointer-events: none; width: 100%; height: 100%; color: var(--electric); opacity: .5; }
.tech__in { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.tech__visual { position: relative; padding-bottom: 56px; }
.tech__photo { aspect-ratio: 4 / 4.2; overflow: clip; width: 84%; }
.tech__photo img { width: 100%; height: 112%; object-fit: cover; object-position: 50% 30%; }
.tech__inset { position: absolute; right: 0; bottom: 0; width: 46%; aspect-ratio: 1 / 1; overflow: clip; border: 6px solid var(--ground); }
.tech__inset img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 30%; }
.tech__live { position: absolute; left: 20px; top: 20px; z-index: 2; display: flex; gap: 10px; align-items: center; padding: 10px 14px; background: var(--night); color: var(--white); font-size: 14px; font-weight: 600; }
.tech__live span { font-family: var(--mono); font-size: 13px; color: #b9c9dd; }
.tech__copy { display: grid; gap: 22px; justify-items: start; }
.blocks { display: grid; width: 100%; border-top: 1px solid var(--line); }
.block { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 18px; padding-block: 20px; border-bottom: 1px solid var(--line); }
.block__icon { width: 56px; height: 56px; display: grid; place-items: center; background: var(--night); color: #8fbaf2; transition: background-color 320ms ease, color 320ms ease; }
.block__icon svg { width: 28px; height: 28px; }
.block h3 { margin-bottom: 6px; }
.block p { color: var(--muted); font-size: 15px; }
@media (hover: hover) { .block:hover .block__icon { background: var(--electric); color: var(--white); } }
@media (max-width: 900px) { .tech__in { grid-template-columns: minmax(0, 1fr); } }

/* ---------- home gallery ---------- */
.mosaic { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(150px, 15vw, 230px); gap: var(--gap); }
.mosaic figure { position: relative; overflow: clip; }
.mosaic figure:nth-child(1) { grid-column: 1 / 3; grid-row: 1 / 3; }
.mosaic figure:nth-child(2) { grid-column: 3 / 4; grid-row: 1 / 2; }
.mosaic figure:nth-child(3) { grid-column: 4 / 5; grid-row: 1 / 3; }
.mosaic figure:nth-child(4) { grid-column: 3 / 4; grid-row: 2 / 3; }
.mosaic figure:nth-child(5) { grid-column: 1 / 2; grid-row: 3 / 4; }
.mosaic figure:nth-child(6) { grid-column: 2 / 5; grid-row: 3 / 4; }
.mosaic button { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: var(--night-2); cursor: zoom-in; position: relative; overflow: clip; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transition: transform 1100ms var(--ease-out); }
.mosaic figcaption { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; display: flex; justify-content: space-between; gap: 12px; align-items: end; padding: 40px 18px 16px; color: var(--white); font-size: 14px; font-weight: 600; background: linear-gradient(0deg, rgba(7,21,37,.85), rgba(7,21,37,0)); pointer-events: none; } /* taste-skill-ignore: scrim for caption legibility */
.mosaic figcaption .idx { color: #9fc1ee; }
@media (hover: hover) and (pointer: fine) { .mosaic button:hover img { transform: scale(1.06); } }
@media (max-width: 760px) {
  .mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 150px; }
  .mosaic figure:nth-child(n) { grid-column: auto; grid-row: auto; }
  .mosaic figure:nth-child(1), .mosaic figure:nth-child(6) { grid-column: 1 / -1; grid-row: span 2; }
}

/* ---------- trust ---------- */
.trust { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.trust__intro { display: grid; gap: 18px; justify-items: start; }
.trust__cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.tcard { display: grid; gap: 16px; align-content: space-between; padding: clamp(20px, 2vw, 28px); background: var(--card); border: 1px solid var(--line); min-height: 220px; transition: border-color 320ms ease; }
.tcard__logo { height: 52px; width: auto; max-width: 100%; object-fit: contain; object-position: left center; }
.tcard p { color: var(--muted); font-size: 14.5px; }
.tcard__score { font-family: var(--display); font-weight: 800; font-size: 64px; line-height: .85; display: flex; align-items: baseline; gap: 10px; }
.tcard__score span { font-family: var(--text); font-size: 14px; font-weight: 600; color: var(--muted); }
.stars { display: flex; gap: 3px; color: #f2b33d; }
.stars svg { width: 16px; height: 16px; }
.quotes { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.quote { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border: 1px solid var(--line); }
.quote svg { flex: none; width: 22px; height: 22px; color: var(--electric-2); }
.quote blockquote { font-weight: 600; line-height: 1.4; }
.quote cite { display: block; margin-top: 6px; font-style: normal; font-size: 13.5px; color: var(--muted); }
@media (hover: hover) { .tcard:hover { border-color: rgba(127,176,240,.6); } }
@media (max-width: 1020px) { .trust { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 760px) { .trust__cards, .quotes { grid-template-columns: minmax(0, 1fr); } .tcard { min-height: 0; } }

/* ---------- closing ---------- */
.close { position: relative; overflow: clip; color: var(--white); background: var(--night); }
.close__media { position: absolute; inset: -8% 0; z-index: 0; }
.close__media img, .close__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.close__media video { opacity: 0; transition: opacity 900ms ease; }
.close__media video.is-playing { opacity: 1; }
.close__shade { position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(7,21,37,.95) 0%, rgba(7,21,37,.82) 50%, rgba(7,21,37,.6) 100%); } /* taste-skill-ignore: neutral scrim */
.close__in { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px); align-items: center; padding-block: clamp(64px, 8vw, 112px); }
.close__copy { display: grid; gap: 22px; justify-items: start; }
.close__copy p { color: #dbe5f2; max-width: 48ch; }
.ccard { display: grid; gap: 0; border: 1px solid rgba(255,255,255,.18); background: rgba(7,21,37,.72); }
.ccard a, .ccard div { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; align-items: center; padding: 18px 20px; text-decoration: none; transition: background-color 260ms ease; }
.ccard > * + * { border-top: 1px solid rgba(255,255,255,.14); }
.ccard svg { width: 22px; height: 22px; color: #8fbaf2; justify-self: center; }
.ccard small { display: block; font-family: var(--mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: #9fb4cd; }
.ccard strong { font-size: 17px; }
@media (hover: hover) { .ccard a:hover { background: rgba(55,127,219,.2); } }
@media (max-width: 900px) { .close__in { grid-template-columns: minmax(0, 1fr); } }

/* ---------- footer ---------- */
.footer { background: var(--night); color: #c6d3e3; font-size: 15px; }
.footer__top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px var(--gap); padding-block: clamp(48px, 5vw, 72px) 40px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer__brand img { width: 120px; }
.footer__brand p { margin-top: 18px; max-width: 34ch; }
.footer__certs { display: flex; gap: 16px; align-items: center; margin-top: 22px; }
.footer__certs img { height: 32px; width: auto; opacity: .85; }
.footer h2 { font-family: var(--mono); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: #8fb0d8; font-weight: 600; margin-bottom: 14px; }
.footer li + li { margin-top: 8px; }
.footer a { text-decoration: none; transition: color var(--t-hover) ease; }
@media (hover: hover) { .footer a:hover { color: var(--white); } }
.footer address { font-style: normal; }
.footer__legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; padding-block: 22px; font-size: 13.5px; color: #8ea3bd; }
@media (max-width: 900px) { .footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer__brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer__top { grid-template-columns: minmax(0, 1fr); } }

/* ---------- inner: split / feature rows ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.split--rev > :first-child { order: 2; }
.split__copy { display: grid; gap: 20px; justify-items: start; }
.split__photo { aspect-ratio: 5 / 4; overflow: clip; }
.split__photo img { width: 100%; height: 112%; object-fit: cover; object-position: 50% 35%; }
.duo-photo { position: relative; padding: 0 0 18% 0; }
.duo-photo .a { width: 78%; aspect-ratio: 4 / 3; overflow: clip; }
.duo-photo .b { position: absolute; right: 0; bottom: 0; width: 48%; aspect-ratio: 4 / 5; overflow: clip; border: 6px solid var(--ground); }
.duo-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
.checks { display: grid; gap: 10px; width: 100%; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; }
.checks svg { flex: none; width: 20px; height: 20px; color: var(--electric); margin-top: 3px; }
@media (max-width: 900px) { .split { grid-template-columns: minmax(0, 1fr); } .split--rev > :first-child { order: 0; } }

.pcards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }
.pcard { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: var(--card); border: 1px solid var(--line); overflow: hidden; }
.pcard figure { overflow: clip; min-height: 280px; }
.pcard figure img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transition: transform 1100ms var(--ease-out); }
.pcard__body { padding: clamp(22px, 2.2vw, 32px); display: grid; gap: 14px; align-content: start; }
.pcard__body p { color: var(--muted); font-size: 15px; }
@media (hover: hover) { .pcard:hover figure img { transform: scale(1.05); } }
@media (max-width: 1100px) { .pcards { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .pcard { grid-template-columns: minmax(0, 1fr); } .pcard figure { min-height: 0; aspect-ratio: 16 / 10; } }

.mv { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }
.mvcard { padding: clamp(24px, 2.6vw, 40px); background: var(--card); border: 1px solid var(--line); display: grid; gap: 16px; align-content: start; }
.mvcard .lead { font-weight: 600; }
.values { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); margin-top: var(--gap); }
@media (max-width: 860px) { .mv { grid-template-columns: minmax(0, 1fr); } .values { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .values { grid-template-columns: minmax(0, 1fr); } }

.team { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: clamp(140px, 13vw, 210px); gap: var(--gap); }
.team figure { position: relative; overflow: clip; }
.team img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
.team figcaption { position: absolute; left: 12px; bottom: 12px; padding: 6px 10px; background: var(--night); color: var(--white); font-size: 13px; font-weight: 600; }
.team .t1 { grid-column: 1 / 8; grid-row: 1 / 3; }
.team .t2 { grid-column: 8 / 13; grid-row: 1 / 3; }
.team .t3 { grid-column: 1 / 5; grid-row: 3 / 5; }
.team .t4 { grid-column: 5 / 13; grid-row: 3 / 5; }
@media (max-width: 760px) { .team { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 160px; } .team figure:nth-child(n) { grid-column: auto; grid-row: span 1; } .team .t1, .team .t4 { grid-column: 1 / -1; grid-row: span 2; } }

/* services page */
.svc-row { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.svc-row--rev { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.svc-row--rev .svc-row__media { order: 2; }
.svc-row__media { position: relative; display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: auto auto; gap: var(--gap); }
.svc-row__media .main { grid-column: 1 / -1; aspect-ratio: 16 / 10; overflow: clip; }
.svc-row__media .sub { aspect-ratio: 16 / 9; overflow: clip; }
.svc-row__media .sub2 { aspect-ratio: 8 / 9; overflow: clip; grid-column: 2; grid-row: 2; }
.svc-row__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
.svc-row__media .main img { height: 112%; }
.svc-row__copy { display: grid; gap: 18px; justify-items: start; }
.lens { display: flex; flex-wrap: wrap; gap: 8px; }
.lens span { display: inline-grid; place-items: center; min-width: 76px; min-height: 48px; padding: 0 14px; background: var(--night); color: var(--white); font-family: var(--display); font-weight: 700; font-size: 26px; }
.s-night .lens span, .s-org .lens span { background: var(--electric); }
.svc-row__copy .specs { width: 100%; }
@media (max-width: 960px) { .svc-row, .svc-row--rev { grid-template-columns: minmax(0, 1fr); } .svc-row--rev .svc-row__media { order: 0; } }

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); counter-reset: s; }
.step { position: relative; padding: clamp(22px, 2.2vw, 32px); border: 1px solid var(--line); background: var(--card); display: grid; gap: 12px; align-content: start; }
.step p { color: var(--muted); font-size: 15px; }
@media (max-width: 760px) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* gallery page */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: var(--head-gap); }
.chip { min-height: 44px; padding: 0 18px; border: 1px solid var(--line); background: transparent; color: var(--ink); font-weight: 700; font-size: 14px; border-radius: 2px; cursor: pointer; transition: background-color var(--t-hover) ease, color var(--t-hover) ease, border-color var(--t-hover) ease; }
.chip span { font-family: var(--mono); font-size: 12px; color: var(--muted); margin-left: 6px; }
.chip[aria-pressed="true"] { background: var(--night); color: var(--white); border-color: var(--night); }
.chip[aria-pressed="true"] span { color: #9fc1ee; }
@media (hover: hover) { .chip:not([aria-pressed="true"]):hover { border-color: var(--electric); } }
.masonry { columns: 4; column-gap: var(--gap); }
.masonry figure { break-inside: avoid; margin-bottom: var(--gap); position: relative; }
.masonry figure[hidden] { display: none; }
.masonry button { display: block; width: 100%; padding: 0; border: 0; background: var(--steel); cursor: zoom-in; overflow: clip; position: relative; }
.masonry img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; transition: transform 1000ms var(--ease-out); }
.masonry figcaption { margin-top: 8px; font-size: 13.5px; color: var(--muted); }
@media (hover: hover) and (pointer: fine) { .masonry button:hover img { transform: scale(1.05); } }
.r-169 { aspect-ratio: 16 / 10; } .r-56 { aspect-ratio: 5 / 6; } .r-11 { aspect-ratio: 1 / 1; } .r-45 { aspect-ratio: 4 / 5; } .r-34 { aspect-ratio: 3 / 4; }
@media (max-width: 1100px) { .masonry { columns: 3; } }
@media (max-width: 760px) { .masonry { columns: 2; } }

.lightbox { position: fixed; inset: 0; z-index: 150; background: rgba(7,21,37,0); display: none; color: var(--white); }
.lightbox.is-open { display: block; }
.lightbox__img { position: absolute; left: 50%; top: 50%; max-width: calc(100vw - 2 * var(--m) - 150px); max-height: calc(100svh - 170px); width: auto; height: auto; transform: translate(-50%, -50%); object-fit: contain; }
.lightbox__bar { position: absolute; inset: auto var(--m) calc(18px + env(safe-area-inset-bottom)) var(--m); display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.lightbox__cap { font-size: 15px; }
.lightbox__count { display: block; font-family: var(--mono); font-size: 13px; color: #9fb4cd; }
.lightbox__btn { min-width: 52px; min-height: 52px; display: grid; place-items: center; background: var(--night-2); color: var(--white); border: 1px solid rgba(255,255,255,.18); border-radius: 2px; cursor: pointer; font-weight: 700; transition: background-color var(--t-hover) ease, transform var(--t-press) var(--ease-out); }
.lightbox__btn:active { transform: scale(0.95); }
@media (hover: hover) { .lightbox__btn:hover { background: var(--org); } }
.lightbox__close { position: absolute; top: calc(16px + env(safe-area-inset-top)); right: var(--m); padding: 0 18px; }
.lightbox__prev, .lightbox__next { position: absolute; top: 50%; transform: translateY(-50%); }
.lightbox__prev { left: var(--m); } .lightbox__next { right: var(--m); }
.lightbox__prev:active, .lightbox__next:active { transform: translateY(-50%) scale(0.95); }
@media (max-width: 700px) {
  .lightbox__img { max-width: calc(100vw - 2 * var(--m)); max-height: calc(100svh - 220px); }
  .lightbox__prev, .lightbox__next { top: auto; bottom: calc(80px + env(safe-area-inset-bottom)); transform: none; }
  .lightbox__prev:active, .lightbox__next:active { transform: scale(0.95); }
}

/* contact page */
.qcards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.16); }
.qcard { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 20px 22px; background: rgba(7,21,37,.8); text-decoration: none; color: var(--white); transition: background-color 320ms ease; }
.qcard .hcard__icon { width: 52px; height: 52px; }
.qcard small { display: block; font-family: var(--mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: #9fb4cd; }
.qcard strong { font-family: var(--display); font-weight: 700; font-size: 26px; line-height: 1.05; }
@media (hover: hover) { .qcard:hover { background: rgba(18,59,131,.9); } .qcard:hover .hcard__go { background: var(--electric); border-color: var(--electric); transform: translateX(4px); } }
@media (max-width: 860px) { .qcards { grid-template-columns: minmax(0, 1fr); } }

.contact { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.formcard { padding: clamp(24px, 3vw, 44px); background: var(--white); border: 1px solid var(--line); }
.formcard > * + * { margin-top: 12px; }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px var(--gap); margin-top: 28px; }
.field { display: grid; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 700; font-size: 14px; }
.field label span { color: var(--muted); font-weight: 500; }
.field input, .field select, .field textarea { width: 100%; min-height: 52px; padding: 13px 15px; background: var(--steel-2); color: var(--night); border: 1px solid var(--line); border-radius: 2px; font-size: 16px; transition: border-color var(--t-hover) ease, background-color var(--t-hover) ease; -webkit-appearance: none; appearance: none; }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%23071525' stroke-width='2.2' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 15px center; padding-right: 42px; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--electric); background: var(--white); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid rgba(55,127,219,.35); outline-offset: 1px; }
.field [aria-invalid="true"] { border-color: #c63d3d; }
.field__err { color: #b42323; font-size: 13.5px; font-weight: 600; }
.field__err:empty { display: none; }
.form__foot { grid-column: 1 / -1; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.form__status { font-weight: 600; max-width: 52ch; }
.form__status[data-state="ok"] { color: #0f6b3c; }
.form__status[data-state="error"] { color: #b42323; }
.form__note { grid-column: 1 / -1; font-size: 13.5px; color: var(--muted); }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; } /* taste-skill-ignore: visually hidden honeypot */
.btn[aria-busy="true"] { pointer-events: none; opacity: .75; }
.aside { display: grid; gap: var(--gap); }
.map { position: relative; aspect-ratio: 4 / 3; overflow: clip; border: 1px solid var(--line); background: var(--steel); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.place { aspect-ratio: 16 / 10; overflow: clip; position: relative; }
.place img, .place video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.place video { opacity: 0; transition: opacity 900ms ease; }
.place video.is-playing { opacity: 1; }
.infocard { padding: 24px; background: var(--night); color: var(--white); display: grid; gap: 14px; }
.infocard address { font-style: normal; font-size: 16px; line-height: 1.55; color: #dbe5f2; }
.infocard .btn { justify-self: start; }
@media (max-width: 960px) { .contact { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .form { grid-template-columns: minmax(0, 1fr); } }

/* ---------- motion helpers ---------- */
.reveal-line { display: block; overflow: clip; }
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-leave 200ms var(--ease-exit) both; }
::view-transition-new(root) { animation: vt-arrive 380ms var(--ease-out) 60ms both; }
@keyframes vt-leave { to { opacity: 0; } }
@keyframes vt-arrive { from { opacity: 0; transform: translateY(14px); } }
.header { view-transition-name: header; }
::view-transition-group(header) { animation-duration: 0s; }

@media (prefers-reduced-motion: no-preference) {
  .js .hero__media .hero__img { transform: scale(1.12); }
  .js [data-hero], .js [data-hero-card] { opacity: 0; }
  .js .phero__body > *, .js .phero__strip { opacity: 0; }
  .js .hero__title .line > span { transform: translateY(105%); }
}
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  .live-dot { animation: none; }
  *, *::before, *::after { transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

@media (max-width: 760px) { .hero-title { font-size: clamp(32px, 9.2vw, 48px); } }
.exp__copy p, .why__intro p, .tech__copy p, .sec-head__aside p, .trust__intro p, .split__copy p, .svc-row__copy p { max-width: 62ch; }
.clients__head { display: grid; gap: 8px; }
.why__intro, .exp__copy, .tech__copy, .trust__intro, .split__copy, .svc-row__copy, .close__copy, .hero__copy, .phero__body, .sec-head__aside, .mvcard, .step, .icard, .tcard, .pcard__body { grid-template-columns: minmax(0, 1fr); }
.why { align-items: start; }
.why__photo { aspect-ratio: 16 / 11; }
@media (max-width: 960px) { .why__photo { aspect-ratio: 16 / 9; } }
.incl { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
@media (max-width: 960px) { .incl { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .incl { grid-template-columns: minmax(0, 1fr); } }
.phero__media video { opacity: 0; transition: opacity 900ms ease; }
.phero__media video.is-playing { opacity: 1; }
.infocard .tag { color: #7fb0f0; }
.place-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }
.place-grid figure { aspect-ratio: 1 / 1; overflow: clip; }
.place-grid figure:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.place-grid img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
@media (min-width: 961px) { .formcard { position: sticky; top: 88px; } }

/* frames with a fixed ratio crop their photograph instead of growing to it */
.scard__media, .exp__photo, .why__photo, .tech__photo, .tech__inset, .split__photo, .duo-photo .a, .duo-photo .b, .svc-row__media figure, .place-grid figure, .place, .pcard figure, .masonry button, .gal-hero__media { min-height: 0; }
.scard__media img { position: absolute; inset: 0; object-position: 50% 28%; }
