/*
 * За нас page (templates/about.html, static/js/about.js + about3d.js). Built from the client's
 * demo (artec-za-nas.html). Everything is scoped under .ab; the light sections use the tokens
 * below, which html.dark redefines, so the page follows the navbar's dark switch.
 */
.ab {
  --red: #CF2E2E; --red-2: #E84545; --red-soft: #FDECEC;
  --ink: #171717; --on-ink: #fff; --muted: #5F6368; --line: #E7E8EA;
  --bg: #fff; --bg-alt: #F5F6F7; --card: #fff; --dots: #D5D9DC;
  --night: #0A0D0F; --night-2: #12171A;
  --text-d: #E6EAEC; --muted-d: #8E99A0; --line-d: rgba(255,255,255,.09);
  --mono: ui-monospace, "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
  --ease: cubic-bezier(.19,1,.22,1);
  --shadow: 0 24px 50px rgba(0,0,0,.08);
  color: var(--ink); background: var(--bg); line-height: 1.6; overflow-x: clip;
}
html.dark .ab {
  --red-soft: rgba(232,69,69,.14);
  --ink: #ECEFF1; --on-ink: #12171A; --muted: #A3ADB3; --line: rgba(255,255,255,.12);
  --bg: #171D21; --bg-alt: #1B2226; --card: #222A2F; --dots: #34404a; --shadow: 0 24px 50px rgba(0,0,0,.35);
}
.ab a { color: inherit; text-decoration: none; }
.ab .wrap { max-width: 1220px; margin: 0 auto; padding: 0 20px; }
.ab section { padding: 110px 0; position: relative; }
.ab section[id] { scroll-margin-top: 88px; }
@media (max-width: 1023px) { .ab section[id] { scroll-margin-top: 56px; } }
.ab .kd { background: var(--night); color: var(--text-d); }
.ab .alt { background: var(--bg-alt); }
.ab .eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--red); font-weight: 600; margin-bottom: 16px; }
.ab .eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; }
.ab .kd .eyebrow, .ab .hero .eyebrow { color: var(--red-2); }
.ab h1, .ab h2, .ab h3 { letter-spacing: -.025em; line-height: 1.08; font-weight: 800; }
.ab h2 { font-size: clamp(2rem, 4.2vw, 3.3rem); margin-bottom: 18px; }
.ab .kd h2 { color: #fff; }
.ab .lead { font-size: 1.12rem; color: var(--muted); max-width: 640px; }
.ab .kd .lead { color: var(--muted-d); }
.ab .link-red { color: var(--red); font-weight: 700; }
.ab .btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border-radius: 999px; padding: 15px 28px; font-weight: 700; border: 2px solid transparent; transition: .25s var(--ease); white-space: nowrap; line-height: 1.2; }
.ab .btn-red { background: var(--red); color: #fff; box-shadow: 0 12px 30px rgba(207,46,46,.32); }
.ab .btn-red:hover { background: var(--red-2); transform: translateY(-2px); }
.ab .btn-ghost { border-color: rgba(255,255,255,.3); color: #fff; }
.ab .btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.06); }
.ab .btn-line { border-color: var(--ink); color: var(--ink); }
.ab .btn-line:hover { background: var(--ink); color: var(--on-ink); }
.ab .btn svg { width: 18px; height: 18px; transition: transform .25s; }
.ab .btn:hover svg { transform: translateX(4px); }

