/* ==========================================================================
   I-Vintage Solutions — shared site styles (header, footer, components)
   ========================================================================== */
/* ============ Tokens ============ */
:root {
  /* Palette based on the I-Vintage logo: black + red */
  --bg: #ffffff;
  --bg-2: #f6f6f6;
  --surface: #ffffff;
  --surface-2: #efefef;
  --navy-800: #111111;       /* black */
  --navy-600: #222222;       /* near-black */
  --blue: #1a1a1a;
  --blue-2: #333333;
  --green: #ec2b3a;          /* logo red accent */
  --green-500: #f04a57;
  --green-600: #c81d2b;
  --green-100: #fdecee;
  --green-glow: rgba(236, 43, 58, .3);
  --text: #222222;
  --heading: #111111;
  --muted: #5e5e5e;
  --dim: #8a8a8a;
  --line: rgba(17, 17, 17, .1);
  --line-2: rgba(17, 17, 17, .18);
  --shadow: 0 20px 50px rgba(17, 17, 17, .10);
  --paper: #f5f5f5;
  --ink: #111111;
  --radius: 0;
  --radius-lg: 0;
  --container: 1320px;
  --header-h: 84px;
  --gutter: 32px;
  --font-head: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-serif: "Instrument Serif", Georgia, serif;
  --ease: cubic-bezier(.19, 1, .22, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 90px; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { margin: 0; font-family: var(--font-body); font-size: 16px; line-height: 1.65; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--heading); line-height: 1.08; margin: 0; letter-spacing: -.02em; }
p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--green); color: #fff; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { position: relative; padding: 90px 0; }
.serif { font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: 0; color: var(--green); }

/* Eyebrow: auto-numbered index label  →  [01] WHO WE ARE ──── */
body { counter-reset: eyebrow; }
.eyebrow { counter-increment: eyebrow; display: inline-flex; align-items: center; gap: 14px; margin-bottom: 24px; font-family: var(--font-head); font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--heading); }
.eyebrow::before { content: "[" counter(eyebrow, decimal-leading-zero) "]"; letter-spacing: .08em; color: var(--green); }
.eyebrow::after { content: ""; width: 56px; height: 1px; background: linear-gradient(90deg, var(--blue), var(--green)); transform-origin: left; transition: transform 1.2s var(--ease) .2s; }
.js .eyebrow::after { transform: scaleX(0); }
.js .eyebrow.is-in::after, .no-anim .eyebrow::after { transform: scaleX(1); }
.title { font-size: clamp(36px, 5.2vw, 76px); font-weight: 800; }
.lead { margin-top: 22px; font-size: 18px; color: var(--muted); max-width: 560px; }

