/* ==========================================================================
   Annamraju Designs and Technologies LLP - site design system (2026)
   Black + signal red (from the "a" mark), editorial type, no stock photography.
   One stylesheet for every page; nothing here depends on jQuery or Bootstrap.
   ========================================================================== */

:root {
  --ink: #0b0b0d;
  --ink-2: #16161a;
  --ink-3: #24242a;
  --paper: #ffffff;
  --mist: #f6f5f2;
  --mist-2: #eeece7;
  --line: #e4e1da;
  --line-dark: rgba(255, 255, 255, .13);
  --text: #1a1a1f;
  --muted: #5f5f68;
  --muted-dark: #a6a6b0;
  --red: #ed1c24;          /* brand red: graphics, dots, glows */
  --red-strong: #d0121a;   /* red used for text and buttons (passes AA on white) */
  --red-soft: #fdecec;
  --green: #12a150;

  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(10, 10, 12, .05);
  --shadow: 0 1px 2px rgba(10, 10, 12, .04), 0 14px 34px -14px rgba(10, 10, 12, .16);
  --shadow-lg: 0 30px 60px -24px rgba(10, 10, 12, .35);

  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif: "Instrument Serif", "Iowan Old Style", Georgia, "Times New Roman", serif;

  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.62; color: var(--text);
  background: var(--paper); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5 { margin: 0; font-weight: 650; letter-spacing: -.022em; line-height: 1.12; color: var(--ink); }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--red); color: #fff; }
[hidden] { display: none !important; }
form { margin: 0; }

.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); border: 0; white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; z-index: 200; transition: top .2s; }
.skip:focus { top: 12px; }