/* ===== HERO ===== */
.ab .hero { min-height: calc(100svh - 118px); background: var(--night); color: #fff; padding: 0; display: flex; align-items: center; overflow: hidden; }
.ab #stage3d { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.ab .shade { position: absolute; inset: 0; pointer-events: none; z-index: 1; background: linear-gradient(90deg, rgba(10,13,15,.96) 0%, rgba(10,13,15,.75) 32%, rgba(10,13,15,0) 56%), linear-gradient(0deg, rgba(10,13,15,.9) 0%, rgba(10,13,15,0) 20%); }
.ab .hero .wrap { position: relative; z-index: 2; width: 100%; pointer-events: none; }
.ab .hero .wrap a { pointer-events: auto; }
.ab .hgrid { max-width: 600px; padding: 48px 0 90px; }
.ab .hero h1 { font-size: clamp(2.3rem, 4.4vw, 4.1rem); letter-spacing: -.035em; margin-bottom: 26px; }
.ab .hero h1 .ln { display: block; overflow: hidden; padding-bottom: .05em; }
.ab .hero h1 .ln > span { display: block; transform: translateY(110%); animation: ab-rise 1.2s var(--ease) forwards; }
.ab .hero h1 .ln:nth-child(2) > span { animation-delay: .1s; }
.ab .hero h1 .ln:nth-child(3) > span { animation-delay: .2s; }
.ab .hero h1 em { font-style: normal; color: var(--red-2); }
.ab .hero h1 .dim { color: #7F8A90; font-size: .62em; letter-spacing: -.02em; margin-top: .3em; }
.ab .hero p { color: #B7C0C5; font-size: 1.08rem; margin-bottom: 26px; }
.ab .hero .ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.ab .fu { opacity: 0; transform: translateY(18px); animation: ab-fu 1s var(--ease) forwards; }
.ab .fu.d1 { animation-delay: .45s; } .ab .fu.d2 { animation-delay: .6s; }
@keyframes ab-rise { to { transform: none; } }
@keyframes ab-fu { to { opacity: 1; transform: none; } }
.ab .lbl3d { position: absolute; z-index: 2; transform: translate(-50%, -100%); pointer-events: none; text-align: center; font-family: var(--mono); white-space: nowrap; opacity: 0; }
.ab .lbl3d b { display: block; font-family: "DM Sans", sans-serif; font-weight: 800; font-size: 1.05rem; letter-spacing: .06em; color: #fff; }
.ab .lbl3d span { font-size: .64rem; letter-spacing: .14em; color: var(--muted-d); text-transform: uppercase; }
.ab .lbl3d.main b { font-size: 1.25rem; }
.ab .lbl3d.main span { color: #fff; background: var(--red); padding: 3px 8px; border-radius: 5px; letter-spacing: .12em; }
.ab .lbl3d::after { content: ""; display: block; width: 1px; height: 26px; margin: 6px auto 0; background: linear-gradient(rgba(255,255,255,.5), transparent); }
.ab .scrollcue { position: absolute; z-index: 3; left: 50%; bottom: 22px; width: 24px; height: 38px; margin-left: -12px; border: 2px solid rgba(255,255,255,.35); border-radius: 14px; }
.ab .scrollcue i { position: absolute; left: 50%; top: 7px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: ab-cue 1.8s ease-in-out infinite; }
@keyframes ab-cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }
.ab.no3d .hero { background: radial-gradient(ellipse at 70% 40%, #3A1517 0%, #0A0D0F 60%); }
@media (max-width: 900px) {
  .ab .hero { min-height: calc(100svh + 200px); align-items: flex-start; }
  .ab .hgrid { padding: 36px 0 0; }
  .ab #stage3d { top: auto; bottom: 0; height: 62svh; }
  .ab .shade { background: linear-gradient(180deg, rgba(10,13,15,.97) 0%, rgba(10,13,15,.8) 40%, rgba(10,13,15,0) 62%), linear-gradient(0deg, rgba(10,13,15,.9) 0%, rgba(10,13,15,0) 15%); }
  .ab .lbl3d b { font-size: .85rem; } .ab .lbl3d.main b { font-size: 1rem; } .ab .lbl3d span { font-size: .55rem; }
  .ab .scrollcue { display: none; }
}

/* ===== NUMBERS ===== */
.ab .nums { background: var(--night); border-top: 1px solid var(--line-d); }
.ab .nums .wrap { display: grid; grid-template-columns: repeat(5, 1fr); }
.ab .num { padding: 38px 18px; border-right: 1px solid var(--line-d); color: #fff; }
.ab .num:last-child { border-right: 0; }
.ab .num b { display: block; font-size: clamp(2.2rem, 3.8vw, 3.2rem); font-weight: 900; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.ab .num b::after { content: ""; display: block; width: 26px; height: 3px; background: var(--red-2); margin-top: 14px; border-radius: 2px; }
.ab .num span { color: var(--muted-d); font-size: .9rem; display: block; margin-top: 10px; }
@media (max-width: 900px) {
  .ab .nums .wrap { grid-template-columns: repeat(2, 1fr); padding: 0; }
  .ab .num { border-bottom: 1px solid var(--line-d); padding: 28px 20px; }
  .ab .num:nth-child(2n) { border-right: 0; }
  .ab .num:last-child { grid-column: 1 / -1; border-bottom: 0; }
}

/* ===== TWO ROLES ===== */
.ab .roles { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 50px; }
.ab .role { border-radius: 26px; position: relative; overflow: hidden; isolation: isolate; transition: transform .5s var(--ease), box-shadow .5s var(--ease); display: flex; flex-direction: column; }
.ab .role:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.ab .role.r1 { background: linear-gradient(155deg, #2A1416 0%, #12171A 60%); color: #fff; border: 1px solid rgba(232,69,69,.35); }
.ab .role.r2 { background: var(--card); border: 1px solid var(--line); }
.ab .role-img { height: 210px; position: relative; overflow: hidden; }
.ab .role-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.ab .role:hover .role-img img { transform: scale(1.05); }
.ab .role-img::after { content: ""; position: absolute; inset: 0; }
.ab .r1 .role-img::after { background: linear-gradient(0deg, #231517 0%, rgba(35,21,23,0) 70%); }
.ab .r2 .role-img::after { background: linear-gradient(0deg, var(--card) 0%, transparent 70%); }
.ab .role-tx { padding: 8px 40px 40px; display: flex; flex-direction: column; flex: 1; }
.ab .role .tag { display: inline-block; width: max-content; font-family: var(--mono); font-size: .7rem; letter-spacing: .14em; font-weight: 600; padding: 6px 11px; border-radius: 7px; margin-bottom: 18px; }
.ab .r1 .tag { background: var(--red); color: #fff; }
.ab .r2 .tag { background: var(--ink); color: var(--on-ink); }
.ab .role .brands { font-size: clamp(1.4rem, 2.6vw, 2rem); font-weight: 900; letter-spacing: .04em; margin-bottom: 8px; }
.ab .r1 .brands { color: var(--red-2); }
.ab .role h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin-bottom: 12px; }
.ab .role p { opacity: .8; margin-bottom: 22px; max-width: 480px; }
.ab .role ul { list-style: none; display: grid; gap: 10px; margin: 0 0 30px; padding: 0; }
.ab .role li { display: flex; gap: 12px; align-items: flex-start; }
.ab .role li svg { flex: none; width: 20px; height: 20px; margin-top: 2px; }
.ab .r1 li svg { color: var(--red-2); } .ab .r2 li svg { color: var(--red); }
.ab .role .btn { margin-top: auto; align-self: flex-start; }
.ab .join { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 26px; font-family: var(--mono); font-size: .82rem; color: var(--muted); text-align: center; }
.ab .join i { height: 1px; flex: 1; max-width: 200px; background: var(--line); }
@media (max-width: 900px) {
  .ab .roles { grid-template-columns: 1fr; }
  .ab .role-tx { padding: 4px 24px 30px; }
  .ab .role-img { height: 170px; }
  .ab .join i { display: none; }
}

/* ===== PROCESS (pinned) ===== */
.ab .proc { height: 420vh; padding: 0; }
.ab .proc .pin { position: sticky; top: 88px; height: calc(100vh - 88px); display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
.ab .proc .head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: 46px; }
.ab .proc h2 { margin: 0; }
.ab .pctl { display: flex; align-items: center; gap: 22px; flex: none; }
.ab .parrows { display: flex; gap: 10px; }
.ab .parr { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid rgba(255,255,255,.22); background: rgba(255,255,255,.04); color: #fff; cursor: pointer; transition: .25s var(--ease); }
.ab .parr svg { width: 20px; height: 20px; }
.ab .parr:hover:not(:disabled) { background: var(--red); border-color: var(--red); }
.ab .parr:disabled { opacity: .3; cursor: default; }
.ab .parr:focus-visible { outline: 2px solid var(--red-2); outline-offset: 3px; }
.ab .psteps { display: flex; align-items: center; gap: 10px; flex: none; position: relative; width: 260px; justify-content: space-between; }
.ab .psteps i { width: 12px; height: 12px; border-radius: 50%; background: var(--night); border: 2px solid rgba(255,255,255,.2); position: relative; z-index: 1; transition: .4s var(--ease); }
.ab .psteps i.on { background: var(--red-2); border-color: var(--red-2); box-shadow: 0 0 0 5px rgba(232,69,69,.18); }
.ab .pbar { position: absolute; left: 6px; right: 6px; top: 50%; height: 2px; margin-top: -1px; background: var(--line-d); }
.ab .pbar b { display: block; height: 100%; width: 0; background: var(--red-2); }
.ab .track { display: flex; gap: 24px; padding-left: max(20px, calc((100vw - 1220px) / 2 + 20px)); will-change: transform; }
.ab .pc { flex: none; width: min(420px, 78vw); min-height: 360px; border-radius: 24px; background: var(--night-2); border: 1px solid var(--line-d); padding: 34px; display: flex; flex-direction: column; position: relative; overflow: hidden; transition: border-color .5s, transform .5s var(--ease); }
.ab .pc.on { border-color: rgba(232,69,69,.55); }
.ab .pc.on .ico { background: var(--red); color: #fff; }
.ab .pc .n { font-family: var(--mono); color: var(--red-2); font-size: .86rem; }
.ab .pc .big { position: absolute; right: -10px; top: -30px; font-size: 11rem; font-weight: 900; color: rgba(255,255,255,.035); line-height: 1; letter-spacing: -.06em; }
.ab .pc .ico { width: 54px; height: 54px; border-radius: 14px; background: rgba(207,46,46,.14); display: grid; place-items: center; margin: 40px 0 20px; color: var(--red-2); transition: .4s; }
.ab .pc .ico svg { width: 28px; height: 28px; }
.ab .pc h3 { font-size: 1.6rem; color: #fff; margin-bottom: 10px; }
.ab .pc p { color: var(--muted-d); }
.ab .pc .who { margin-top: auto; padding-top: 14px; font-family: var(--mono); font-size: .74rem; color: #B7C0C5; border-top: 1px solid var(--line-d); }
.ab .pc p + .who { margin-top: auto; }
@media (max-width: 900px) {
  .ab .proc { height: auto; padding: 90px 0; }
  .ab .proc .pin { position: static; height: auto; }
  /* phones: a row to swipe (or step through with the arrows), one card at a time */
  .ab .track { padding: 0 20px 4px; transform: none !important; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 20px; scrollbar-width: none; gap: 14px; }
  .ab .track::-webkit-scrollbar { display: none; }
  .ab .pc { width: 84vw; min-height: 0; padding: 28px 24px; scroll-snap-align: start; }
  .ab .pc .ico { margin: 22px 0 16px; }
  .ab .pc .who { margin-top: 18px; }
  .ab .psteps { display: none; }
  .ab .proc .head { flex-direction: row; align-items: flex-end; margin-bottom: 30px; }
  .ab .parr { width: 42px; height: 42px; }
}

/* ===== WHY ===== */
.ab .why { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; margin-top: 50px; }
.ab .wy { grid-column: span 2; border: 1px solid var(--line); border-radius: 22px; padding: 30px; background: var(--card); transition: .4s var(--ease); position: relative; overflow: hidden; isolation: isolate; display: flex; flex-direction: column; min-height: 250px; }
.ab .wy:nth-child(4), .ab .wy:nth-child(5) { grid-column: span 3; }
.ab .wy:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.ab .wy .k { font-family: var(--mono); font-size: .72rem; color: var(--red); letter-spacing: .12em; margin-bottom: 16px; display: block; }
.ab .wy h3 { font-size: 1.35rem; margin-bottom: 8px; }
.ab .wy p { color: var(--muted); max-width: 460px; }
.ab .wy .bg { position: absolute; right: 20px; bottom: 16px; width: 70px; height: 70px; color: var(--ink); opacity: .06; }
/* tiles with one of our photos: the picture fills the tile, the text sits on a dark fade */
.ab .wy.ph { color: #fff; border-color: transparent; justify-content: flex-end; }
.ab .wy.ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.ab .wy.ph::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(10,13,15,.95) 0%, rgba(10,13,15,.8) 50%, rgba(10,13,15,.45) 100%); }
.ab .wy.ph:hover img { transform: scale(1.06); }
.ab .wy.ph .k { color: #FF7A7A; }
.ab .wy.ph p { color: #C9CFD3; }
.ab .wy .more { margin-top: 14px; font-weight: 700; color: #fff; }
@media (max-width: 900px) {
  .ab .why { grid-template-columns: 1fr; }
  .ab .wy, .ab .wy:nth-child(4), .ab .wy:nth-child(5) { grid-column: auto; min-height: 0; padding: 26px 24px; }
  .ab .wy.ph { min-height: 300px; }
}

/* ===== PARTNERS ===== */
.ab .wall { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line-d); border: 1px solid var(--line-d); border-radius: 24px; overflow: hidden; margin-top: 50px; }
.ab .pt { background: var(--night); padding: 34px 26px; min-height: 170px; display: flex; flex-direction: column; justify-content: space-between; transition: background .3s; position: relative; }
.ab .pt::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--red-2); transition: width .5s var(--ease); }
.ab .pt:hover { background: #141A1D; }
.ab .pt:hover::after { width: 100%; }
.ab .pt b { font-size: 1.7rem; font-weight: 900; letter-spacing: .05em; color: #fff; }
.ab .pt b.sm { font-size: 1.05rem; line-height: 1.5; letter-spacing: .02em; }
.ab .pt span { font-family: var(--mono); font-size: .68rem; letter-spacing: .12em; color: var(--muted-d); text-transform: uppercase; }
.ab .pt.main { grid-column: span 2; grid-row: span 2; background: radial-gradient(circle at var(--mx, 70%) var(--my, 30%), rgba(207,46,46,.35), transparent 55%), linear-gradient(150deg, #2A1416, #0A0D0F 70%); }
.ab .pt.main b { font-size: clamp(2.6rem, 5vw, 4rem); }
.ab .pt.main .seal { display: inline-flex; align-items: center; gap: 10px; background: var(--red); color: #fff; padding: 8px 14px; border-radius: 8px; width: max-content; font-size: .72rem; }
.ab .pt.main .seal i { width: 8px; height: 8px; border-radius: 50%; background: #fff; animation: ab-blink 2s infinite; }
@keyframes ab-blink { 50% { opacity: .3; } }
.ab .pt.main p { color: #C9CFD3; max-width: 380px; margin: 14px 0 0; }
@media (max-width: 900px) {
  .ab .wall { grid-template-columns: 1fr 1fr; }
  .ab .pt { min-height: 130px; padding: 24px 20px; }
  .ab .pt b { font-size: 1.35rem; }
  .ab .pt.main { grid-column: 1 / -1; grid-row: auto; min-height: 230px; }
  .ab .pt b.sm { font-size: .92rem; }
}

/* ===== MAP ===== */
.ab .region { display: grid; grid-template-columns: 1.25fr 1fr; gap: 50px; align-items: center; margin-top: 40px; }
.ab .mapbox { position: relative; width: 100%; border-radius: 26px; background: var(--bg-alt); border: 1px solid var(--line); overflow: hidden; }
.ab .mapbox svg { display: block; width: 100%; height: auto; }
.ab .mapbox .dots { stroke: var(--dots); stroke-width: 2.6; stroke-linecap: round; fill: none; }
.ab .mapbox .arc { fill: none; stroke: var(--red); stroke-width: 1.6; stroke-dasharray: 1; stroke-dashoffset: 1; }
.ab .mapbox.in .arc { animation: ab-draw 1.4s var(--ease) forwards; animation-delay: calc(.3s + var(--i) * .18s); }
@keyframes ab-draw { to { stroke-dashoffset: 0; } }
.ab .mapbox .pin { opacity: 0; transition: opacity .5s; cursor: default; }
.ab .mapbox.in .pin { opacity: 1; transition-delay: calc(1s + var(--i) * .18s); }
.ab .mapbox .dot { fill: var(--red); transition: r .25s; }
.ab .mapbox .pin.on .dot { r: 10; }
.ab .mapbox .pulse { fill: none; stroke: var(--red); transform-box: fill-box; transform-origin: center; animation: ab-pulse 2.2s infinite; }
.ab .mapbox .hq { fill: var(--ink); }
.ab .mapbox .hq-pulse { fill: rgba(207,46,46,.18); transform-box: fill-box; transform-origin: center; animation: ab-hq 2.4s ease-out infinite; }
.ab .mapbox text { paint-order: stroke; stroke: var(--bg-alt); stroke-width: 5px; stroke-linejoin: round; }
.ab .mapbox .lbl { font: 800 12px "DM Sans", system-ui, sans-serif; letter-spacing: .06em; fill: var(--ink); }
.ab .mapbox .hq-l { fill: var(--red); font-size: 13px; }
.ab .mapbox .sub { font: 500 11px "DM Sans", system-ui, sans-serif; fill: var(--muted); }
@keyframes ab-pulse { 0% { opacity: .9; transform: scale(1); } 100% { opacity: 0; transform: scale(3); } }
@keyframes ab-hq { 0% { transform: scale(.5); opacity: 1; } 100% { transform: scale(2.6); opacity: 0; } }
.ab .cnt { display: grid; gap: 10px; }
.ab .cn { display: grid; grid-template-columns: 56px 1fr; gap: 16px; align-items: center; border: 1px solid var(--line); border-radius: 16px; padding: 14px 18px; background: var(--card); transition: .3s; }
.ab .cn:hover, .ab .cn.on { border-color: var(--red); box-shadow: 0 14px 30px rgba(207,46,46,.1); transform: translateX(4px); }
.ab .cn .cc { font-size: 1.7rem; font-weight: 900; color: var(--red); text-align: center; }
.ab .cn.base { background: var(--night); border-color: var(--night); color: #fff; }
.ab .cn.base .cc { font-size: 1.15rem; letter-spacing: .06em; }
.ab .cn.base span { color: #AEB8BE; }
.ab .cn b { display: block; font-size: 1.04rem; }
.ab .cn span { color: var(--muted); font-size: .9rem; }
.ab .cnt .link-red { margin-top: 8px; }
@media (max-width: 900px) { .ab .region { grid-template-columns: 1fr; gap: 28px; } }
@media (max-width: 600px) { .ab .mapbox .lbl { font-size: 19px; } .ab .mapbox .hq-l { font-size: 20px; text-anchor: middle; transform: translate(-16px, 34px); } .ab .mapbox .sub { display: none; } }

/* ===== OEM MARQUEE ===== */
.ab .oems { background: var(--night); color: #fff; padding: 26px 0 26px max(20px, calc((100vw - 1220px) / 2 + 20px)); display: flex; align-items: center; gap: 26px; overflow: hidden; border-top: 1px solid var(--line-d); }
.ab .oems-t { flex: none; font-family: var(--mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-d); max-width: 170px; line-height: 1.5; }
.ab .marq { flex: 1; overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.ab .marq-in { display: flex; width: max-content; animation: ab-marq 30s linear infinite; }
.ab .marq:hover .marq-in { animation-play-state: paused; }
.ab .grp { display: flex; align-items: center; }
.ab .grp b { font-size: clamp(1.3rem, 2.4vw, 1.9rem); font-weight: 900; letter-spacing: .02em; padding: 0 28px; white-space: nowrap; }
.ab .grp i { color: var(--red-2); font-style: normal; font-size: .9rem; }
@keyframes ab-marq { to { transform: translateX(-50%); } }
@media (max-width: 700px) { .ab .oems { flex-direction: column; align-items: stretch; gap: 14px; padding-right: 20px; } .ab .oems-t { max-width: none; } }

/* ===== MANAGER + TEAM ===== */
.ab .leader { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: center; }
/* The photo is a small cut-out (476 × 353, transparent background): shown whole and at about its own
   size, standing on a dark backdrop, instead of cropped and zoomed (which made it look pixelated). */
.ab .portrait { aspect-ratio: 1 / 1; border-radius: 26px; overflow: hidden; position: relative; isolation: isolate; max-width: 460px;
  background: radial-gradient(circle at 50% 62%, rgba(207,46,46,.55), rgba(207,46,46,0) 52%), linear-gradient(160deg, #2B353B, #12171A 70%); }
.ab .portrait::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: radial-gradient(rgba(255,255,255,.14) 1px, transparent 1.4px); background-size: 16px 16px;
  -webkit-mask: linear-gradient(180deg, #000, transparent 75%); mask: linear-gradient(180deg, #000, transparent 75%); }
.ab .portrait img { position: absolute; left: 50%; bottom: 0; width: 100%; max-width: 476px; transform: translateX(-50%); height: auto; filter: drop-shadow(0 -6px 30px rgba(0,0,0,.35)); }
.ab .quote { font-size: clamp(1.7rem, 3.2vw, 2.7rem); font-weight: 800; letter-spacing: -.025em; line-height: 1.2; margin-bottom: 26px; }
.ab .quote::before { content: "\201C"; display: block; font-family: Georgia, "Times New Roman", serif; font-size: 6rem; color: var(--red); line-height: .6; margin-bottom: 14px; font-weight: 900; }
.ab .sig { margin-top: 26px; padding-left: 16px; border-left: 3px solid var(--red); }
.ab .sig b { display: block; font-size: 1.1rem; }
.ab .sig span { color: var(--muted); }
.ab .team-h { font-size: 1.5rem; margin: 80px 0 24px; }
.ab .team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.ab .tm { margin: 0; border-radius: 20px; overflow: hidden; background: var(--card); border: 1px solid var(--line); transition: .4s var(--ease); }
.ab .tm:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.ab .tm-img { aspect-ratio: 1 / 1; position: relative; overflow: hidden; background: #D3D8DB; }
.ab .tm-img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.35); transition: filter .5s, transform 1s var(--ease); }
.ab .tm:hover .tm-img img { filter: none; transform: scale(1.04); }
.ab .tm blockquote { position: absolute; inset: auto 0 0 0; margin: 0; padding: 40px 18px 16px; color: #fff; font-weight: 700; line-height: 1.35; background: linear-gradient(0deg, rgba(10,13,15,.92), rgba(10,13,15,0)); transform: translateY(100%); transition: transform .5s var(--ease); }
.ab .tm:hover blockquote, .ab .tm:focus-within blockquote { transform: none; }
.ab .tm figcaption { padding: 16px 18px; }
.ab .tm figcaption b { display: block; }
.ab .tm figcaption span { color: var(--muted); font-size: .88rem; }
@media (max-width: 900px) {
  .ab .leader { grid-template-columns: 1fr; gap: 30px; }
  .ab .portrait { max-width: 360px; }
  .ab .team { grid-template-columns: 1fr 1fr; }
  .ab .team-h { margin-top: 56px; }
  .ab .tm blockquote { transform: none; font-size: .85rem; padding: 30px 12px 10px; }
}

/* ===== VALUES ===== */
.ab .vals { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line-d); border-radius: 24px; overflow: hidden; margin-top: 50px; border: 1px solid var(--line-d); }
.ab .vl { background: var(--night); padding: 34px 28px; min-height: 290px; display: flex; flex-direction: column; transition: background .4s; }
.ab .vl:hover { background: #141A1D; }
.ab .vl .n { font-family: var(--mono); color: var(--red-2); font-size: .82rem; }
.ab .vl h3 { font-size: 1.4rem; color: #fff; margin: auto 0 10px; }
.ab .vl p { color: var(--muted-d); font-size: .95rem; }
.ab .vl em { display: block; font-style: normal; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line-d); font-size: .88rem; color: #C9CFD3; }
@media (max-width: 900px) { .ab .vals { grid-template-columns: 1fr 1fr; } .ab .vl { min-height: 230px; padding: 26px 22px; } }
@media (max-width: 520px) { .ab .vals { grid-template-columns: 1fr; } .ab .vl { min-height: 0; } .ab .vl h3 { margin-top: 30px; } }

/* ===== NEXT STEP ===== */
.ab .next { border-top: 1px solid var(--line-d); }
.ab .cta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 50px; }
.ab .ct { border-radius: 24px; padding: 34px; border: 1px solid var(--line-d); background: var(--night-2); display: flex; flex-direction: column; min-height: 280px; transition: .4s var(--ease); }
.ab .ct:hover { transform: translateY(-6px); border-color: rgba(232,69,69,.5); }
.ab .ct .ico { width: 52px; height: 52px; border-radius: 14px; background: rgba(207,46,46,.14); color: var(--red-2); display: grid; place-items: center; margin-bottom: 22px; transition: .3s; }
.ab .ct:hover .ico { background: var(--red); color: #fff; }
.ab .ct .ico svg { width: 26px; height: 26px; }
.ab .ct h3 { color: #fff; font-size: 1.4rem; margin-bottom: 8px; }
.ab .ct p { color: var(--muted-d); }
.ab .ct .go { margin-top: auto; padding-top: 20px; color: var(--red-2); font-weight: 700; display: flex; gap: 8px; align-items: center; }
.ab .ct .go svg { width: 18px; height: 18px; transition: .25s; }
.ab .ct:hover .go svg { transform: translateX(5px); }
.ab .contact-line { margin-top: 40px; color: var(--muted-d); font-family: var(--mono); font-size: .85rem; }
.ab .contact-line a { color: #fff; }
.ab .contact-line i { font-style: normal; margin: 0 8px; }
@media (max-width: 900px) { .ab .cta { grid-template-columns: 1fr; } .ab .ct { min-height: 0; padding: 28px 24px; } .ab .ct .go { padding-top: 16px; } .ab .contact-line { line-height: 2; } }

@media (max-width: 900px) { .ab section { padding: 80px 0; } }

/* ===== reveal ===== */
.ab .rv { opacity: 0; transform: translateY(30px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.ab .rv.in { opacity: 1; transform: none; }
.ab .rv.d1 { transition-delay: .1s; } .ab .rv.d2 { transition-delay: .2s; } .ab .rv.d3 { transition-delay: .3s; }
.ab .wy.rv.in:hover, .ab .role.rv.in:hover, .ab .ct.rv.in:hover, .ab .tm.rv.in:hover { transition-delay: 0s; }
.ab .wy.rv.in:hover, .ab .ct.rv.in:hover { transform: translateY(-6px); }
.ab .role.rv.in:hover, .ab .tm.rv.in:hover { transform: translateY(-5px); }
.ab .cn.rv.in:hover, .ab .cn.rv.in.on { transform: translateX(4px); transition-delay: 0s; }

@media (prefers-reduced-motion: reduce) {
  .ab *, .ab *::before, .ab *::after { animation: none !important; transition: none !important; }
  .ab .rv, .ab .fu { opacity: 1; transform: none; }
  .ab .hero h1 .ln > span { transform: none; }
  .ab .mapbox .arc { stroke-dashoffset: 0; }
  .ab .mapbox .pin { opacity: 1; }
}
