/* ==========================================================================
   Sahi Security Ltd - site styles
   Brand: red #F90000 + black #000000 (from logo), white, silver accents.
   Shape rule: sharp corners everywhere (radius 0).
   Spacing scales with viewport width AND height so 15" laptops stay
   uncluttered and 17"+ / 1440p screens do not feel empty.
   ========================================================================== */

@font-face {
  font-family: 'Archivo';
  src: url('../fonts/archivo-var.woff2') format('woff2');
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}
@font-face {
  font-family: 'Manrope';
  src: url('../fonts/manrope-var.woff2') format('woff2');
  font-weight: 200 800;
  font-display: swap;
}

:root {
  /* Brand */
  --red-brand: #f90000;      /* exact logo red: bars, large accents */
  --red: #e10600;            /* UI red: buttons/text, passes AA with white */
  --red-deep: #b30500;       /* error text, hover on light */
  --ink: #0c0c0d;
  --ink-2: #141416;
  --ink-3: #1d1d20;
  --ink-line: rgb(255 255 255 / 0.12);
  --paper: #fcfcfb;
  --paper-2: #f2f2f0;
  --line: #e1e1de;
  --silver: #b8bcc2;
  --steel: #5b5f66;          /* muted text on light, 6.3:1 */
  --mist: #c6c9ce;           /* muted text on ink, 11:1 */
  --text: #121214;

  /* Type */
  --f-display: 'Archivo', 'Arial Narrow', Arial, sans-serif;
  --f-body: 'Manrope', 'Segoe UI', Arial, sans-serif;

  /* Layout */
  --gutter: clamp(1rem, 4vw, 3rem);
  --maxw: 84rem;
  --header-h: clamp(64px, 4.5rem, 80px);
  --section-y: clamp(3.5rem, 6vh + 2.5vw, 8.5rem);
  --ease: cubic-bezier(0.19, 1, 0.22, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

/* Fluid root: 16px on laptops, ~18px at 1080p, 20px at 1440p+ */
html {
  font-size: clamp(16px, calc(9.5px + 0.45vw), 20px);
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--f-body);
  font-size: 1rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
::selection { background: var(--red-brand); color: #fff; }

:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.section--ink :focus-visible, .hero :focus-visible, .page-hero :focus-visible,
.site-footer :focus-visible, .cta-band :focus-visible, .contact__panel :focus-visible,
.mobile-menu :focus-visible, .lightbox :focus-visible { outline-color: #fff; }

.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;
}
.skip-link {
  position: fixed; left: 1rem; top: -4rem; z-index: 100;
  background: var(--ink); color: #fff; padding: .75rem 1rem; font-weight: 700;
  transition: top .2s;
}
.skip-link:focus { top: 1rem; }

.container { width: min(100% - 2 * var(--gutter), var(--maxw)); margin-inline: auto; }
.section { padding-block: var(--section-y); }
.section--alt { background: var(--paper-2); }
.section--ink { background: var(--ink); color: #fff; }

/* ---------- Type ---------- */
.display {
  font-family: var(--f-display);
  font-stretch: 72%;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 0.93;
  letter-spacing: -0.005em;
}
.h2 {
  font-family: var(--f-display);
  font-stretch: 74%;
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(2.3rem, 1.3rem + 2.9vw, 4.6rem);
  line-height: .95;
  letter-spacing: -0.004em;
  text-wrap: balance;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: .8rem;
  margin-bottom: clamp(.9rem, 2.2vh, 1.35rem);
  font-weight: 800; font-size: .78rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--red);
}
.eyebrow__line { display: block; width: 2.75rem; height: 2px; background: var(--red-brand); transform-origin: left; transition: transform 1.1s var(--ease) .15s; }
.eyebrow--light { color: var(--mist); }
.cta-band .eyebrow { color: #fff; }
.cta-band .eyebrow__line { background: #fff; }
.cta-band .accent { color: var(--ink); }
.accent { color: var(--red-brand); }
.prose p { max-width: 64ch; font-size: 1.06rem; }
.prose p + p { margin-top: 1.1rem; }
.prose a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-weight: 700; font-size: .98rem;
  padding-bottom: .3rem;
  background: linear-gradient(var(--red-brand), var(--red-brand)) left bottom / 100% 2px no-repeat;
  transition: background-size .5s var(--ease), color .3s;
}
.link-arrow .i { width: 1.1em; height: 1.1em; transition: transform .45s var(--ease); }
.link-arrow--light { color: #fff; }
@media (hover: hover) {
  .link-arrow:hover .i { transform: translateX(5px); }
  .link-arrow:hover { background-size: 40% 2px; }
}
.link-arrow.is-pressed .i { transform: translateX(5px); }

.i { width: 1.25em; height: 1.25em; flex: none; }
.flip { transform: scaleX(-1); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--red);
  --btn-fg: #fff;
  --btn-fill: var(--ink);
  --btn-fill-fg: #fff;
  --btn-border: var(--btn-bg);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: .75rem;
  min-height: 48px;
  padding: .95rem 1.45rem;
  border: 1.5px solid var(--btn-border);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--f-body);
  font-weight: 700;
  font-size: .95rem;
  line-height: 1;
  letter-spacing: .01em;
  white-space: nowrap;
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  transition: color .45s var(--ease), border-color .45s var(--ease), transform .2s var(--ease);
}
.btn::before {
  content: '';
  position: absolute; inset: -1px; z-index: -1;
  background: var(--btn-fill);
  transform: scaleY(0);
  transform-origin: 50% 100%;
  transition: transform .55s var(--ease);
}
.btn__icon {
  position: relative; display: inline-block; width: 1.15em; height: 1.15em; overflow: hidden; flex: none;
}
.btn__icon .i { position: absolute; inset: 0; width: 100%; height: 100%; transition: transform .55s var(--ease); }
.btn__icon .i + .i { transform: translate(-110%, 110%); }
.btn__icon--x .i + .i { transform: translateX(-110%); }

.btn.is-pressed, .btn:focus-visible { color: var(--btn-fill-fg); border-color: var(--btn-fill); }
.btn.is-pressed::before, .btn:focus-visible::before { transform: scaleY(1); }
.btn.is-pressed .btn__icon .i:first-child, .btn:focus-visible .btn__icon .i:first-child { transform: translate(110%, -110%); }
.btn.is-pressed .btn__icon--x .i:first-child, .btn:focus-visible .btn__icon--x .i:first-child { transform: translateX(110%); }
.btn.is-pressed .btn__icon .i + .i, .btn:focus-visible .btn__icon .i + .i { transform: none; }
@media (hover: hover) {
  .btn:hover { color: var(--btn-fill-fg); border-color: var(--btn-fill); }
  .btn:hover::before { transform: scaleY(1); }
  .btn:hover .btn__icon .i:first-child { transform: translate(110%, -110%); }
  .btn:hover .btn__icon--x .i:first-child { transform: translateX(110%); }
  .btn:hover .btn__icon .i + .i { transform: none; }
}
.btn:active { transform: scale(.975); }

.btn--lg { min-height: 54px; padding: 1.1rem 1.75rem; font-size: 1rem; }
.btn--sm { min-height: 44px; padding: .7rem 1.1rem; font-size: .88rem; gap: .6rem; }
.btn--ghost { --btn-bg: transparent; --btn-fg: #fff; --btn-border: rgb(255 255 255 / .4); --btn-fill: #fff; --btn-fill-fg: var(--ink); }
.btn--outline { --btn-bg: transparent; --btn-fg: var(--ink); --btn-border: var(--ink); --btn-fill: var(--ink); --btn-fill-fg: #fff; }
.btn--light { --btn-bg: #fff; --btn-fg: var(--ink); --btn-border: #fff; --btn-fill: var(--red); --btn-fill-fg: #fff; }
.btn--ink { --btn-bg: var(--ink); --btn-fg: #fff; --btn-border: var(--ink); --btn-fill: #fff; --btn-fill-fg: var(--ink); }
.btn[disabled] { cursor: progress; }

.icon-btn {
  display: inline-grid; place-items: center;
  width: 3rem; height: 3rem; min-width: 44px; min-height: 44px;
  border: 1.5px solid rgb(255 255 255 / .35); background: transparent; color: #fff;
  transition: background-color .35s var(--ease), border-color .35s var(--ease), transform .2s;
  -webkit-tap-highlight-color: transparent;
}
.icon-btn .i { width: 1.2rem; height: 1.2rem; }
.icon-btn.is-pressed { background: var(--red); border-color: var(--red); }
@media (hover: hover) { .icon-btn:hover { background: var(--red); border-color: var(--red); } }
.icon-btn:active { transform: scale(.94); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgb(252 252 251 / .94);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 10px 30px -22px rgb(12 12 13 / .35); }
.site-header__inner {
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
}
.brand { display: block; flex: none; }
.brand img { height: clamp(40px, 2.9rem, 54px); width: auto; }
.primary-nav ul { display: flex; gap: clamp(1.1rem, 2.2vw, 2.4rem); }
.primary-nav a {
  position: relative; display: block; padding: .5rem 0;
  font-weight: 650; font-size: .94rem; color: var(--text);
  transition: color .25s;
}
.primary-nav a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: .1rem; height: 2px;
  background: var(--red-brand); transform: scaleX(0); transform-origin: right;
  transition: transform .45s var(--ease);
}
.primary-nav a[aria-current="page"]::after { transform: scaleX(1); }
@media (hover: hover) {
  .primary-nav a:hover { color: var(--red); }
  .primary-nav a:hover::after { transform: scaleX(1); transform-origin: left; }
}
.site-header__actions { display: flex; align-items: center; gap: 1.25rem; }
.header-phone {
  display: inline-flex; align-items: center; gap: .5rem;
  font-weight: 700; font-size: .94rem; white-space: nowrap;
  transition: color .25s;
}
.header-phone .i { color: var(--red); }
@media (hover: hover) { .header-phone:hover { color: var(--red); } }

.menu-toggle {
  display: none;
  width: 48px; height: 48px; border: 1.5px solid var(--ink); background: transparent;
  place-items: center; -webkit-tap-highlight-color: transparent;
}
.menu-toggle__bars { position: relative; width: 20px; height: 10px; display: block; }
.menu-toggle__bars span {
  position: absolute; left: 0; right: 0; height: 2px; background: var(--ink);
  transition: transform .45s var(--ease), top .45s var(--ease);
}
.menu-toggle__bars span:first-child { top: 0; }
.menu-toggle__bars span:last-child { top: 8px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:first-child { top: 4px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:last-child { top: 4px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 49;
  background: var(--ink); color: #fff;
  overflow-y: auto;
  opacity: 0; visibility: hidden;
  transition: opacity .4s var(--ease), visibility 0s .4s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; transition: opacity .4s var(--ease); }
.mobile-menu__inner { padding-block: 2rem 3rem; min-height: 100%; display: flex; flex-direction: column; justify-content: space-between; gap: 2.5rem; }
.mobile-menu__links li {
  border-bottom: 1px solid var(--ink-line);
  opacity: 0; transform: translateY(18px);
  transition: opacity .5s var(--ease), transform .6s var(--ease);
  transition-delay: calc(var(--i) * 55ms + 80ms);
}
.mobile-menu.is-open .mobile-menu__links li { opacity: 1; transform: none; }
.mobile-menu__links a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.05rem 0;
  font-family: var(--f-display); font-stretch: 75%; font-weight: 800; text-transform: uppercase;
  font-size: clamp(2rem, 9vw, 3rem); line-height: 1;
  -webkit-tap-highlight-color: transparent;
}
.mobile-menu__links a .i { width: 1.6rem; height: 1.6rem; color: var(--red-brand); transition: transform .4s var(--ease); }
.mobile-menu__links a[aria-current="page"] span { color: var(--red-brand); }
.mobile-menu__links a.is-pressed .i { transform: translateX(6px); }
.mobile-menu__contact { display: grid; gap: .9rem; color: var(--mist); }
.mobile-menu__contact a { display: inline-flex; align-items: center; gap: .7rem; font-weight: 600; }
.mobile-menu__contact .i { color: var(--red-brand); }
body.menu-open { overflow: hidden; }

/* ---------- Split grid helper (aligns half-bleed layouts to the container) ---------- */
.hero, .page-hero, .contact {
  --c: min(100% - 2 * var(--gutter), var(--maxw));
  display: grid;
  grid-template-columns:
    [full-start] minmax(var(--gutter), 1fr)
    [content-start] calc(var(--c) * var(--split, .54))
    [mid] calc(var(--c) * (1 - var(--split, .54)))
    [content-end] minmax(var(--gutter), 1fr) [full-end];
}

/* ---------- Home hero ---------- */
.hero {
  --split: .58;
  background: var(--ink); color: #fff;
  min-height: max(34rem, calc(100svh - var(--header-h)));
}
.hero__copy {
  grid-column: content-start / mid;
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(2.5rem, 7vh, 6rem) clamp(1.5rem, 4vw, 4.5rem) clamp(2.5rem, 7vh, 6rem) 0;
}
.hero__brand { display: grid; gap: .35rem; padding-left: 1.1rem; border-left: 3px solid var(--red-brand); }
.hero__brand-name { font-weight: 800; font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; color: var(--mist); }
.hero__brand-tag { font-family: var(--f-display); font-stretch: 90%; font-weight: 600; font-size: clamp(1rem, .9rem + .3vw, 1.2rem); color: #fff; }
.hero__title {
  font-size: clamp(2.75rem, min(5.6vw, 10.2vh), 8rem);
  margin: clamp(1.25rem, 3.5vh, 2.25rem) 0 clamp(1rem, 2.5vh, 1.5rem);
  max-width: 22ch;
  text-wrap: balance;
}
.hero__lead { max-width: 40ch; font-size: clamp(1.02rem, .95rem + .3vw, 1.2rem); color: var(--mist); }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: clamp(1.5rem, 4vh, 2.5rem); }
.hero__media { grid-column: mid / full-end; position: relative; overflow: hidden; background: var(--ink-3); }
.hero__media::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: .45rem; z-index: 2;
  background: var(--red-brand);
}
.hero__media::after {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(to top, rgb(12 12 13 / .45), transparent 35%);
}
.hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* Load choreography (CSS only, no JS needed) */
@media (prefers-reduced-motion: no-preference) {
  [data-hero-item] { animation: rise .95s var(--ease) both; }
  [data-hero-item]:nth-child(2) { animation-delay: .08s; }
  [data-hero-item]:nth-child(3) { animation-delay: .16s; }
  [data-hero-item]:nth-child(4) { animation-delay: .24s; }
  [data-hero-item]:nth-child(5) { animation-delay: .32s; }
  .hero__media, .page-hero__media { animation: unveil 1.25s var(--ease-in-out) .05s both; }
  .hero__media img, .page-hero__media img { animation: settle 1.8s var(--ease) .05s both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes unveil { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes settle { from { transform: scale(1.12); } to { transform: none; } }

/* ---------- Sector marquee ---------- */
.sector-band { background: var(--ink-2); color: #e4e6e9; border-top: 1px solid var(--ink-line); overflow: hidden; }
.marquee { display: flex; padding-block: 1.05rem; }
.marquee__track { display: flex; flex: none; gap: 2.75rem; padding-right: 2.75rem; }
.marquee__track li {
  display: inline-flex; align-items: center; gap: .75rem; white-space: nowrap;
  font-family: var(--f-display); font-stretch: 85%; font-weight: 700; font-size: 1rem;
  letter-spacing: .07em; text-transform: uppercase;
}
.marquee__track .i { color: var(--red-brand); width: 1.1rem; height: 1.1rem; }
@media (prefers-reduced-motion: no-preference) {
  .marquee__track { animation: marquee 42s linear infinite; }
  .marquee:hover .marquee__track { animation-play-state: paused; }
}
@media (prefers-reduced-motion: reduce) { .marquee { overflow-x: auto; } }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Intro ---------- */
.intro__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 2rem; align-items: end; }
.intro__copy { grid-column: 1 / 9; }
.statement {
  font-family: var(--f-display); font-stretch: 92%; font-weight: 500;
  font-size: clamp(1.55rem, 1rem + 1.9vw, 2.85rem);
  line-height: 1.17; letter-spacing: -0.017em;
  margin-bottom: 2rem;
  text-wrap: pretty;
}
.statement em { font-style: normal; color: var(--text); font-weight: 650; background: linear-gradient(transparent 86%, rgb(249 0 0 / .55) 86%, rgb(249 0 0 / .55) 96%, transparent 96%); }
.intro__media { grid-column: 10 / 13; aspect-ratio: 4 / 5; overflow: hidden; background: var(--paper-2); }
.intro__media img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Section head ---------- */
.section-head { max-width: 48rem; margin-bottom: clamp(2rem, 5vh, 3.5rem); }
.section-head__text { margin-top: 1rem; color: var(--steel); font-size: 1.06rem; max-width: 56ch; }

/* ---------- Services showcase (home) ---------- */
.showcase-head { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 1.5rem 3rem; align-items: end; margin-bottom: clamp(2.5rem, 6vh, 4rem); }
.showcase-head .h2 { max-width: 13ch; }
.showcase-head__text { color: var(--mist); max-width: 44ch; font-size: 1.06rem; justify-self: end; }
.showcase { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 5vw, 5.5rem); align-items: start; }
.showcase__list { border-top: 1px solid var(--ink-line); }
.showcase__item { position: relative; border-bottom: 1px solid var(--ink-line); }
.showcase__item::before {
  content: ''; position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: var(--red-brand);
  transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease);
}
.showcase__item.is-active::before { transform: scaleX(1); }
.showcase__link {
  display: grid; grid-template-columns: 3.25rem 1fr auto; align-items: center; gap: 1rem;
  padding-block: clamp(.95rem, 2.3vh, 1.45rem);
  color: rgb(255 255 255 / .42);
  -webkit-tap-highlight-color: transparent;
  transition: color .4s var(--ease);
}
.showcase__num { font-family: var(--f-display); font-stretch: 80%; font-weight: 700; font-size: .95rem; letter-spacing: .06em; color: var(--red-brand); }
.showcase__title {
  font-family: var(--f-display); font-stretch: 76%; font-weight: 800; text-transform: uppercase;
  font-size: clamp(1.55rem, .95rem + 1.85vw, 2.85rem); line-height: 1;
  transition: transform .6s var(--ease);
}
.showcase__arrow {
  display: grid; place-items: center; width: 2.75rem; height: 2.75rem;
  border: 1.5px solid var(--ink-line); color: #fff;
  transition: background-color .4s var(--ease), border-color .4s var(--ease);
}
.showcase__arrow .i { width: 1.1rem; height: 1.1rem; transition: transform .5s var(--ease); }
.showcase__item.is-active .showcase__link { color: #fff; }
.showcase__item.is-active .showcase__title { transform: translateX(.45rem); }
.showcase__item.is-active .showcase__arrow, .showcase__link.is-pressed .showcase__arrow { background: var(--red); border-color: var(--red); }
.showcase__item.is-active .showcase__arrow .i { transform: rotate(45deg); }
@media (hover: hover) { .showcase__link:hover { color: #fff; } }
.showcase__detail { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .65s var(--ease); }
.showcase__item.is-active .showcase__detail { grid-template-rows: 1fr; }
.showcase__detail-inner { overflow: hidden; min-height: 0; padding-left: 4.25rem; }
.showcase__detail p { color: var(--mist); max-width: 54ch; margin-bottom: 1rem; }
.showcase__detail .link-arrow { margin-bottom: 1.5rem; }
.showcase__inline { display: none; }
.showcase__preview { position: sticky; top: calc(var(--header-h) + 2rem); isolation: isolate; }
.showcase__preview::before {
  content: ''; position: absolute; z-index: -1; inset: 1.25rem -1.25rem -1.25rem 1.25rem;
  border: 2px solid var(--red-brand);
}
.showcase__frame { position: relative; aspect-ratio: 4 / 5; max-height: calc(100svh - var(--header-h) - 5rem); width: 100%; overflow: hidden; background: var(--ink-3); }
.showcase__slide { position: absolute; inset: 0; opacity: 0; transform: scale(1.07); transition: opacity .7s var(--ease), transform 1.3s var(--ease); }
.showcase__slide.is-active { opacity: 1; transform: none; }
.showcase__slide img { width: 100%; height: 100%; object-fit: cover; }
.showcase__panel {
  width: 100%; height: 100%; display: grid; place-content: center; justify-items: center; gap: 1.25rem; text-align: center;
  background: repeating-linear-gradient(135deg, var(--ink-3) 0 22px, #19191c 22px 44px); color: #fff; padding: 1.5rem;
}
.showcase__panel .i { width: clamp(5rem, 8vw, 8rem); height: clamp(5rem, 8vw, 8rem); color: var(--red-brand); }
.showcase__panel span { font-family: var(--f-display); font-stretch: 76%; font-weight: 800; text-transform: uppercase; font-size: clamp(1.4rem, 1rem + 1vw, 2rem); line-height: 1; }
.showcase-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem 2rem; margin-top: clamp(2rem, 5vh, 3.25rem); }
.showcase-foot p { color: var(--mist); max-width: 56ch; }

/* ---------- Why ---------- */
.why__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 2rem; }
.why__aside { grid-column: 1 / 6; }
.why__sticky { position: sticky; top: calc(var(--header-h) + 2rem); }
.why__lead { margin-top: 1.1rem; color: var(--steel); font-size: 1.06rem; max-width: 46ch; }
.why__media { margin-top: clamp(1.5rem, 4vh, 2.25rem); aspect-ratio: 5 / 4; max-height: 44vh; width: 100%; overflow: hidden; background: var(--paper-2); }
.why__media img { width: 100%; height: 100%; object-fit: cover; }
.reasons { grid-column: 7 / 13; border-top: 2px solid var(--ink); }
.reason {
  display: grid; grid-template-columns: 3.25rem 1fr; gap: 1.35rem;
  padding-block: clamp(1.4rem, 3.4vh, 2.1rem);
  border-bottom: 1px solid var(--line);
}
.reason__icon { display: grid; place-items: center; width: 3.25rem; height: 3.25rem; border: 1px solid var(--line); color: var(--red); background: #fff; }
.reason__icon .i { width: 1.5rem; height: 1.5rem; }
.reason__title {
  font-family: var(--f-display); font-stretch: 88%; font-weight: 720;
  font-size: clamp(1.2rem, 1rem + .5vw, 1.5rem); line-height: 1.15; margin-bottom: .45rem;
}
.reason p { color: var(--steel); max-width: 52ch; }

/* ---------- Work strip (home) ---------- */
.work-strip { overflow: hidden; }
.work-strip__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.5rem; margin-bottom: clamp(1.75rem, 4.5vh, 3rem); }
.work-strip__controls { display: flex; align-items: center; gap: .6rem; }
.work-strip__controls .btn { margin-left: .6rem; }
.strip {
  --pad: max(var(--gutter), calc((100% - var(--maxw)) / 2));
  display: flex; gap: clamp(.75rem, 1.2vw, 1.25rem);
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding-inline: var(--pad);
  padding-inline: var(--pad);
  scrollbar-width: none;
  cursor: grab;
}
.strip::-webkit-scrollbar { display: none; }
.strip.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.strip.is-dragging img { pointer-events: none; }
.strip__item {
  flex: none; height: clamp(18rem, 50vh, 34rem); aspect-ratio: 3 / 4;
  scroll-snap-align: start; overflow: hidden; background: var(--ink-3);
}
.strip__item img { width: 100%; height: 100%; object-fit: cover; user-select: none; -webkit-user-drag: none; transition: transform 1s var(--ease); }
@media (hover: hover) { .strip__item:hover img { transform: scale(1.04); } }

/* ---------- CTA band ---------- */
.cta-band { background: var(--red); color: #fff; padding-block: var(--section-y); position: relative; overflow: hidden; }
.cta-band::before {
  content: ''; position: absolute; top: 0; bottom: 0; right: -8%; width: 38%;
  background: rgb(0 0 0 / .08); transform: skewX(-14deg); pointer-events: none;
}
.cta-band__grid { position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 2rem; align-items: end; }
.cta-band__copy { grid-column: 1 / 7; }
.cta-band__title {
  font-family: var(--f-display); font-stretch: 74%; font-weight: 800; text-transform: uppercase;
  font-size: clamp(2.2rem, 1.3rem + 2.7vw, 4.1rem); line-height: .98; letter-spacing: -0.01em;
  text-wrap: balance;
}
.cta-band__copy p { margin-top: 1.25rem; max-width: 46ch; color: rgb(255 255 255 / .92); font-size: 1.04rem; }
.cta-band__actions { grid-column: 8 / 13; }
.cta-band__line {
  display: grid; grid-template-columns: 4.25rem 1fr auto; align-items: center; gap: .75rem;
  padding-block: 1.05rem; border-bottom: 1px solid rgb(255 255 255 / .38);
  -webkit-tap-highlight-color: transparent;
}
.cta-band__line:first-child { border-top: 1px solid rgb(255 255 255 / .38); }
.cta-band__label { font-size: .75rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; opacity: .85; }
.cta-band__value {
  font-family: var(--f-display); font-stretch: 90%; font-weight: 700;
  font-size: clamp(1.2rem, .95rem + .85vw, 1.85rem); line-height: 1.1; overflow-wrap: anywhere;
  transition: transform .5s var(--ease);
}
.cta-band__line .i { width: 1.4rem; height: 1.4rem; transition: transform .5s var(--ease); }
.cta-band__line.is-pressed .cta-band__value { transform: translateX(.4rem); }
.cta-band__line.is-pressed .i { transform: rotate(45deg); }
@media (hover: hover) {
  .cta-band__line:hover .cta-band__value { transform: translateX(.4rem); }
  .cta-band__line:hover .i { transform: rotate(45deg); }
}
.cta-band .btn { margin-top: 1.75rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--mist); padding-top: var(--section-y); overflow: hidden; }
.site-footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1.25fr 1fr; gap: 2.5rem; }
.footer-logo { display: inline-block; background: #fff; padding: .7rem .95rem; }
.footer-logo img { height: 3.1rem; width: auto; }
.site-footer__name { margin-top: 1.4rem; color: #fff; font-weight: 800; font-size: 1.05rem; }
.site-footer__tag { font-family: var(--f-display); font-stretch: 90%; font-weight: 600; color: var(--red-brand); }
.site-footer__note { margin-top: .9rem; font-size: .92rem; max-width: 36ch; }
.site-footer__h { font-size: .75rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--silver); margin-bottom: 1.1rem; }
.site-footer__col li + li { margin-top: .6rem; }
.site-footer__col a { transition: color .25s; }
.site-footer__col a:not(.link-arrow) { display: inline-flex; align-items: center; gap: .6rem; overflow-wrap: anywhere; }
.site-footer__contact .i { color: var(--red-brand); }
.site-footer__col p { margin-bottom: 1.2rem; font-size: .95rem; }
@media (hover: hover) { .site-footer__col a:not(.link-arrow):hover { color: #fff; } }
.site-footer__word {
  margin-top: clamp(3rem, 8vh, 5rem);
  font-family: var(--f-display); font-stretch: 62%; font-weight: 900;
  font-size: 17.5vw; line-height: .78; letter-spacing: -0.01em;
  text-align: center; white-space: nowrap; color: #1a1a1d;
  user-select: none; margin-bottom: -1.5vw;
}
.site-footer__bottom {
  position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem;
  padding-block: 1.4rem; border-top: 1px solid var(--ink-line); font-size: .86rem;
}
.site-footer__bottom ul { display: flex; gap: 1.5rem; }
.site-footer__bottom a { transition: color .25s; }
@media (hover: hover) { .site-footer__bottom a:hover { color: #fff; } }

/* ---------- Inner page hero ---------- */
.page-hero {
  --split: .58;
  background: var(--ink); color: #fff;
  min-height: clamp(22rem, 54vh, 38rem);
  position: relative;
}
.page-hero__copy {
  grid-column: content-start / mid;
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(2.5rem, 8vh, 6rem) clamp(1.5rem, 4vw, 4.5rem) clamp(2.5rem, 8vh, 6rem) 0;
}
.page-hero--text { min-height: 0; }
.page-hero--text .page-hero__copy { grid-column: content-start / content-end; padding-right: 0; }
.page-hero--text::after {
  content: ''; position: absolute; left: 0; bottom: 0; height: .4rem; width: clamp(6rem, 22vw, 18rem);
  background: var(--red-brand);
}
.page-hero__title { font-size: clamp(2.6rem, min(5.4vw, 10vh), 7rem); margin: 1.1rem 0 1.1rem; max-width: 14ch; }
.page-hero__lead { max-width: 46ch; color: var(--mist); font-size: clamp(1.02rem, .95rem + .3vw, 1.2rem); }
.page-hero__media { grid-column: mid / full-end; position: relative; overflow: hidden; background: var(--ink-3); }
.page-hero__media::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: .45rem; background: var(--red-brand); z-index: 1; }
.page-hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.crumbs { display: flex; align-items: center; gap: .5rem; font-size: .85rem; font-weight: 600; color: var(--silver); }
.crumbs a { transition: color .25s; }
.crumbs a:hover { color: #fff; }
.crumbs [aria-current] { color: #fff; }
.crumbs__sep { width: .85rem; height: .85rem; transform: rotate(-90deg); color: var(--red-brand); }

/* ---------- About ---------- */
.overview__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 2rem; align-items: center; }
.overview__copy { grid-column: 1 / 7; }
.overview__copy .h2 { max-width: 14ch; margin-bottom: 1.6rem; }
.overview__copy .btn { margin-top: 2rem; }
.overview__visual { grid-column: 8 / 13; position: relative; padding-bottom: 3.5rem; }
.overview__media { aspect-ratio: 4 / 5; max-height: 76vh; margin-left: 14%; overflow: hidden; background: var(--paper-2); }
.overview__media img { width: 100%; height: 100%; object-fit: cover; }
.stat-pair { position: absolute; left: 0; bottom: 0; width: 80%; display: grid; grid-template-columns: 1fr 1fr; box-shadow: 0 30px 60px -30px rgb(12 12 13 / .5); }
.stat { padding: clamp(1.1rem, 1.8vw, 1.6rem); color: #fff; }
.stat--red { background: var(--red); }
.stat--ink { background: var(--ink); }
.stat__value { font-family: var(--f-display); font-stretch: 70%; font-weight: 900; font-size: clamp(2.8rem, 1.8rem + 2.6vw, 4.6rem); line-height: .9; }
.stat dd { margin-top: .55rem; font-size: .84rem; line-height: 1.45; color: rgb(255 255 255 / .88); }

.approach__head { max-width: 44rem; margin-bottom: clamp(2.25rem, 5.5vh, 3.75rem); }
.approach__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--ink-line); border: 1px solid var(--ink-line); }
.principle {
  position: relative; overflow: hidden; background: var(--ink);
  display: flex; flex-direction: column;
  min-height: clamp(16rem, 36vh, 22rem); padding: clamp(1.5rem, 2.4vw, 2.4rem);
  transition: background-color .5s var(--ease);
}
.principle::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--red-brand);
  transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease);
}
.principle__num {
  position: absolute; top: .6rem; right: 1rem;
  font-family: var(--f-display); font-stretch: 70%; font-weight: 900; line-height: 1;
  font-size: clamp(3.5rem, 2.4rem + 3vw, 6rem);
  color: transparent; -webkit-text-stroke: 1px rgb(255 255 255 / .2);
  transition: -webkit-text-stroke-color .5s;
}
.principle__icon { display: grid; place-items: center; width: 3.25rem; height: 3.25rem; background: var(--red); color: #fff; margin-bottom: auto; }
.principle__icon .i { width: 1.5rem; height: 1.5rem; }
.principle__title { font-family: var(--f-display); font-stretch: 80%; font-weight: 800; text-transform: uppercase; font-size: clamp(1.35rem, 1.1rem + .6vw, 1.7rem); line-height: 1; margin: 2.5rem 0 .6rem; }
.principle p { color: var(--mist); font-size: .95rem; }
.principle.is-pressed { background: var(--ink-2); }
.principle.is-pressed::after { transform: scaleX(1); }
@media (hover: hover) {
  .principle:hover { background: var(--ink-2); }
  .principle:hover::after { transform: scaleX(1); }
  .principle:hover .principle__num { -webkit-text-stroke-color: var(--red-brand); }
}

.process__head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 1.5rem 3rem; align-items: end; margin-bottom: clamp(2.5rem, 6vh, 4rem); }
.process__head .h2 { max-width: 14ch; }
.process__lead { color: var(--steel); font-size: 1.06rem; max-width: 48ch; justify-self: end; }
.track { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 2rem); }
.track::before, .track::after { content: ''; position: absolute; left: 0; right: 0; top: 1.75rem; height: 2px; background: var(--line); }
.track::after { background: var(--red-brand); transform-origin: left; transition: transform 1.8s var(--ease-in-out) .2s; }
.track__step { position: relative; }
.track__num {
  position: relative; z-index: 1; display: grid; place-items: center; width: 3.5rem; height: 3.5rem;
  background: var(--red); color: #fff;
  font-family: var(--f-display); font-stretch: 80%; font-weight: 800; font-size: 1.1rem;
  transition: background-color .5s var(--ease); transition-delay: calc(var(--i) * .32s + .35s);
}
.track__title { font-family: var(--f-display); font-stretch: 80%; font-weight: 800; text-transform: uppercase; font-size: clamp(1.35rem, 1.1rem + .6vw, 1.7rem); line-height: 1; margin: 1.4rem 0 .55rem; }
.track__step p { color: var(--steel); font-size: .95rem; }

.focus { position: relative; isolation: isolate; color: #fff; padding-block: calc(var(--section-y) * 1.25); overflow: hidden; }
.focus__media { position: absolute; inset: 0; z-index: -2; }
.focus__media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.35) contrast(1.05); }
.focus::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgb(12 12 13 / .95) 0%, rgb(12 12 13 / .84) 50%, rgb(12 12 13 / .62) 100%);
}
.focus__title { font-size: clamp(3rem, 1.6rem + 5vw, 7.4rem); line-height: .9; }
.focus__title span { display: block; }
.focus__outline { color: transparent; -webkit-text-stroke: 2px #fff; }
.focus__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 3rem); margin-top: clamp(2.25rem, 6vh, 4rem); }
.focus__cols div { border-top: 3px solid var(--red-brand); padding-top: 1.2rem; }
.focus__cols h3 { display: flex; align-items: center; gap: .65rem; font-family: var(--f-display); font-stretch: 80%; font-weight: 800; text-transform: uppercase; font-size: 1.45rem; margin-bottom: .45rem; }
.focus__cols h3 .i { color: var(--red-brand); width: 1.4rem; height: 1.4rem; }
.focus__cols p { color: var(--mist); max-width: 40ch; }

.sectors__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.5rem; margin-bottom: clamp(2rem, 5vh, 3.25rem); }
.sectors__head .h2 { max-width: 14ch; }
.sectors__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.sector {
  display: flex; align-items: center; gap: 1.1rem; background: #fff;
  padding: clamp(1.3rem, 3vh, 1.9rem) clamp(1.1rem, 1.8vw, 1.6rem);
  font-family: var(--f-display); font-stretch: 86%; font-weight: 700; font-size: clamp(1.1rem, 1rem + .35vw, 1.3rem); line-height: 1.15;
}
.sector__icon { flex: none; display: grid; place-items: center; width: 3.25rem; height: 3.25rem; border: 1.5px solid var(--line); color: var(--red); transition: background-color .4s var(--ease), color .4s, border-color .4s; }
.sector__icon .i { width: 1.5rem; height: 1.5rem; }
@media (hover: hover) { .sector:hover .sector__icon { background: var(--red); border-color: var(--red); color: #fff; } }

/* ---------- Services page ---------- */
.svc-layout__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(1.5rem, 3vw, 3rem); }
.svc-index { grid-column: 1 / 4; }
.svc-index__inner { position: sticky; top: calc(var(--header-h) + 1.5rem); max-height: calc(100svh - var(--header-h) - 3rem); overflow-y: auto; padding-right: .5rem; scrollbar-width: thin; }
.svc-index__label { font-size: .75rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--steel); padding-bottom: .9rem; border-bottom: 2px solid var(--ink); }
.svc-index__gtitle { display: block; margin: 1.1rem 0 .35rem; font-weight: 800; font-size: .82rem; color: var(--text); }
.svc-index a {
  display: block; padding: .3rem 0 .3rem .9rem; border-left: 2px solid var(--line);
  font-size: .9rem; color: var(--steel); line-height: 1.35;
  transition: color .25s, border-color .25s;
}
.svc-index a.is-active { border-left-color: var(--red-brand); color: var(--text); font-weight: 700; }
@media (hover: hover) { .svc-index a:hover { color: var(--text); } }
.svc-chips { display: none; }
.svc-main { grid-column: 4 / 13; }

.svc-group + .svc-group { margin-top: clamp(3.5rem, 9vh, 6.5rem); }
.svc-group__head { padding-bottom: 1.4rem; margin-bottom: clamp(1.75rem, 4vh, 2.5rem); border-bottom: 2px solid var(--ink); }
.svc-group__head p { margin-top: .7rem; color: var(--steel); max-width: 56ch; }
.svc { scroll-margin-top: calc(var(--header-h) + 1.5rem); }
.svc__title {
  font-family: var(--f-display); font-stretch: 86%; font-weight: 750;
  font-size: clamp(1.4rem, 1.1rem + .8vw, 2rem); line-height: 1.08; letter-spacing: -0.012em;
  margin: 0 0 .7rem;
}
.svc p { color: var(--steel); max-width: 60ch; }
.svc__icon { display: inline-grid; place-items: center; width: 2.9rem; height: 2.9rem; background: var(--red); color: #fff; margin-bottom: 1.1rem; }
.svc__icon .i { width: 1.45rem; height: 1.45rem; }
.svc__media { overflow: hidden; background: var(--paper-2); }
.svc__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.tags { display: flex; flex-wrap: wrap; gap: .4rem; margin: 1.1rem 0 1.4rem; }
.tags li { font-size: .78rem; font-weight: 650; padding: .35rem .65rem; border: 1px solid var(--line); color: var(--steel); background: #fff; }

.svc--feature { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(1.5rem, 3vw, 3rem); align-items: center; margin-bottom: clamp(2rem, 5vh, 3rem); }
.svc--feature .svc__media { aspect-ratio: 4 / 4.7; max-height: 74vh; }
.svc--flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.svc--flip .svc__media { order: 2; }
.svc-card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.25rem, 2.5vw, 2.25rem); margin-bottom: clamp(2rem, 5vh, 3rem); }
.svc--card .svc__media { aspect-ratio: 16 / 11; margin-bottom: 1.4rem; }
.svc-compact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(.75rem, 1.4vw, 1.25rem); }
.svc-compact-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.svc--compact { background: var(--paper-2); border-top: 3px solid var(--red-brand); padding: clamp(1.4rem, 2.2vw, 2rem); display: flex; flex-direction: column; }
.svc--compact .svc__icon { background: transparent; color: var(--red); width: auto; height: auto; justify-content: start; margin-bottom: 1rem; }
.svc--compact .svc__icon .i { width: 2rem; height: 2rem; }
.svc--compact .svc__title { font-size: clamp(1.25rem, 1.05rem + .5vw, 1.55rem); }
.svc--compact .tags li { background: transparent; }
.svc--compact .btn { margin-top: auto; align-self: flex-start; }
.svc--compact .tags { margin-bottom: 1.4rem; }
@media (hover: hover) { .svc:hover .svc__media img { transform: scale(1.035); } }

/* ---------- Projects ---------- */
.gallery__bar { margin-bottom: clamp(1.75rem, 4vh, 2.5rem); }
.filters { display: flex; flex-wrap: wrap; gap: .5rem; }
.filter {
  display: inline-flex; align-items: center; gap: .55rem; min-height: 44px;
  padding: .65rem 1.05rem; border: 1.5px solid var(--line); background: #fff;
  font-weight: 700; font-size: .9rem;
  -webkit-tap-highlight-color: transparent;
  transition: background-color .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease), transform .2s;
}
.filter span { font-size: .75rem; color: var(--steel); font-weight: 700; transition: color .3s; }
.filter[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.filter[aria-pressed="true"] span { color: var(--silver); }
.filter.is-pressed { border-color: var(--ink); }
.filter:active { transform: scale(.97); }
@media (hover: hover) { .filter:hover { border-color: var(--ink); } }
.gallery__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem clamp(1rem, 1.8vw, 1.5rem); }
.gallery__item.is-hidden { display: none; }
.gallery__item.is-entering { animation: rise .6s var(--ease) both; }
.gallery__btn {
  position: relative; display: block; width: 100%; aspect-ratio: 4 / 5; padding: 0; border: 0;
  overflow: hidden; background: var(--paper-2); cursor: zoom-in;
  -webkit-tap-highlight-color: transparent;
}
.gallery__btn img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.gallery__zoom {
  position: absolute; right: 1rem; bottom: 1rem; display: grid; place-items: center;
  width: 2.9rem; height: 2.9rem; background: #fff; color: var(--ink);
  opacity: 0; transform: translateY(.5rem); transition: opacity .4s var(--ease), transform .5s var(--ease), background-color .3s;
}
.gallery__btn.is-pressed img { transform: scale(1.05); }
.gallery__btn.is-pressed .gallery__zoom { opacity: 1; transform: none; background: var(--red); color: #fff; }
@media (hover: hover) {
  .gallery__btn:hover img { transform: scale(1.05); }
  .gallery__btn:hover .gallery__zoom, .gallery__btn:focus-visible .gallery__zoom { opacity: 1; transform: none; }
}
@media (hover: none) { .gallery__zoom { opacity: 1; transform: none; width: 2.5rem; height: 2.5rem; } }
.gallery__cap { margin-top: .85rem; font-weight: 700; font-size: .95rem; line-height: 1.4; }
.gallery__cap span { display: block; margin-top: .2rem; font-size: .78rem; font-weight: 700; color: var(--red); letter-spacing: .06em; text-transform: uppercase; }
.gallery__empty { color: var(--steel); }

.lightbox {
  width: 100vw; height: 100svh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: rgb(8 8 9 / .96); color: #fff;
}
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: rgb(8 8 9 / .8); }
.lightbox__frame { display: grid; gap: 1rem; justify-items: center; padding: 4.5rem 1rem; }
.lightbox__frame img { max-width: min(88vw, 70rem); max-height: 78svh; width: auto; height: auto; object-fit: contain; }
.lightbox__cap { font-weight: 600; color: var(--mist); text-align: center; }
.lightbox__close { position: absolute; top: 1rem; right: 1rem; }
.lightbox__nav { position: absolute; top: 50%; translate: 0 -50%; }
.lightbox__prev { left: 1rem; }
.lightbox__next { right: 1rem; }
.lightbox[open] .lightbox__frame { animation: rise .5s var(--ease) both; }

/* ---------- Contact ---------- */
.contact { --split: .44; position: relative; min-height: calc(100svh - var(--header-h)); }
.contact::before { content: ''; grid-column: full-start / mid; grid-row: 1; background: var(--ink); }
.contact__panel { grid-column: content-start / mid; grid-row: 1; color: #fff; padding: clamp(2.5rem, 7vh, 5rem) clamp(1.5rem, 4vw, 4.5rem) clamp(2.5rem, 7vh, 5rem) 0; }
.contact__panel-inner { position: sticky; top: calc(var(--header-h) + 2rem); }
.contact__title { font-size: clamp(3rem, min(6vw, 10vh), 6.2rem); margin: 1.1rem 0 1.25rem; }
.contact__lead { color: var(--mist); max-width: 48ch; }
.contact__lead strong { display: block; color: #fff; font-size: 1.15rem; margin-bottom: .5rem; }
.contact__list { margin: clamp(1.5rem, 4vh, 2.25rem) 0; border-top: 1px solid var(--ink-line); }
.contact__list a {
  display: grid; grid-template-columns: 3rem 1fr; align-items: center; gap: 1rem;
  padding-block: .95rem; border-bottom: 1px solid var(--ink-line);
  -webkit-tap-highlight-color: transparent;
}
.contact__ico { display: grid; place-items: center; width: 3rem; height: 3rem; border: 1.5px solid var(--ink-line); color: var(--red-brand); transition: background-color .35s var(--ease), color .35s, border-color .35s; }
.contact__ico .i { width: 1.3rem; height: 1.3rem; }
.contact__k { display: block; font-size: .72rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--silver); }
.contact__v { display: block; font-family: var(--f-display); font-stretch: 90%; font-weight: 700; font-size: clamp(1.1rem, 1rem + .4vw, 1.35rem); overflow-wrap: anywhere; }
.contact__list a.is-pressed .contact__ico { background: var(--red); border-color: var(--red); color: #fff; }
@media (hover: hover) { .contact__list a:hover .contact__ico { background: var(--red); border-color: var(--red); color: #fff; } }
.coverage { display: flex; gap: 1rem; padding: 1.2rem 1.25rem; background: var(--ink-2); border-left: 3px solid var(--red-brand); }
.coverage .i { color: var(--red-brand); width: 1.6rem; height: 1.6rem; margin-top: .1rem; }
.coverage p { font-size: .94rem; color: var(--mist); }
.coverage strong { color: #fff; }

.contact__form-wrap { grid-column: mid / content-end; grid-row: 1; padding: clamp(2.5rem, 7vh, 5rem) 0 clamp(2.5rem, 7vh, 5rem) clamp(1.5rem, 4vw, 4.5rem); scroll-margin-top: var(--header-h); }
.contact__form-title { margin-bottom: .6rem; }
.contact__form-sub { color: var(--steel); margin-bottom: clamp(1.5rem, 4vh, 2.25rem); }
.req { color: var(--red); }
.opt { color: var(--steel); font-weight: 500; }
.form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem 1.25rem; }
.form__full { grid-column: 1 / -1; }
.field { display: grid; gap: .45rem; align-content: start; }
.field label { font-weight: 700; font-size: .9rem; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 3.25rem; padding: .85rem 1rem;
  border: 1.5px solid #c4c6ca; border-radius: 0; background: #fff; color: var(--text);
  font-size: max(16px, 1rem);
  transition: border-color .25s, box-shadow .25s;
  -webkit-appearance: none; appearance: none;
}
.field textarea { resize: vertical; min-height: 9rem; line-height: 1.55; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #8d9096; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgb(225 6 0 / .22); }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: var(--red); }
.field__hint { font-size: .82rem; color: var(--steel); }
.field__error { font-size: .84rem; font-weight: 700; color: var(--red-deep); min-height: 0; }
.field__error:empty { display: none; }
.select { position: relative; }
.select select { padding-right: 2.75rem; cursor: pointer; }
.select .i { position: absolute; right: 1rem; top: 50%; translate: 0 -50%; pointer-events: none; width: 1.1rem; height: 1.1rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field--check { margin-top: 1.4rem; }
.check { display: flex; gap: .85rem; align-items: flex-start; font-weight: 500 !important; font-size: .92rem !important; color: var(--steel); cursor: pointer; }
.check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check__box { flex: none; display: grid; place-items: center; width: 1.45rem; height: 1.45rem; border: 1.5px solid var(--ink); background: #fff; margin-top: .05rem; transition: background-color .2s, border-color .2s; }
.check__box .i { width: 1rem; height: 1rem; color: #fff; opacity: 0; transform: scale(.5); transition: opacity .2s, transform .3s var(--ease); }
.check input:checked + .check__box { background: var(--red); border-color: var(--red); }
.check input:checked + .check__box .i { opacity: 1; transform: none; }
.check input:focus-visible + .check__box { outline: 3px solid var(--red); outline-offset: 2px; }
.field--check.is-invalid .check__box { border-color: var(--red); }
.check a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; font-weight: 700; }
.form__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 1.75rem; }
.form__status { font-weight: 700; font-size: .92rem; color: var(--red-deep); }
.form__status a { text-decoration: underline; }
.form__submit.is-loading { pointer-events: none; }
.form__submit.is-loading::after {
  content: ''; position: absolute; left: 0; bottom: 0; height: 3px; width: 40%; background: #fff;
  animation: load 1s var(--ease-in-out) infinite;
}
@keyframes load { from { transform: translateX(-100%); } to { transform: translateX(250%); } }
.form-success { padding: clamp(1.75rem, 4vw, 2.75rem); background: var(--paper-2); border-top: 4px solid var(--red-brand); outline: none; }
.form-success:not([hidden]) { animation: rise .7s var(--ease) both; }
.form-success__icon { display: grid; place-items: center; width: 3.5rem; height: 3.5rem; background: var(--red); color: #fff; margin-bottom: 1.4rem; }
.form-success__icon .i { width: 1.8rem; height: 1.8rem; }
.form-success .h2 { font-size: clamp(1.7rem, 1.2rem + 1.4vw, 2.4rem); max-width: 22ch; }
.form-success p { margin: 1rem 0 1.75rem; color: var(--steel); max-width: 52ch; }
.form-success p a { color: var(--text); font-weight: 700; text-decoration: underline; }

/* ---------- Legal & 404 ---------- */
.legal { max-width: 46rem; margin-inline: auto; }
.legal__date { color: var(--steel); font-weight: 600; margin-bottom: 1rem; }
.legal h2 { font-family: var(--f-display); font-stretch: 88%; font-weight: 750; font-size: 1.5rem; line-height: 1.2; margin: 2.2rem 0 .7rem; }
.notfound { min-height: 64vh; display: grid; align-items: center; padding-block: var(--section-y); }
.notfound__code { font-size: clamp(6rem, 18vw, 13rem); color: var(--red-brand); line-height: .8; margin-bottom: 1.5rem; }
.notfound p { color: var(--steel); margin-top: .75rem; }
.notfound__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }

/* ---------- Floating WhatsApp (round by convention: the one exception to the sharp-corner rule) ---------- */
.wa-float {
  position: fixed; z-index: 45;
  right: max(1rem, env(safe-area-inset-right)); bottom: calc(max(1rem, env(safe-area-inset-bottom)) + .25rem);
  display: flex; align-items: center;
  -webkit-tap-highlight-color: transparent;
}
.wa-float__icon {
  position: relative; display: grid; place-items: center; width: 3.6rem; height: 3.6rem; border-radius: 50%;
  background: #25d366; color: #fff;
  box-shadow: 0 12px 30px -10px rgb(37 211 102 / .7), 0 4px 14px rgb(12 12 13 / .22);
  transition: transform .45s var(--ease), background-color .3s;
}
.wa-float__icon .i { width: 1.9rem; height: 1.9rem; transition: transform .45s var(--ease); }
.wa-float__icon::before { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; opacity: 0; }
.wa-float__label {
  margin-right: .8rem; padding: .7rem 1rem; background: var(--ink); color: #fff;
  font-weight: 700; font-size: .88rem; white-space: nowrap;
  opacity: 0; transform: translateX(12px); pointer-events: none;
  transition: opacity .4s var(--ease), transform .5s var(--ease);
}
.wa-float.is-pressed .wa-float__icon { transform: scale(.9); background: #1ebe5b; }
.wa-float.is-pressed .wa-float__icon .i { transform: rotate(-12deg); }
@media (hover: hover) {
  .wa-float:hover .wa-float__icon { transform: scale(1.08); }
  .wa-float:hover .wa-float__icon .i { transform: rotate(-12deg); }
  .wa-float:hover .wa-float__label, .wa-float:focus-visible .wa-float__label { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: no-preference) {
  .wa-float__icon::before { animation: wa-pulse 2.8s var(--ease) 1.5s infinite; }
  .wa-float { animation: wa-in .8s var(--ease) .9s both; }
}
@keyframes wa-pulse { 0% { transform: scale(1); opacity: .75; } 70%, 100% { transform: scale(1.65); opacity: 0; } }
@keyframes wa-in { from { opacity: 0; transform: translateY(20px) scale(.8); } to { opacity: 1; transform: none; } }
.site-footer__bottom { padding-bottom: 5.5rem; }

/* ---------- Scroll reveal (only when JS runs) ---------- */
@media (scripting: enabled) and (prefers-reduced-motion: no-preference) {
  [data-reveal] {
    opacity: 0; transform: translateY(28px);
    transition: opacity .9s var(--ease), transform 1s var(--ease);
    transition-delay: calc(var(--d, 0) * 90ms);
  }
  [data-reveal].is-in { opacity: 1; transform: none; }
  .eyebrow:not(.is-in) .eyebrow__line { transform: scaleX(0); }
  .track:not(.is-in)::after { transform: scaleX(0); }
  .track:not(.is-in) .track__num { background: var(--ink); }
}

/* ==========================================================================
   Responsive
   ========================================================================== */

/* Tall desktop screens (1080p+, 1440p): larger supporting text so the hero feels full */
@media (min-width: 1280px) and (min-height: 1000px) {
  .hero__lead, .page-hero__lead { font-size: 1.3rem; }
  .hero__brand-tag { font-size: 1.35rem; }
  .hero__actions { margin-top: 3rem; }
}

/* Short laptop screens (1366x768, 1280x720, 1536x864 at 125%) */
@media (min-width: 1024px) and (max-height: 820px) {
  :root { --header-h: 64px; --section-y: clamp(3.25rem, 5vh + 2vw, 5.5rem); }
  .why__media { aspect-ratio: 16 / 9; }
  .hero__title { font-size: clamp(2.75rem, min(5vw, 8.4vh), 4.4rem); }
  .strip__item { height: clamp(17rem, 52vh, 26rem); }
}

@media (max-width: 1180px) {
  .header-phone span { display: none; }
  .header-phone { display: grid; place-items: center; width: 44px; height: 44px; border: 1.5px solid var(--line); }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .site-footer__brand { grid-column: 1 / -1; }
  .svc-compact-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc-compact-grid--3 > :last-child { grid-column: 1 / -1; }
}

@media (max-width: 1023px) {
  .primary-nav, .header-phone { display: none; }
  .menu-toggle { display: grid; }
  .site-header__actions { gap: .6rem; }

  .why__aside, .reasons { grid-column: 1 / -1; }
  .why__sticky { position: static; }
  .why__media { aspect-ratio: 16 / 9; max-height: none; }
  .reasons { margin-top: 1rem; }


  .svc-layout { padding-top: 0; }
  .svc-index { display: none; }
  .svc-main { grid-column: 1 / -1; }
  .svc-chips {
    display: block; grid-column: 1 / -1;
    position: sticky; top: var(--header-h); z-index: 20;
    margin-inline: calc(-1 * var(--gutter)); margin-bottom: 2.5rem;
    background: rgb(252 252 251 / .96); border-bottom: 1px solid var(--line);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  }
  .svc-chips ul { display: flex; gap: .5rem; overflow-x: auto; padding: .75rem var(--gutter); scrollbar-width: none; }
  .svc-chips ul::-webkit-scrollbar { display: none; }
  .svc-chips a { display: block; white-space: nowrap; padding: .55rem .9rem; border: 1.5px solid var(--line); background: #fff; font-size: .85rem; font-weight: 700; transition: background-color .25s, color .25s, border-color .25s; }
  .svc-chips a.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
  .svc { scroll-margin-top: calc(var(--header-h) + 4.5rem); }
  .svc-group { scroll-margin-top: calc(var(--header-h) + 4.5rem); }

  .gallery__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .filters { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .filter { justify-content: center; width: 100%; }

  .approach__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .overview__media { margin-left: 0; }
  .overview__visual { padding-bottom: 0; }
  .stat-pair { position: relative; left: auto; width: 100%; }
  .sectors__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sectors__grid > :last-child:nth-child(odd) { grid-column: 1 / -1; }

  .track { grid-template-columns: 1fr; gap: 0; }
  .track::before, .track::after { left: 1.75rem; right: auto; top: 0; bottom: 0; width: 2px; height: auto; transform-origin: top; }
  .track__step { display: grid; grid-template-columns: 3.5rem 1fr; column-gap: 1.25rem; padding-bottom: 1.75rem; }
  .track__step:last-child { padding-bottom: 0; }
  .track__num { grid-row: span 2; }
  .track__title { margin: .45rem 0 .4rem; }
}
@media (scripting: enabled) and (prefers-reduced-motion: no-preference) and (max-width: 1023px) {
  .track:not(.is-in)::after { transform: scaleY(0); }
}

@media (max-width: 899px) {
  .hero, .page-hero, .contact { grid-template-columns: [full-start] var(--gutter) [content-start mid] 1fr [content-end] var(--gutter) [full-end]; }
  .hero { min-height: 0; }
  .hero__copy, .page-hero__copy { grid-column: content-start / content-end; padding: clamp(2.25rem, 7vh, 3.5rem) 0 2.5rem; }
  .hero__media { grid-column: full-start / full-end; aspect-ratio: 4 / 3.6; max-height: 72svh; }
  .hero__media::before, .page-hero__media::before { width: 100%; height: .4rem; bottom: auto; }
  .hero__title { font-size: clamp(2.6rem, 11vw, 4.4rem); max-width: 14ch; }
  .page-hero { min-height: 0; }
  .page-hero__title { font-size: clamp(2.5rem, 10.5vw, 4.2rem); }
  .page-hero__media { grid-column: full-start / full-end; aspect-ratio: 16 / 11; max-height: 60svh; }

  .intro__copy, .intro__media { grid-column: 1 / -1; }
  .intro__media { aspect-ratio: 16 / 11; }

  .cta-band__copy, .cta-band__actions { grid-column: 1 / -1; }
  .cta-band::before { width: 70%; right: -40%; }

  .focus__cols { grid-template-columns: 1fr; }

  .showcase-head, .process__head { grid-template-columns: 1fr; }
  .showcase-head__text, .process__lead { justify-self: start; }
  .showcase { grid-template-columns: 1fr; }
  .showcase__preview { display: none; }
  .showcase__inline { display: block; aspect-ratio: 16 / 10; overflow: hidden; margin-bottom: 1.1rem; background: var(--ink-3); }
  .showcase__inline img { width: 100%; height: 100%; object-fit: cover; }
  .showcase__inline .showcase__panel .i { width: 4.5rem; height: 4.5rem; }
  .showcase__detail-inner { padding-left: 0; }
  .showcase__link { grid-template-columns: 2.4rem 1fr auto; }
  .showcase__title { font-size: clamp(1.45rem, 6.2vw, 2.2rem); }

  .overview__copy, .overview__visual { grid-column: 1 / -1; }
  .overview__media { aspect-ratio: 16 / 12; }

  .svc--feature, .svc--flip { grid-template-columns: 1fr; }
  .svc--flip .svc__media { order: 0; }
  .svc--feature .svc__media { aspect-ratio: 16 / 11; }

  .contact { min-height: 0; }
  .contact::before { display: none; }
  .contact__panel { grid-column: full-start / full-end; background: var(--ink); padding: clamp(2.25rem, 6vh, 3.5rem) var(--gutter); }
  .contact__panel-inner { position: static; }
  .contact__form-wrap { grid-column: content-start / content-end; grid-row: 2; padding: clamp(2.25rem, 6vh, 3.5rem) 0; }
}

@media (max-width: 680px) {
  .svc-card-grid, .svc-compact-grid, .svc-compact-grid--3 { grid-template-columns: 1fr; }
  .svc-compact-grid--3 > :last-child { grid-column: auto; }
  .form__grid { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .work-strip__controls .icon-btn { display: none; }
  .work-strip__controls .btn { margin-left: 0; }
  .approach__grid { grid-template-columns: 1fr; }
  .principle { min-height: 0; }
  .principle__title { margin-top: 1.75rem; }
  .sectors__grid { grid-template-columns: 1fr; }
  .sectors__grid > :last-child:nth-child(odd) { grid-column: auto; }
  .filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wa-float__icon { width: 3.4rem; height: 3.4rem; }
}

@media (max-width: 639px) {
  .site-header__actions .btn { display: none; }
  .hero__actions .btn { flex: 1 1 100%; }
  .strip__item { height: 24rem; }
  .cta-band__line { grid-template-columns: 1fr auto; }
  .cta-band__label { grid-column: 1 / -1; }
  .gallery__grid { gap: 1.5rem .75rem; }
  .gallery__cap { font-size: .85rem; }
  .lightbox__nav { top: auto; bottom: 1rem; translate: none; }
  .lightbox__prev { left: calc(50% - 3.5rem); }
  .lightbox__next { right: calc(50% - 3.5rem); }
}

@media (max-width: 419px) {
  .gallery__grid { grid-template-columns: 1fr; }
}

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