/* ---------- icons ---------- */
.ic { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ic--sm { width: 1em; height: 1em; }
.ic--lg { width: 1.6em; height: 1.6em; }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 40px); }
.wrap--narrow { max-width: 900px; }
.sec { padding: clamp(68px, 9vw, 128px) 0; position: relative; }
.sec--tight { padding: clamp(44px, 6vw, 80px) 0; }
.sec--mist { background: var(--mist); }
.sec--ink { background: var(--ink); color: #e8e8ec; }
.sec--ink h1, .sec--ink h2, .sec--ink h3, .sec--ink h4 { color: #fff; }
.center { text-align: center; }

.sec-head { max-width: 760px; margin-bottom: clamp(32px, 4.5vw, 60px); }
.sec-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head h2 { font-size: clamp(2rem, 4.2vw, 3.25rem); letter-spacing: -.032em; }
.sec-head p { margin: 18px 0 0; color: var(--muted); font-size: 1.12rem; }
.sec--ink .sec-head p { color: var(--muted-dark); }

.grid { display: grid; gap: clamp(16px, 2vw, 24px); }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.split--top { align-items: start; }

/* ---------- type ---------- */
.display { font-size: clamp(2.7rem, 6.4vw, 5.2rem); letter-spacing: -.045em; line-height: 1.01; font-weight: 650; }
.ital { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }
.display .ital, .sec-head h2 .ital, .phero h1 .ital { font-size: 1.08em; }
.lead { font-size: clamp(1.1rem, 1.5vw, 1.3rem); color: var(--muted); line-height: 1.6; max-width: 62ch; }
.sec--ink .lead { color: var(--muted-dark); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; font-size: .78rem; font-weight: 650; letter-spacing: .14em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 20px;
}
.eyebrow::before { content: ""; width: 9px; height: 7px; background: var(--red); border-radius: 50%; flex: none; }
.sec--ink .eyebrow { color: var(--muted-dark); }
.small { font-size: .9rem; color: var(--muted); }
.mt-0 { margin-top: 0 !important; } .mt-1 { margin-top: 12px; } .mt-2 { margin-top: 24px; } .mt-3 { margin-top: 40px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 24px; border-radius: 999px;
  font-weight: 600; font-size: .98rem; line-height: 1; border: 1.5px solid transparent; transition: transform .2s var(--ease), background .2s, color .2s, border-color .2s, box-shadow .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn .ic { width: 1.1em; height: 1.1em; transition: transform .2s var(--ease); }
.btn:hover .ic { transform: translateX(3px); }
.btn--primary { background: var(--red-strong); color: #fff; box-shadow: 0 10px 24px -10px rgba(208, 18, 26, .65); }
.btn--primary:hover { background: #b80f16; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #000; }
.btn--outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--outline:hover { background: var(--ink); color: #fff; }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: #f1f1f1; }
.btn--outline-light { border-color: rgba(255, 255, 255, .4); color: #fff; }
.btn--outline-light:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); border-bottom: 1.5px solid var(--line); padding-bottom: 2px; transition: border-color .2s, gap .2s; }
.link-arrow:hover { border-color: var(--red); gap: 12px; }
.sec--ink .link-arrow { color: #fff; border-color: var(--line-dark); }

/* ---------- header ---------- */
.hdr {
  position: sticky; top: 0; z-index: 100; height: var(--header-h); background: rgba(255, 255, 255, .86);
  backdrop-filter: saturate(1.6) blur(16px); -webkit-backdrop-filter: saturate(1.6) blur(16px);
  border-bottom: 1px solid transparent; transition: border-color .25s, box-shadow .25s;
}
.hdr.is-scrolled { border-color: var(--line); box-shadow: 0 8px 30px -22px rgba(10, 10, 12, .4); }
.hdr-in { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 36px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav-item { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 999px; font-size: .95rem; font-weight: 550;
  color: var(--text); background: none; border: 0; transition: background .2s, color .2s;
}
.nav-link:hover, .nav-link[aria-expanded="true"], .nav-link.is-active { background: var(--mist); }
.nav-link.is-active { color: var(--red-strong); }
.nav-link .ic { width: .9em; height: .9em; transition: transform .2s; }
.nav-link[aria-expanded="true"] .ic { transform: rotate(180deg); }
.hdr-cta { margin-left: 10px; padding: 12px 20px; font-size: .92rem; }

.mega {
  position: absolute; top: calc(100% + 14px); left: 50%; width: min(720px, 92vw); transform: translate(-50%, 8px); opacity: 0; visibility: hidden;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 14px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px; transition: opacity .2s, transform .25s var(--ease), visibility .2s;
}
.nav-item.is-open > .mega, .nav-item:focus-within > .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
@media (hover: hover) { .nav-item:hover > .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); } }
.mega--sm { width: 340px; grid-template-columns: 1fr; left: auto; right: -12px; transform: translate(0, 8px); }
.nav-item.is-open > .mega--sm, .nav-item:focus-within > .mega--sm { transform: translate(0, 0); }
@media (hover: hover) { .nav-item:hover > .mega--sm { transform: translate(0, 0); } }
.mega a { display: flex; gap: 14px; padding: 14px; border-radius: 12px; transition: background .2s; }
.mega a:hover { background: var(--mist); }
.mega .mi { width: 40px; height: 40px; border-radius: 11px; background: var(--red-soft); color: var(--red-strong); display: grid; place-items: center; flex: none; }
.mega .mi--ink { background: var(--ink); color: #fff; }
.mega strong { display: block; font-size: .95rem; color: var(--ink); font-weight: 600; }
.mega span.d { display: block; font-size: .82rem; color: var(--muted); line-height: 1.4; margin-top: 2px; }
.mega .mega-foot { grid-column: 1 / -1; border-top: 1px solid var(--line); margin-top: 6px; padding: 14px 14px 6px; display: flex; justify-content: space-between; align-items: center; font-size: .9rem; color: var(--muted); }

.burger { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: #fff; place-items: center; }
.drawer { display: none; }

/* ---------- hero (home) ---------- */
.hero {
  position: relative; overflow: hidden; padding: clamp(48px, 7vw, 100px) 0 clamp(56px, 7vw, 104px);
  background:
    radial-gradient(900px 520px at 88% 4%, rgba(237, 28, 36, .11), transparent 62%),
    radial-gradient(760px 460px at -4% 100%, rgba(11, 11, 13, .06), transparent 60%),
    #fff;
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px; -webkit-mask-image: radial-gradient(ellipse 70% 60% at 70% 30%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 70% 60% at 70% 30%, #000 20%, transparent 75%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.04fr .96fr; gap: clamp(28px, 4vw, 64px); align-items: center; }
.hero-pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 12px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 255, 255, .8);
  font-size: .86rem; font-weight: 550; color: var(--muted); margin-bottom: 28px;
}
.hero-pill i { width: 9px; height: 7px; border-radius: 50%; background: var(--red); display: block; }
.hero .lead { margin-top: 26px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 14px 28px; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); }
.hero-trust li { display: flex; align-items: center; gap: 10px; font-size: .92rem; color: var(--muted); font-weight: 500; }
.hero-trust .ic { color: var(--red-strong); }

.hv { position: relative; height: 560px; }
.hv-card { position: absolute; border-radius: 24px; animation: floaty 7s ease-in-out infinite; }
.hv-chat { left: 0; top: 24px; width: min(390px, 80%); background: var(--ink); color: #fff; padding: 20px; box-shadow: var(--shadow-lg); z-index: 2; }
.hv-chat::after { content: ""; position: absolute; inset: -40px -50px auto auto; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(237, 28, 36, .5), transparent 65%); filter: blur(10px); z-index: -1; }
.hv-top { display: flex; align-items: center; gap: 10px; font-size: .82rem; color: var(--muted-dark); margin-bottom: 16px; }
.hv-top b { color: #fff; font-weight: 600; }
.hv-top i { width: 9px; height: 7px; border-radius: 50%; background: var(--red); }
.hv-top .live { margin-left: auto; display: flex; align-items: center; gap: 6px; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
.hv-top .live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #34d27b; box-shadow: 0 0 0 4px rgba(52, 210, 123, .18); }
.msg { max-width: 88%; padding: 11px 14px; font-size: .88rem; line-height: 1.5; margin-bottom: 10px; }
.msg--user { margin-left: auto; background: #fff; color: #17171b; border-radius: 16px 16px 4px 16px; }
.msg--bot { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .1); border-radius: 16px 16px 16px 4px; color: #ececf0; }
.msg--bot b { color: #fff; }
.msg-acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.msg-acts span { padding: 7px 12px; border-radius: 999px; font-size: .78rem; font-weight: 550; border: 1px solid rgba(255, 255, 255, .22); color: #fff; }
.msg-acts span:first-child { background: var(--red-strong); border-color: var(--red-strong); }

.hv-pipe { right: 0; bottom: 12px; width: min(340px, 74%); background: #fff; border: 1px solid var(--line); padding: 20px; box-shadow: var(--shadow); z-index: 3; animation-delay: -3s; }
.hv-pipe h4 { font-size: .95rem; display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.hv-pipe h4 small { font-weight: 550; color: var(--muted); font-size: .76rem; }
.pipe { position: relative; display: grid; gap: 14px; }
.pipe::before { content: ""; position: absolute; left: 11px; top: 12px; bottom: 12px; width: 2px; background: var(--line); }
.pipe li { position: relative; display: flex; align-items: center; gap: 14px; font-size: .9rem; font-weight: 550; }
.pipe .dot { width: 24px; height: 24px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; z-index: 1; flex: none; }
.pipe .dot .ic { width: 13px; height: 13px; stroke-width: 2.6; }
.pipe .on .dot { background: var(--red-strong); box-shadow: 0 0 0 6px rgba(208, 18, 26, .15); animation: pulse 2s ease-in-out infinite; }
.pipe .off { color: var(--muted); }
.pipe .off .dot { background: #fff; border: 2px solid var(--line); }
.pipe em { margin-left: auto; font-style: normal; font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--red-strong); font-weight: 650; }

.hv-chips { right: 4%; top: 0; display: flex; gap: 8px; flex-wrap: wrap; width: 240px; justify-content: flex-end; animation-delay: -5s; z-index: 1; }
.hv-chips span { padding: 8px 13px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .8rem; font-weight: 600; box-shadow: var(--shadow-sm); }
.hv-dot { left: 8%; bottom: 20px; width: 78px; height: 62px; border-radius: 50%; background: var(--red); box-shadow: 0 24px 40px -16px rgba(237, 28, 36, .7); animation-duration: 9s; z-index: 1; }
.hv-ring { right: 28%; bottom: 150px; width: 120px; height: 120px; border-radius: 50%; border: 1.5px dashed rgba(11, 11, 13, .25); animation: spin 40s linear infinite; z-index: 0; }

@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 6px rgba(208, 18, 26, .15); } 50% { box-shadow: 0 0 0 10px rgba(208, 18, 26, .06); } }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- marquee (clients) ---------- */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; padding: 30px 0; overflow: hidden; }
.strip-label { text-align: center; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 22px; }
.marquee { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover { animation-play-state: paused; }
.marquee ul { display: flex; align-items: center; gap: clamp(40px, 6vw, 76px); padding-right: clamp(40px, 6vw, 76px); }
.marquee img { height: 46px; width: auto; max-width: 180px; object-fit: contain; filter: grayscale(1); opacity: .78; mix-blend-mode: multiply; transition: filter .3s, opacity .3s; }
.marquee img:hover { filter: none; opacity: 1; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- cards ---------- */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 2.4vw, 32px); transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.card--lift:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: #d6d2c9; }
.card h3 { font-size: 1.22rem; margin: 20px 0 10px; letter-spacing: -.018em; }
.card p { color: var(--muted); margin: 0; font-size: .98rem; }
.card--ink { background: var(--ink-2); border-color: var(--line-dark); }
.card--ink h3 { color: #fff; }
.card--ink p { color: var(--muted-dark); }
.sec--mist .card { background: #fff; }
.ibox { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; background: var(--red-soft); color: var(--red-strong); }
.ibox .ic { width: 24px; height: 24px; }
.ibox--ink { background: var(--ink); color: #fff; }
.card--ink .ibox { background: rgba(237, 28, 36, .16); color: #ff5a60; }

/* service cards (bento on home) */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(14px, 1.8vw, 22px); }
.bento > * { grid-column: span 2; }
.bento .b-wide { grid-column: span 3; }
.svc { display: flex; flex-direction: column; min-height: 100%; }
.svc .more { margin-top: auto; padding-top: 22px; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .92rem; color: var(--ink); }
.svc .more .ic { width: 1em; height: 1em; transition: transform .2s; }
.svc:hover .more .ic { transform: translateX(5px); }
.svc--ai { background: var(--ink); border-color: var(--ink); color: #fff; position: relative; overflow: hidden; }
.svc--ai::after { content: ""; position: absolute; right: -60px; top: -60px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(237, 28, 36, .55), transparent 66%); }
.svc--ai h3, .svc--ai .more { color: #fff; }
.svc--ai p { color: var(--muted-dark); }
.svc--ai .ibox { background: var(--red-strong); color: #fff; position: relative; z-index: 1; }
.svc--ai > * { position: relative; z-index: 1; }
.tag { display: inline-block; padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, .12); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 650; color: #fff; margin-left: 10px; vertical-align: middle; }

/* feature rows */
.feat { display: flex; gap: 18px; }
.feat h4 { font-size: 1.05rem; letter-spacing: -.012em; margin-bottom: 6px; }
.feat p { color: var(--muted); font-size: .96rem; margin: 0; }
.sec--ink .feat p { color: var(--muted-dark); }
.feat .ibox { width: 46px; height: 46px; border-radius: 13px; }
.sec--ink .feat .ibox { background: rgba(237, 28, 36, .16); color: #ff5a60; }

.checks li { display: flex; gap: 12px; padding: 7px 0; color: var(--text); }
.checks .ic { color: var(--red-strong); margin-top: 3px; stroke-width: 2.4; }
.sec--ink .checks li { color: #dcdce2; }

/* ---------- AI section ---------- */
.ai { position: relative; overflow: hidden; }
.ai::before { content: ""; position: absolute; left: 50%; top: -260px; width: 900px; height: 700px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(237, 28, 36, .22), transparent 70%); pointer-events: none; }
.ai .wrap { position: relative; }
.ai-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); border-radius: var(--radius-lg); overflow: hidden; }
.ai-cell { background: var(--ink); padding: clamp(24px, 2.6vw, 38px); transition: background .3s; }
.ai-cell:hover { background: var(--ink-2); }
.ai-cell h3 { font-size: 1.15rem; margin: 22px 0 10px; }
.ai-cell p { color: var(--muted-dark); font-size: .95rem; margin: 0; }
.ai-cell .ibox { background: rgba(237, 28, 36, .16); color: #ff5a60; }
.models { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; align-items: center; }
.models b { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-dark); margin-right: 6px; font-weight: 600; }
.models span { padding: 8px 15px; border: 1px solid var(--line-dark); border-radius: 999px; font-size: .88rem; color: #fff; font-weight: 550; }

/* ---------- industries ---------- */
.ind-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.ind {
  display: flex; flex-direction: column; gap: 22px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
  transition: transform .3s var(--ease), border-color .3s, box-shadow .3s, background .3s; min-height: 156px;
}
.ind:hover { transform: translateY(-4px); border-color: var(--ink); box-shadow: var(--shadow); }
.ind .ic { width: 28px; height: 28px; color: var(--red-strong); }
.ind strong { margin-top: auto; font-size: 1.02rem; font-weight: 600; letter-spacing: -.012em; color: var(--ink); line-height: 1.25; }
.ind small { display: block; font-weight: 450; font-size: .84rem; color: var(--muted); margin-top: 4px; letter-spacing: 0; }

.ind-row { display: grid; grid-template-columns: 300px 1fr; gap: clamp(24px, 5vw, 72px); padding: clamp(36px, 5vw, 60px) 0; border-top: 1px solid var(--line); }
.ind-row:first-of-type { border-top: 0; padding-top: 0; }
.ind-row h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); letter-spacing: -.03em; margin-top: 18px; }
.ind-row .ibox { width: 58px; height: 58px; }
.ind-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 40px; }
.ind-cols h5 { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 650; margin-bottom: 12px; }
.ind-cols li { padding: 6px 0 6px 20px; position: relative; font-size: .97rem; }
.ind-cols li::before { content: ""; position: absolute; left: 0; top: 15px; width: 7px; height: 5px; background: var(--red); border-radius: 50%; }

/* ---------- process / steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; counter-reset: s; border-top: 1px solid var(--line); }
.steps--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.step { padding: 32px 28px 8px 0; position: relative; counter-increment: s; }
.step + .step { padding-left: 28px; border-left: 1px solid var(--line); }
.step::before { content: "0" counter(s); display: block; font-family: var(--serif); font-style: italic; font-size: 3.2rem; line-height: 1; color: var(--red-strong); margin-bottom: 22px; }
.step h3 { font-size: 1.28rem; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: .96rem; min-height: 3.1em; }
.step ul { margin-top: 14px; }
.step li { font-size: .88rem; color: var(--muted); padding: 3px 0; }
.sec--ink .steps, .sec--ink .step + .step { border-color: var(--line-dark); }
.sec--ink .step p, .sec--ink .step li { color: var(--muted-dark); }

/* engagement models */
.model { display: flex; flex-direction: column; }
.model .for { margin-top: auto; padding-top: 22px; border-top: 1px solid var(--line); font-size: .86rem; color: var(--muted); }
.model .for b { display: block; color: var(--ink); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 4px; }
.model h3 { margin-top: 0; }

/* ---------- facts ---------- */
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; }
.fact { padding: 28px 30px; }
.fact + .fact { border-left: 1px solid var(--line); }
.fact b { display: block; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 2.6rem; line-height: 1; letter-spacing: -.02em; color: var(--ink); }
.fact span { display: block; margin-top: 10px; font-size: .94rem; color: var(--muted); }

/* ---------- tech ---------- */
.tech { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.tech-group { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px; background: #fff; }
.tech-group h4 { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 650; margin-bottom: 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 8px 14px; border-radius: 999px; background: var(--mist); border: 1px solid var(--line); font-size: .88rem; font-weight: 550; color: var(--ink); }
.chip--red { background: var(--red-soft); border-color: #f6c8ca; color: var(--red-strong); }
.sec--ink .chip { background: rgba(255, 255, 255, .06); border-color: var(--line-dark); color: #fff; }
.sec--ink .tech-group { background: var(--ink-2); border-color: var(--line-dark); }

/* ---------- work ---------- */
.work { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; transition: transform .3s var(--ease), box-shadow .3s; }
.work:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.work-media { background: #f3f2ef; display: grid; place-items: center; padding: 26px 26px 12px; min-height: 250px; position: relative; }
.work-media img { max-height: 230px; width: auto; max-width: 100%; }
.work-media .phone { position: absolute; right: 18px; bottom: 0; height: 170px; width: auto; max-height: none; transform: translateY(8px); filter: drop-shadow(0 10px 18px rgba(10, 10, 12, .22)); }
.work-body { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.work-body .k { font-size: .74rem; letter-spacing: .13em; text-transform: uppercase; font-weight: 650; color: var(--red-strong); margin-bottom: 8px; }
.work-body h3 { font-size: 1.28rem; margin-bottom: 10px; }
.work-body p { color: var(--muted); font-size: .96rem; margin: 0 0 16px; }
.work-body .chips { margin-top: auto; }
.work-body .chip { font-size: .78rem; padding: 5px 11px; }
.logos { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.logos li { background: #fff; display: grid; place-items: center; padding: 26px 18px; min-height: 112px; }
.logos img { max-height: 56px; width: auto; max-width: 140px; object-fit: contain; filter: grayscale(1); opacity: .7; mix-blend-mode: multiply; transition: filter .3s, opacity .3s; }
.logos li:hover img { filter: none; opacity: 1; }

/* ---------- callout (Advlorex) ---------- */
.callout { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--ink); color: #fff; padding: clamp(34px, 5vw, 64px); display: grid; grid-template-columns: 1.25fr .75fr; gap: 32px; align-items: center; }
.callout::after { content: ""; position: absolute; right: -80px; bottom: -120px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(237, 28, 36, .45), transparent 66%); }
.callout > * { position: relative; z-index: 1; }
.callout h2 { color: #fff; font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
.callout p { color: var(--muted-dark); margin: 16px 0 0; max-width: 52ch; }

/* ---------- inner page hero ---------- */
.phero { padding: clamp(52px, 7vw, 100px) 0 clamp(44px, 6vw, 84px); background: radial-gradient(800px 420px at 92% 0%, rgba(237, 28, 36, .10), transparent 62%), var(--mist); border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.phero h1 { font-size: clamp(2.4rem, 5.4vw, 4.4rem); letter-spacing: -.04em; line-height: 1.03; max-width: 18ch; }
.phero h1.wide { max-width: 22ch; }
.phero .lead { margin-top: 24px; }
.phero--ink { background: radial-gradient(800px 460px at 90% -10%, rgba(237, 28, 36, .32), transparent 62%), var(--ink); border-color: var(--ink); color: #e8e8ec; }
.phero--ink h1 { color: #fff; } .phero--ink .lead { color: var(--muted-dark); } .phero--ink .eyebrow { color: var(--muted-dark); }
.crumbs { display: flex; gap: 8px; align-items: center; font-size: .86rem; color: var(--muted); margin-bottom: 28px; }
.crumbs a:hover { color: var(--red-strong); }
.crumbs .sep { opacity: .5; }
.phero--ink .crumbs { color: var(--muted-dark); }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 0; font-size: 1.1rem; font-weight: 600; letter-spacing: -.012em; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { transition: transform .25s; color: var(--red-strong); flex: none; }
.faq details[open] summary .ic { transform: rotate(45deg); }
.faq details p { color: var(--muted); max-width: 70ch; padding-bottom: 22px; margin: 0; }

/* ---------- CTA band ---------- */
.cta { position: relative; overflow: hidden; background: var(--ink); color: #fff; border-radius: var(--radius-lg); padding: clamp(40px, 6vw, 84px); text-align: center; }
.cta::before { content: ""; position: absolute; left: 50%; top: -240px; width: 760px; height: 520px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(237, 28, 36, .42), transparent 72%); }
.cta > * { position: relative; }
.cta h2 { color: #fff; font-size: clamp(2rem, 4.4vw, 3.4rem); max-width: 18ch; margin: 0 auto; }
.cta p { color: var(--muted-dark); max-width: 54ch; margin: 20px auto 0; }
.cta .btn-row { justify-content: center; }

/* ---------- contact + forms ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 3.4vw, 44px); box-shadow: var(--shadow); }
.form h2 { font-size: 1.7rem; margin-bottom: 8px; }
.form > p { color: var(--muted); margin-bottom: 26px; }
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: .84rem; font-weight: 600; margin-bottom: 7px; color: var(--ink); }
.field label i { color: var(--red-strong); font-style: normal; }
.input, .field input[type=text], .field input[type=email], .field input[type=tel], .field select, .field textarea, .field input[type=file] {
  width: 100%; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; font: inherit; font-size: .98rem; color: var(--text);
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(11, 11, 13, .08); }
.field input::placeholder, .field textarea::placeholder { color: #9a9aa3; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { padding: 14px 18px; border-radius: 12px; font-size: .95rem; margin-bottom: 20px; }
.alert--ok { background: #e8f7ee; color: #0b6b34; border: 1px solid #b8e6c9; }
.alert--err { background: var(--red-soft); color: #a30f15; border: 1px solid #f6c8ca; }
.form .btn { width: 100%; padding: 16px 24px; }
.form .note { font-size: .82rem; color: var(--muted); margin: 14px 0 0; text-align: center; }
.val { color: #a30f15; font-size: .82rem; display: block; margin-top: 5px; }

.info-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; background: #fff; margin-bottom: 16px; }
.info-card h4 { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 650; margin-bottom: 16px; }
.info-row { display: flex; gap: 14px; padding: 9px 0; align-items: flex-start; }
.info-row .ic { color: var(--red-strong); margin-top: 3px; }
.info-row a:hover { color: var(--red-strong); }
.info-row small { display: block; color: var(--muted); font-size: .82rem; }
.status { display: inline-flex; align-items: center; gap: 9px; font-size: .88rem; font-weight: 600; padding: 7px 14px; border-radius: 999px; background: var(--mist); border: 1px solid var(--line); }
.status i { width: 8px; height: 8px; border-radius: 50%; background: #aaa; }
.status.on i { background: var(--green); box-shadow: 0 0 0 4px rgba(18, 161, 80, .18); }

/* ---------- footer ---------- */
.ftr { background: var(--ink); color: #c9c9d1; padding: clamp(56px, 7vw, 96px) 0 28px; margin-top: 0; }
.ftr-top { display: grid; grid-template-columns: 1.3fr repeat(4, 1fr); gap: clamp(28px, 4vw, 56px); padding-bottom: 48px; border-bottom: 1px solid var(--line-dark); }
.ftr-brand img { height: 38px; width: auto; margin-bottom: 22px; }
.ftr-brand p { font-size: .94rem; color: var(--muted-dark); max-width: 34ch; }
.ftr h5 { color: #fff; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 650; margin-bottom: 18px; }
.ftr li a { display: inline-block; padding: 5px 0; font-size: .94rem; color: #c9c9d1; transition: color .2s; }
.ftr li a:hover { color: #fff; }
.ftr .social { display: flex; gap: 10px; margin-top: 24px; }
.ftr .social a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-dark); display: grid; place-items: center; transition: background .2s, border-color .2s; }
.ftr .social a:hover { background: var(--red-strong); border-color: var(--red-strong); }
.ftr-entity { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 32px; padding: 34px 0; border-bottom: 1px solid var(--line-dark); font-size: .88rem; color: var(--muted-dark); }
.ftr-entity b { color: #fff; font-weight: 600; display: block; margin-bottom: 6px; }
.ftr-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; padding-top: 26px; font-size: .84rem; color: var(--muted-dark); }
.ftr-bottom a:hover { color: #fff; }
.ftr-bottom .legal { display: flex; gap: 22px; flex-wrap: wrap; }

/* ---------- legal / prose ---------- */
.prose { max-width: 820px; }
.prose h1 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); letter-spacing: -.04em; margin-bottom: 10px; }
.prose h2 { font-size: 1.4rem; margin: 2.4em 0 .7em; letter-spacing: -.02em; }
.prose h3 { font-size: 1.1rem; margin: 1.8em 0 .5em; }
.prose p, .prose li { color: #34343b; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { padding: 3px 0; }
.prose a { color: var(--red-strong); text-decoration: underline; text-underline-offset: 3px; }
.prose .updated { color: var(--muted); font-size: .92rem; margin-bottom: 2.2em; }
.prose table { width: 100%; border-collapse: collapse; margin: 1em 0 1.6em; font-size: .96rem; }
.prose th, .prose td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { color: var(--muted); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; width: 34%; }

/* ---------- company facts table (About) ---------- */
.dl { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; }
.dl div { display: grid; grid-template-columns: 220px 1fr; gap: 24px; padding: 18px 26px; border-bottom: 1px solid var(--line); }
.dl div:last-child { border-bottom: 0; }
.dl dt { color: var(--muted); font-size: .88rem; font-weight: 600; }
.dl dd { margin: 0; font-weight: 500; }

/* ---------- reveal on scroll ---------- */
.rv { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.rv.in { opacity: 1; transform: none; }
.rv-d1 { transition-delay: .08s; } .rv-d2 { transition-delay: .16s; } .rv-d3 { transition-delay: .24s; }
.no-js .rv { opacity: 1; transform: none; }

/* ---------- 404 ---------- */
.nf { min-height: 62vh; display: grid; place-items: center; text-align: center; padding: 80px 0; }
.nf .big { font-family: var(--serif); font-style: italic; font-size: clamp(7rem, 22vw, 16rem); line-height: .9; color: var(--ink); letter-spacing: -.04em; }
.nf .big span { color: var(--red); }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .nav, .hdr-cta { display: none; }
  .burger { display: grid; }
  .drawer {
    display: block; position: fixed; inset: var(--header-h) 0 0 0; background: #fff; padding: 20px clamp(20px, 4vw, 40px) 40px; overflow-y: auto;
    transform: translateY(-12px); opacity: 0; visibility: hidden; transition: opacity .25s, transform .3s var(--ease), visibility .25s; z-index: 99;
  }
  .drawer.open { opacity: 1; transform: none; visibility: visible; }
  .drawer a, .drawer summary { display: flex; align-items: center; justify-content: space-between; padding: 16px 4px; font-size: 1.12rem; font-weight: 600; border-bottom: 1px solid var(--line); color: var(--ink); cursor: pointer; list-style: none; }
  .drawer summary::-webkit-details-marker { display: none; }
  .drawer details[open] summary .ic { transform: rotate(180deg); }
  .drawer .sub a { font-size: 1rem; font-weight: 500; padding: 13px 4px 13px 18px; color: var(--muted); }
  /* a.btn out-ranks the generic ".drawer a" link rule so the button keeps its own colours */
  .drawer a.btn { width: 100%; margin-top: 24px; justify-content: center; padding: 16px 24px; font-size: 1rem; color: #fff; border: 1.5px solid transparent; }
  body.menu-open { overflow: hidden; }

  .hero-grid { grid-template-columns: 1fr; }
  .hv { height: 500px; max-width: 560px; margin: 0 auto; width: 100%; }
  .bento > *, .bento .b-wide { grid-column: span 3; }
  .ind-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ai-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .logos { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .ftr-top { grid-template-columns: 1fr 1fr 1fr; }
  .ftr-brand { grid-column: 1 / -1; }
  .callout { grid-template-columns: 1fr; }
  .ind-row { grid-template-columns: 1fr; gap: 24px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step:nth-child(3) { border-left: 0; padding-left: 0; }
  .step:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 8px; }
}
@media (max-width: 820px) {
  body { font-size: 16px; }
  .steps--3 { grid-template-columns: 1fr; }
  .steps--3 .step, .steps--3 .step + .step { padding-left: 0; border-left: 0; }
  .steps--3 .step + .step { border-top: 1px solid var(--line); margin-top: 8px; }
  .split, .contact-grid { grid-template-columns: 1fr; }
  .g3, .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tech { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; }
  .fact + .fact { border-left: 0; border-top: 1px solid var(--line); }
  .ftr-entity { grid-template-columns: 1fr; gap: 20px; }
  .dl div { grid-template-columns: 1fr; gap: 4px; }
}
@media (max-width: 620px) {
  .bento > *, .bento .b-wide { grid-column: 1 / -1; }
  .g2, .g3, .g4 { grid-template-columns: 1fr; }
  .ind-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .ind { padding: 18px; min-height: 140px; }
  .ai-grid { grid-template-columns: 1fr; }
  .logos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .frow, .ind-cols { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step, .step + .step { padding-left: 0; border-left: 0; }
  .step + .step { border-top: 1px solid var(--line); margin-top: 8px; }
  .ftr-top { grid-template-columns: 1fr 1fr; }
  .hv { height: 470px; }
  .hv-chips, .hv-ring { display: none; }
  .btn-row .btn { flex: 1 1 100%; }
  .work-media .phone { height: 140px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .rv { opacity: 1; transform: none; }
}
@media print {
  .hdr, .drawer, .ftr, .cta, .hv { display: none !important; }
  .rv { opacity: 1; transform: none; }
}