/* word masks for split headings */
.wm { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.wm > .w { display: inline-block; }

/* ============ Buttons ============ */
/* Split button: [ label | ↗ ]  — JS wraps the label and doubles the icon for the swap effect */
.btn { position: relative; display: inline-flex; align-items: center; gap: 14px; min-height: 52px; padding: 0 20px 0 24px; border-radius: 0; font-weight: 600; font-size: 15px; letter-spacing: .01em; border: 1px solid transparent; cursor: pointer; overflow: hidden; isolation: isolate; white-space: nowrap; transition: color .5s var(--ease), border-color .5s; }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; transform: scaleX(0); transform-origin: right center; transition: transform .6s var(--ease); }
.btn:hover::before { transform: scaleX(1); transform-origin: left center; }
.btn svg { width: 16px; height: 16px; }
.btn.is-split { padding: 0; gap: 0; align-items: stretch; }
.btn-label { display: flex; align-items: center; padding: 0 22px 0 24px; }
.btn-ic { position: relative; flex: none; width: 50px; overflow: hidden; border-left: 1px solid rgba(255,255,255,.22); background: rgba(0,0,0,.12); transition: background .5s var(--ease); }
.btn-ic svg { position: absolute; left: 50%; top: 50%; margin: -8px 0 0 -8px; transition: transform .55s var(--ease); }
.btn-ic svg + svg { transform: translate(-220%, 220%); }
.btn:hover .btn-ic svg:first-child { transform: translate(220%, -220%); }
.btn:hover .btn-ic svg + svg { transform: none; }
.btn:hover .btn-ic { background: rgba(0,0,0,.18); }
.btn.-primary { background: linear-gradient(135deg, var(--blue), var(--blue-2)); color: #fff; }
.btn.-primary::before { background: var(--green); }
.btn.-ghost { border-color: var(--line-2); color: var(--heading); background: transparent; }
.btn.-ghost .btn-ic { border-left-color: var(--line-2); background: rgba(17, 17, 17, .04); }
.btn.-ghost::before { background: var(--navy-800); }
.btn.-ghost:hover { color: #fff; border-color: var(--navy-800); }
.btn.-ghost:hover .btn-ic { border-left-color: rgba(255,255,255,.22); background: var(--green); }
.hero .btn.-primary { background: var(--green); }
.hero .btn.-primary::before { background: var(--green-600); }
.hero .btn.-primary .btn-ic { border-left-color: rgba(255,255,255,.3); }
.hero .btn.-ghost { border-color: rgba(255,255,255,.45); color: #fff; background: rgba(255,255,255,.06); backdrop-filter: blur(8px); }
.hero .btn.-ghost .btn-ic { border-left-color: rgba(255,255,255,.3); background: rgba(255,255,255,.08); }
.hero .btn.-ghost::before { background: #fff; }
.hero .btn.-ghost:hover { color: var(--navy-800); border-color: #fff; }
.hero .btn.-ghost:hover .btn-ic { color: #fff; }
.btn.-dark { background: var(--navy-800); color: #fff; }
.btn.-dark::before { background: var(--green); }
.btn.-dark .btn-ic { background: var(--green); border-left: 0; }
.btn.-dark:hover .btn-ic { background: var(--navy-800); }
/* Text link: underline draws in, arrow nudges diagonally */
.link-arrow { position: relative; display: inline-flex; align-items: center; gap: 8px; padding-bottom: 4px; font-weight: 600; font-size: 14px; color: var(--green); }
.link-arrow::after { content: ""; position: absolute; left: 0; right: 24px; bottom: 0; height: 1px; background: currentColor; transform: scaleX(.25); transform-origin: left; transition: transform .5s var(--ease); }
a:hover .link-arrow::after, .link-arrow:hover::after { transform: scaleX(1); }
.link-arrow svg { width: 16px; height: 16px; transition: transform .45s var(--ease); }
a:hover .link-arrow svg, .link-arrow:hover svg { transform: translate(3px, -3px); }

/* ============ Preloader ============ */
.loader { display: none; }
.js .loader { position: fixed; inset: 0; z-index: 200; display: flex; align-items: flex-end; justify-content: space-between; padding: 40px; background: var(--bg); animation: loaderSafety 0s 5s forwards; }
@keyframes loaderSafety { to { visibility: hidden; } }
.loader-brand { font-family: var(--font-head); font-weight: 700; font-size: 14px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.loader-count { font-family: var(--font-head); font-weight: 800; font-size: clamp(80px, 16vw, 220px); line-height: .8; color: var(--heading); }
.loader-count span { color: var(--green); }
.loader-bar { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--green); transform-origin: left; transform: scaleX(0); }

/* ============ Cursor ============ */
.cursor { display: none; }
@media (pointer: fine) {
  .cursor { position: fixed; top: 0; left: 0; z-index: 150; pointer-events: none; display: grid; place-items: center; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 0; background: var(--green); mix-blend-mode: normal; transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background .35s; }
  .cursor-label { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #fff; opacity: 0; transition: opacity .2s; }
  .cursor.-link { width: 44px; height: 44px; margin: -22px 0 0 -22px; background: rgba(236, 43, 58, .2); }
  .cursor.-label { width: 92px; height: 92px; margin: -46px 0 0 -46px; background: var(--green); }
  .cursor.-label .cursor-label { opacity: 1; }
}

/* ============ Header ============ */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 90; background: #fff; transition: transform .6s var(--ease), background .4s, border-color .4s, box-shadow .4s; border-bottom: 1px solid var(--line); }
.header.is-scrolled { box-shadow: 0 8px 30px rgba(17, 17, 17, .08); background: #fff; border-color: var(--line); }
.header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); max-width: 1480px; }
.logo { position: relative; align-self: stretch; display: flex; align-items: center; }
.logo img { position: relative; height: 48px; width: auto; }
.header-cta { position: relative; align-self: stretch; padding-left: 44px; }
.header-cta::before { content: ""; position: absolute; top: 0; bottom: 0; left: 0; right: calc((min(100vw, 1480px) - 100vw) / 2 - var(--gutter)); z-index: -1; /*background: var(--navy-800);*/ clip-path: polygon(28px 0, 100% 0, 100% 100%, 0 100%); }
.header-cta::after { content: ""; position: absolute; top: 0; bottom: 0; left: -12px; width: 4px; z-index: -1; /*background: var(--green);*/ transform: skewX(-18deg); transform-origin: bottom; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav > li { position: relative; }
.nav > li > a { position: relative; display: flex; align-items: center; gap: 6px; padding: 10px 14px; font-weight: 600; font-size: 15px; color: var(--heading); white-space: nowrap; transition: color .3s; }
/* hover + active: gradient bar grows from the centre */
.nav > li > a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px; border-radius: 0; background: linear-gradient(90deg, var(--blue), var(--green)); transform: scaleX(0); transition: transform .45s var(--ease); }
.nav > li > a:hover, .nav > li:hover > a, .nav > li > a[aria-current] { color: var(--blue); }
.nav > li > a:hover::after, .nav > li:hover > a::after, .nav > li > a[aria-current]::after { transform: scaleX(1); }
.nav .caret { width: 10px; height: 10px; stroke: currentColor; fill: none; stroke-width: 2; }
.dropdown { position: absolute; top: calc(100% + 14px); left: 50%; min-width: 300px; padding: 10px; background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--green); border-radius: 0; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translate(-50%, 10px); transition: all .35s var(--ease); }
.dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.nav > li:hover .dropdown, .nav > li:focus-within .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.dropdown a { display: flex; justify-content: space-between; align-items: center; padding: 11px 14px; border-radius: 0; font-size: 14px; color: var(--muted); transition: background .2s, color .2s; }
.dropdown a::after { content: "→"; opacity: 0; transform: translateX(-6px); transition: all .3s var(--ease); color: var(--green); }
.dropdown a:hover { background: var(--bg-2); color: var(--green); }
.dropdown a:hover::after { opacity: 1; transform: none; }
.header-cta { display: flex; align-items: center; gap: 12px;display:none; }
.header-badge { display: inline-flex; align-items: center; padding: 6px 10px; background: #fff; }
.header-badge img { display: block; height: 30px; width: auto; }
.nav-toggle {     display: none;
    width: 48px;
    height: 48px;
    border-radius: 0;
    border: 1px solid rgb(0 0 0);
    background: #ffffff;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 110;
    transition: border-color .3s;
    margin-top: 12px; }
.nav-toggle span, .nav-toggle span::before { display: block;
    width: 18px;
    height: 2px;
    background: #000;
    position: relative;
    transition: transform .35s var(--ease), background .3s; }
.nav-toggle[aria-expanded="true"] { border-color: var(--line-2); }
.nav-toggle[aria-expanded="true"] span, .nav-toggle[aria-expanded="true"] span::before { background: var(--navy-800); }
.nav-toggle span::before { content: ""; position: absolute; top: 6px; left: 0; }
.nav-toggle span { transform: translateY(-3px); }
.nav-toggle[aria-expanded="true"] span { transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(-6px) rotate(-90deg); }

/* ============ Hero video slider ============ */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 640px; overflow: hidden; background: var(--navy-800); }
.hero-media { position: absolute; inset: 0; will-change: transform; }
.hero-slide { position: absolute; inset: 0; z-index: 0; overflow: hidden; visibility: hidden; }
.hero-slide.is-active { visibility: visible; z-index: 1; }
.hero-slide video { width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.hero-shade { position: absolute; inset: 0; z-index: 3; pointer-events: none; background:
  linear-gradient(180deg, rgba(17, 17, 17, .35) 0%, rgba(17, 17, 17, 0) 30%, rgba(17, 17, 17, .15) 55%, rgba(17, 17, 17, .85) 100%),
  linear-gradient(90deg, rgba(17, 17, 17, .75) 0%, rgba(17, 17, 17, .2) 60%, rgba(17, 17, 17, 0) 100%); }
.hero-grain { position: absolute; inset: 0; z-index: 3; pointer-events: none; opacity: .5; background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1px); background-size: 3px 3px; mix-blend-mode: overlay; }
.hero-inner { position: relative; z-index: 4; height: 100%; padding-top: var(--header-h); display: flex; flex-direction: column; justify-content: center; padding-bottom: 130px; }
.hero-captions { display: grid; }
.hero-caption { grid-area: 1 / 1; visibility: hidden; max-width: 1040px; }
.hero-caption.is-active { visibility: visible; }
@keyframes pulse { 50% { opacity: .35; } }
/* Hero caption: matches the Data Center page banner (eyebrow + two-line title, accent second line) */
.hero-eyebrow { margin: 0 0 15px; overflow: hidden; font-size: 13px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--green-500); }
.hero-eyebrow > span { display: block; }
.hero-title { margin: 0; max-width: 1040px; font-family: var(--font-head); font-size: clamp(38px, 4.9vw, 76px); font-weight: 800; line-height: 1; letter-spacing: -.035em; color: #fff; }
.hero-title .ln { display: block; overflow: hidden; padding-bottom: .08em; }
.hero-title .ln > span { display: block; }
.hero-title .ln.-accent { color: var(--green-500); }
.hero-text { max-width: 720px; margin: 24px 0 0; font-size: clamp(17px, 1.6vw, 23px); line-height: 1.4; color: #d6d6da; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
@media (max-height: 820px) and (min-width: 761px) {
  .hero-inner { padding-bottom: 125px; }
  .hero-title { font-size: clamp(36px, 4.3vw, 64px); }
  .hero-text { margin-top: 18px; font-size: 18px; }
  .hero-actions { margin-top: 22px; }
}

.hero-bottom { position: absolute; z-index: 5; left: 0; right: 0; bottom: 0; border-top: 1px solid rgba(255,255,255,.18); background: linear-gradient(180deg, rgba(17, 17, 17, 0), rgba(17, 17, 17, .55)); }
.hero-bottom .container { display: flex; align-items: stretch; gap: 32px; max-width: 1480px; }
.hero-tabs { flex: 1; display: grid; grid-template-columns: repeat(3, 1fr); }
.hero-tab { position: relative; text-align: left; background: none; border: 0; border-right: 1px solid rgba(255,255,255,.18); padding: 24px 24px 26px; cursor: pointer; color: rgba(255,255,255,.55); transition: color .4s; }
.hero-tab:first-child { padding-left: 0; }
.hero-tab.is-active, .hero-tab:hover { color: #fff; }
.hero-tab small { display: block; font-family: var(--font-head); font-weight: 700; font-size: 12px; letter-spacing: .12em; color: #ff5c69; margin-bottom: 4px; }
.hero-tab strong { font-weight: 600; font-size: 15px; }
.hero-tab .bar { position: absolute; left: 0; right: 24px; top: -1px; height: 2px; background: transparent; overflow: hidden; }
.hero-tab:first-child .bar { left: 0; }
.hero-tab .bar i { position: absolute; inset: 0; background: #ff5c69; transform-origin: left; transform: scaleX(0); }
.hero-arrows { display: flex; align-items: center; gap: 10px; }
.hero-arrow { width: 52px; height: 52px; border-radius: 0; border: 1px solid rgba(255,255,255,.35); background: rgba(255,255,255,.06); color: #fff; cursor: pointer; display: grid; place-items: center; transition: background .3s, border-color .3s, color .3s; }
.hero-arrow:hover { background: var(--green); border-color: var(--green); color: #fff; }
.hero-arrow svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; }
.hero-side { position: absolute; z-index: 5; right: 32px; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; align-items: center; gap: 14px; font-family: var(--font-head); font-weight: 700; color: #fff; }
.hero-side .num { font-size: 42px; line-height: 1; overflow: hidden; height: 42px; }
.hero-side .num span { display: block; }
.hero-side .total { font-size: 13px; color: rgba(255,255,255,.55); letter-spacing: .1em; }
.hero-side .line { width: 1px; height: 70px; background: rgba(255,255,255,.3); }
.hero-side .iso { writing-mode: vertical-rl; font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: rgba(255,255,255,.7); font-weight: 600; }

/* ============ Ticker ============ */
.ticker { position: relative; z-index: 6; background: linear-gradient(90deg, var(--blue), var(--green)); color: #fff; overflow: hidden; margin: 0; }
.ticker-track { display: flex; width: max-content; animation: marquee 30s linear infinite; }
.ticker-track li { display: flex; align-items: center; gap: 28px; padding: 18px 14px; font-family: var(--font-head); font-weight: 800; font-size: 22px; letter-spacing: -.01em; white-space: nowrap; text-transform: uppercase; }
.ticker-track li::after { content: "✦"; font-size: 16px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============ About ============ */
/* ============ About: image composition + copy ============ */
.about-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 88px; align-items: center; }
.about-media { position: relative; padding: 28px 56px 70px 28px; }
.about-media::before { content: ""; position: absolute; left: 0; top: 0; width: 62%; height: 72%; z-index: -1; background: linear-gradient(150deg, var(--blue), var(--green)); clip-path: polygon(0 0, 100% 0, calc(100% - 48px) 100%, 0 100%); }
.about-main { position: relative; aspect-ratio: 4 / 4.6; overflow: hidden; clip-path: polygon(0 0, calc(100% - 64px) 0, 100% 64px, 100% 100%, 0 100%); }
.about-main img { width: 100%; height: 116%; object-fit: cover; object-position: 78% center; }
.about-inset { position: absolute; right: 0; bottom: 0; width: 44%; aspect-ratio: 1; overflow: hidden; border: 8px solid #fff; box-shadow: var(--shadow); background: #fff; }
.about-inset img { width: 100%; height: 120%; object-fit: cover; }
.about-grid.-stretch { align-items: stretch; }
.about-media.-single { padding: 0; }
.about-media.-single::before { display: none; }
.about-media.-single .about-main { height: 100%; min-height: 420px; aspect-ratio: auto; }
.about-media.-single .about-main img { height: 100%; }
.about-media.-single .about-badge { bottom: 32px; }
.about-badge { position: absolute; left: 0; bottom: 30px; display: flex; align-items: center; gap: 14px; padding: 18px 26px 18px 20px; background: var(--navy-800); color: #fff; clip-path: polygon(0 0, 100% 0, calc(100% - 16px) 100%, 0 100%); }
.about-badge svg { flex: none; width: 26px; height: 26px; stroke: #ff5c69; fill: none; stroke-width: 1.7; }
.about-badge strong { display: block; font-family: var(--font-head); font-size: 16px; line-height: 1.2; }
.about-badge span { font-size: 12px; color: #bdbdbd; }
.about-copy .title { font-size: clamp(32px, 3.8vw, 54px); }
.statement { margin-top: 26px; font-family: var(--font-head); font-weight: 600; font-size: clamp(19px, 1.6vw, 23px); line-height: 1.5; letter-spacing: -.01em; color: var(--heading); }
.statement .w { opacity: .15; }
.no-anim .statement .w, .statement:not(.is-split) .w { opacity: 1; }
.about-sub { margin-top: 18px; color: var(--muted); font-size: 16px; }
.check-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 28px; margin: 32px 0 38px; padding-top: 30px; border-top: 1px solid var(--line); }
.check-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; font-weight: 500; color: var(--text); }
.check-list li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 2px; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='square'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat; }

/* ============ Solutions: stacked sticky cards (dark) ============ */
.solutions { background: var(--navy-800); color: #bdbdbd; }
.solutions .eyebrow, .solutions .title { color: #fff; }
.solutions .eyebrow::after { background: linear-gradient(90deg, rgba(255,255,255,.4), var(--green)); }
.solutions .lead { color: #a8a8a8; }
.sol-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: 52px; }
.stack { position: relative; padding-bottom: 40px; }
.stack-card { position: sticky; top: calc(110px + var(--i) * 22px); min-height: min(76vh, 620px); margin-bottom: 8vh; }
.stack-card:last-child { margin-bottom: 0; }
.stack-inner { --card-bg: #1c1c1c; position: relative; min-height: min(76vh, 620px); display: grid; grid-template-columns: 1fr 1.1fr; border-radius: 0; overflow: hidden; background: var(--card-bg); border: 1px solid rgba(255,255,255,.08); transform-origin: 50% 0; box-shadow: 0 -10px 40px rgba(0, 0, 0, .45); will-change: transform; }
.stack-shade { position: absolute; inset: 0; z-index: 3; background: #000; opacity: 0; pointer-events: none; }
.stack-body { position: relative; z-index: 2; display: flex; flex-direction: column; padding: 46px 48px; }
.stack-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: auto; }
.stack-num { font-family: var(--font-head); font-weight: 800; font-size: 15px; color: var(--green); letter-spacing: .08em; }
.stack-icon { width: 60px; height: 60px; border-radius: 0; display: grid; place-items: center; background: rgba(236, 43, 58, .14); border: 1px solid rgba(236, 43, 58, .3); color: #ff5c69; }
.stack-icon svg { width: 28px; height: 28px; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.stack-body h3 { font-size: clamp(26px, 2.6vw, 40px); font-weight: 800; color: #fff; margin: 24px 0 16px; }
.stack-body p { color: #b5b5b5; font-size: 16px; max-width: 480px; }
.stack-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 32px; }
.stack-tags li { font-size: 12px; font-weight: 600; letter-spacing: .04em; padding: 6px 12px; border-radius: 0; background: rgba(255,255,255,.08); color: #d4d4d4; }
.stack-body .link-arrow { color: #ff5c69; }
.stack-media { position: relative; overflow: hidden; }
.stack-media img { width: 100%; height: 100%; object-fit: cover; transform-origin: 50% 50%; }
.stack-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--card-bg) 0%, transparent 30%); }
.stack-card.-v2 .stack-inner { --card-bg: #232323; }
.stack-card.-v3 .stack-inner { --card-bg: #181818; }
.stack-card.-v4 .stack-inner { --card-bg: #2a1215; border-color: rgba(236, 43, 58, .25); }
.stack-card.-v5 .stack-inner { --card-bg: #202020; }

/* ============ Process ============ */
.process-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 80px; }
.process-side { position: sticky; top: 130px; align-self: start; }
.process-big { margin-top: 40px; display: flex; align-items: flex-end; gap: 16px; font-family: var(--font-head); font-weight: 800; }
.process-big .num { font-size: clamp(100px, 13vw, 190px); line-height: .8; color: transparent; -webkit-text-stroke: 1.5px var(--green); overflow: hidden; height: .8em; }
.process-big .num span { display: block; }
.process-big .of { font-size: 16px; color: var(--dim); padding-bottom: 8px; }
.steps { position: relative; padding-left: 48px; }
.steps-line { position: absolute; left: 11px; top: 10px; bottom: 10px; width: 2px; background: var(--line); }
.steps-line i { position: absolute; inset: 0; background: var(--green); transform-origin: top; transform: scaleY(0); }
.step { position: relative; padding: 40px 0 60px; border-bottom: 1px solid var(--line); opacity: .35; transition: opacity .5s; }
.step.is-active, .no-anim .step { opacity: 1; }
.step::before { content: ""; position: absolute; left: -44px; top: 48px; width: 16px; height: 16px; border-radius: 0; background: #fff; border: 2px solid var(--line-2); transition: all .4s; }
.step.is-active::before { background: var(--green); border-color: var(--green); box-shadow: 0 0 0 6px rgba(236, 43, 58, .15); }
.step-icon { width: 64px; height: 64px; border-radius: 0; display: grid; place-items: center; background: var(--green-100); border: 1px solid transparent; color: var(--green); margin-bottom: 24px; }
.step-icon svg { width: 30px; height: 30px; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.step h3 { font-size: clamp(30px, 3.2vw, 46px); font-weight: 800; }
.step p { margin-top: 14px; color: var(--muted); font-size: 17px; max-width: 480px; }

/* ============ Engagement models: horizontal pinned scroll ============ */
.hscroll { position: relative; background: var(--bg-2); color: var(--ink); }
.h-pin { height: 100vh; height: 100svh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
.h-track { display: flex; align-items: stretch; gap: 24px; padding: 0 6vw; width: max-content; will-change: transform; }
.h-intro { flex: none; width: min(560px, 80vw); display: flex; flex-direction: column; justify-content: center; padding-right: 40px; }
.h-intro .title { color: var(--ink); font-size: clamp(38px, 4.6vw, 68px); }
.h-intro .lead { color: #5e5e5e; }
.h-intro .btn { margin-top: 34px; align-self: flex-start; }
.h-hint { display: inline-flex; align-items: center; gap: 10px; margin-top: 30px; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #8a8a8a; }
.h-hint svg { width: 30px; height: 12px; }
.p-card { position: relative; flex: none; width: 380px; min-height: min(66vh, 560px); display: flex; flex-direction: column; padding: 30px; border-radius: 0; background: #fff; border: 1px solid rgba(17, 17, 17, .08); overflow: hidden; isolation: isolate; transition: color .5s var(--ease); }
.p-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--navy-800); clip-path: circle(0% at 100% 0%); transition: clip-path .8s var(--ease); }
.p-card.-quote:hover::before { clip-path: circle(150% at 100% 0%); }
.p-card:not(.-quote) { transition: transform .5s var(--ease), box-shadow .5s, border-color .4s; } .p-card:not(.-quote):hover { transform: translateY(-6px); border-color: var(--green); box-shadow: 0 24px 50px rgba(17, 17, 17, .14); } .p-card.-quote:hover { color: #fff; }
.p-img { position: relative; margin: -30px -30px 0; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-2); }
.p-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.p-card:hover .p-img img { transform: scale(1.07); }
.p-brand { display: flex; align-items: center; height: 40px; margin: 22px 0 14px; }
.p-brand img { height: 100%; width: auto; max-width: 170px; object-fit: contain; object-position: left center; }
.p-brand svg { height: 100%; width: auto; fill: none; stroke: var(--green); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

.p-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.p-card p { font-size: 14px; color: #5e5e5e; margin-bottom: 20px; transition: color .5s; }



.p-card.-quote { background: linear-gradient(150deg, var(--blue), var(--blue-2)); color: #fff; justify-content: flex-end; border: 0; }
.p-card.-quote::before { background: var(--navy-800); }
.p-card.-quote h3 { color: #fff; }
.p-card.-quote h3 { font-size: 36px; font-weight: 800; line-height: 1.05; }
.p-card.-quote p { color: #e8e8e8; font-size: 16px; margin: 14px 0 28px; }
.p-card.-quote .btn { align-self: flex-start; }
.h-progress { position: absolute; left: 6vw; right: 6vw; bottom: 6vh; height: 2px; background: rgba(17, 17, 17, .1); }
.h-progress i { position: absolute; inset: 0; background: var(--green-600); transform-origin: left; transform: scaleX(0); }

/* ============ Industries ============ */
.ind-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: 44px; }
.ind-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; border-top: 1px solid var(--line); }
.ind { position: relative; display: grid; grid-template-columns: 48px 1fr auto; align-items: center; gap: 20px; padding: 26px 8px; border-bottom: 1px solid var(--line); overflow: hidden; isolation: isolate; }
.ind::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--green); transform: scaleY(0); transform-origin: bottom; transition: transform .5s var(--ease); }
.ind:hover::before { transform: none; }
.ind-idx { font-family: var(--font-head); font-size: 13px; font-weight: 700; color: var(--dim); transition: color .4s; }
.ind h3 { font-size: clamp(22px, 2.2vw, 32px); font-weight: 700; transition: color .4s, transform .5s var(--ease); }
.ind p { font-size: 14px; color: var(--muted); transition: color .4s; }
.ind-icon { width: 52px; height: 52px; border-radius: 0; display: grid; place-items: center; border: 1px solid var(--line-2); color: var(--green); transition: all .4s; }
.ind-icon svg { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ind:hover h3 { color: #fff; transform: translateX(8px); }
.ind:hover p, .ind:hover .ind-idx { color: rgba(255,255,255,.8); }
.ind:hover .ind-icon { background: #fff; border-color: #fff; color: var(--green); }

/* ============ Big CTA ============ */
/* ============ CTA: angled navy panel ============ */
.cta { position: relative; padding: 40px 0 0; }
.cta-box { position: relative; display: grid; grid-template-columns: 1.35fr 1fr; align-items: center; gap: 56px; padding: 80px 72px; overflow: hidden; isolation: isolate; background: var(--navy-800); color: #fff; clip-path: polygon(0 0, calc(100% - 56px) 0, 100% 56px, 100% 100%, 56px 100%, 0 calc(100% - 56px)); }
.cta-bg { position: absolute; inset: 0; z-index: -3; width: 100%; height: 100%; object-fit: cover; opacity: .16; filter: grayscale(1); }
.cta-box::before { content: ""; position: absolute; top: 0; bottom: 0; right: 0; width: 42%; z-index: -2; background: linear-gradient(150deg, var(--blue), var(--green)); clip-path: polygon(22% 0, 100% 0, 100% 100%, 0 100%); }
.cta-box::after { content: ""; position: absolute; top: 0; bottom: 0; right: calc(42% + 14px); width: 5px; z-index: -2; background: var(--green); transform: skewX(-12deg); transform-origin: bottom; }
.cta-kicker { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 22px; font-family: var(--font-head); font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: #ff5c69; }
.cta-kicker::before { content: ""; width: 7px; height: 22px; background: #ff5c69; box-shadow: -11px 0 0 var(--blue-2); transform: skewX(-18deg); margin-left: 11px; }
.cta-title { font-size: clamp(28px, 3.2vw, 46px); font-weight: 800; line-height: 1.16; color: #fff; text-transform: uppercase; letter-spacing: -.02em; }
.cta-title .hl { display: inline; padding: 0 .14em; background: linear-gradient(90deg, var(--blue), var(--green)) no-repeat left bottom / 0% 94%; -webkit-box-decoration-break: clone; box-decoration-break: clone; transition: background-size 1.1s var(--ease) .3s; }
.cta.is-in .cta-title .hl, .no-anim .cta-title .hl { background-size: 100% 94%; }
.cta-copy p { margin-top: 20px; max-width: 520px; font-size: 17px; color: #bdbdbd; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.btn.-light { border-color: rgba(255,255,255,.4); color: #fff; background: rgba(255,255,255,.05); }
.btn.-light .btn-ic { border-left-color: rgba(255,255,255,.3); background: rgba(255,255,255,.08); }
.btn.-light::before { background: #fff; }
.btn.-light:hover { color: var(--navy-800); border-color: #fff; }
.btn.-light:hover .btn-ic { color: #fff; background: var(--green); }
.cta-points { position: relative; padding-left: 100px; }
.cta-points li { display: flex; align-items: center; gap: 16px; padding: 20px 0; border-bottom: 1px solid rgba(255,255,255,.25); font-family: var(--font-head); font-size: 18px; font-weight: 700; line-height: 1.3; }
.cta-points li:first-child { border-top: 1px solid rgba(255,255,255,.25); }
.cta-points small { flex: none; width: 30px; font-size: 12px; font-variant-numeric: tabular-nums; letter-spacing: .06em; color: rgba(255,255,255,.7); }

/* ============ Contact ============ */
.contact-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; }
.contact-cards { display: grid; gap: 1px; margin-top: 40px; border: 1px solid var(--line); border-radius: 0; overflow: hidden; background: var(--line); }
.contact-card { display: flex; gap: 18px; align-items: flex-start; padding: 22px 24px; background: #fff; }
.contact-icon { flex: none; width: 46px; height: 46px; border-radius: 0; display: grid; place-items: center; background: var(--green-100); color: var(--green); }
.contact-icon svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.contact-card h3 { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.contact-card p, .contact-card a { font-size: 15px; color: var(--muted); }
.contact-card a:hover { color: var(--green); }
.contact-form { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--green); border-radius: 0; padding: 48px; box-shadow: var(--shadow); }
.contact-form h3 { font-size: 30px; font-weight: 800; }
.contact-form > p { color: var(--muted); margin: 8px 0 32px; font-size: 15px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 8px; }
.field input, .field select, .field textarea { width: 100%; padding: 15px 16px; border: 1px solid var(--line-2); border-radius: 0; background: var(--bg-2); color: var(--text); transition: border-color .2s, box-shadow .2s; }
.field select option { background: #fff; }
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green); background: #fff; box-shadow: 0 0 0 4px rgba(236, 43, 58, .15); }
.field.-invalid input, .field.-invalid select { border-color: #d64545; }
.captcha { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); margin-bottom: 24px; cursor: pointer; }
.captcha input { width: 18px; height: 18px; accent-color: var(--green); }
.form-status { margin-top: 16px; font-size: 14px; font-weight: 500; }
.form-status.-ok { color: var(--green); }
.form-status.-err { color: #d64545; }

/* ============ Footer ============ */
.footer { position: relative; background: var(--navy-800); color: #bdbdbd; font-size: 15px; overflow: hidden; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1.3fr; gap: 40px; padding-top: 64px; padding-bottom: 44px; }
.footer-logo { display: inline-flex; background: #fff; padding: 10px 14px; border-radius: 0; margin-bottom: 22px; }
.footer-logo img { height: 42px; width: auto; }
.footer-about p { margin-bottom: 22px; font-size: 14px; }
.footer h3 { color: #fff; font-size: 15px; font-weight: 700; margin-bottom: 22px; letter-spacing: 0; }
.footer-links li + li { margin-top: 10px; }
.footer-links a { font-size: 14px; transition: color .2s; }
.footer-links a:hover { color: #ff5c69; }
.footer-contact li { display: flex; gap: 12px; font-size: 14px; }
.footer-contact li + li { margin-top: 14px; }
.footer-contact svg { flex: none; width: 18px; height: 18px; stroke: #ff5c69; fill: none; stroke-width: 1.7; margin-top: 3px; }
.footer-contact a:hover { color: #fff; }
.social { display: flex; gap: 8px; }
.social a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 0; border: 1px solid rgba(255,255,255,.2); transition: background .3s, border-color .3s; }
.social a:hover { background: var(--green); border-color: var(--green); }
.social a:hover svg { fill: #fff; }
.social svg { width: 15px; height: 15px; fill: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0; font-size: 13px; }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

.to-top { position: fixed; right: 22px; bottom: 22px; z-index: 80; width: 52px; height: 52px; border-radius: 0; background: var(--green); color: #fff; border: 0; cursor: pointer; display: grid; place-items: center; opacity: 0; box-shadow: var(--shadow); visibility: hidden; transform: translateY(10px); transition: all .4s var(--ease); }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2.4; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .statement .w { opacity: 1; }
  .step { opacity: 1; }
}

/* ============ Responsive ============ */
@media (max-width: 1180px) {
  .nav > li > a { padding: 9px 11px; font-size: 14px; }
  .nav > li > a::after { left: 11px; right: 11px; }
  .header-badge { display: none; }
  .header-cta { padding-left: 0; }
  .header-cta::before, .header-cta::after { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr 1fr; }
  .footer-about { grid-column: 1 / -1; }
}
@media (max-width: 1024px) {
  .section { padding: 72px 0; }
  .nav-toggle { display: inline-flex; }
  .header-cta { padding-left: 44px; }
  .header-cta::before, .header-cta::after { display: block; }
  .header-badge { display: inline-flex; }
  .nav { position: fixed; inset: 0; z-index: 100; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0; padding: 110px 24px 40px; border-radius: 0; border: 0; background: #fff; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; clip-path: circle(0% at calc(100% - 56px) 42px); visibility: hidden; transition: clip-path .8s var(--ease), visibility .8s; }
  .nav.is-open { clip-path: circle(150% at calc(100% - 56px) 42px); visibility: visible; }
  .nav > li > a { padding: 16px 4px; border-radius: 0; justify-content: space-between; border-bottom: 1px solid var(--line); font-family: var(--font-head); font-size: 28px; font-weight: 700; }
  .nav > li > a:hover, .nav > li > a[aria-current] { background: none; box-shadow: none; color: var(--green); }
  .nav > li > a::after { display: none; }
  .dropdown { position: static; min-width: 0; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; border-radius: 0; padding: 6px 0 12px; background: none; display: none; backdrop-filter: none; }
  .nav > li:hover .dropdown, .nav > li:focus-within .dropdown { transform: none; }
  .nav > li.is-open .dropdown { display: block; }
  .nav > li.is-open .caret { transform: rotate(180deg); }
  .dropdown a { font-size: 16px; }
  .hero-side { display: none; }
  .about-grid { grid-template-columns: 1fr; gap: 56px; }
  .about-media { max-width: 620px; }
  .stack-inner { grid-template-columns: 1fr 1fr; }
  .stack-body { padding: 36px; }
  .process-grid { grid-template-columns: 1fr; gap: 40px; }
  .process-side { position: static; }
  .process-big { display: none; }
  .ind-list { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .cta-box { grid-template-columns: 1fr; padding: 64px 48px; }
  .cta-box::before { top: auto; width: 100%; height: 46%; clip-path: polygon(0 22%, 100% 0, 100% 100%, 0 100%); }
  .cta-box::after { display: none; }
  .cta-points { padding: 40px 0 0; }
}
@media (max-width: 900px) {
  /* Engagement models: native swipe instead of pinned horizontal scroll */
  .h-pin { height: auto; padding: 64px 0; }
  .h-track { width: auto; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 24px; padding: 0 24px 24px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .h-track::-webkit-scrollbar { display: none; }
  .h-intro { width: 84vw; scroll-snap-align: start; }
  .p-card { width: 78vw; max-width: 360px; min-height: 0; scroll-snap-align: center; }
  .h-progress { display: none; }
}
@media (max-width: 760px) {
  :root { --header-h: 72px; }
  :root { --gutter: 20px; }
  .logo img { height: 55px; }
  .header-cta { padding-left: 36px;display:block; }
  .header-badge { padding: 4px 8px;display:none; }
  .header-badge img { height: 22px; }
  .hero-inner { padding-bottom: 130px; }
  .hero-text { margin-top: 22px; }
  .hero-tabs { grid-template-columns: repeat(3, 1fr); }
  .hero-tab { padding: 18px 10px 20px; }
  .hero-tab strong { display: none; }
  .hero-arrows { display: none; }
  .sol-head, .ind-head { flex-direction: column; align-items: flex-start; }
  .stack-card { top: calc(90px + var(--i) * 14px); min-height: 0; margin-bottom: 6vh; }
  .stack-inner { min-height: 0; }
  .stack-inner { grid-template-columns: 1fr; grid-template-rows: 200px auto; }
  .stack-media { order: -1; }
  .stack-media::after { background: linear-gradient(0deg, var(--card-bg, #fff) 0%, transparent 50%); }
  .stack-body { padding: 26px; }
  .stack-body h3 { margin: 0 0 12px; }
  .stack-top { margin-bottom: 20px; }
  .stack-body p { font-size: 15px; }
  .stack-tags { margin: 18px 0 20px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .section { padding: 60px 0; }
  .hero-actions .btn { flex: 1 1 100%; justify-content: space-between; }
  .check-list { grid-template-columns: 1fr; }
  .about-media { padding: 18px 28px 56px 18px; }
  .about-badge { padding: 14px 22px 14px 16px; bottom: 18px; }
  .about-inset { border-width: 5px; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 30px 22px; }
  .footer-top { grid-template-columns: 1fr; padding-top: 52px; }
  .ind { grid-template-columns: 36px 1fr auto; gap: 14px; }
  .ind-icon { width: 44px; height: 44px; }
  .cta-box { padding: 48px 26px 56px; gap: 36px; clip-path: polygon(0 0, calc(100% - 32px) 0, 100% 32px, 100% 100%, 32px 100%, 0 calc(100% - 32px)); }
}
