/* About Us + Contacts: fixed line-art railway background, free scroll, content reveals in/out */
:root {
  --red: #e31e24; --red-dark: #b5161b; --red-soft: rgba(227, 30, 36, .08);
  --ink: #16191c; --body: #3d454b; --muted: #6f7a81; --line: rgba(22, 25, 28, .1);
  --card: rgba(255, 255, 255, .78); --card-solid: #ffffff;
  --shadow: 0 18px 50px rgba(22, 25, 28, .08);
  --ease: cubic-bezier(.2, .8, .2, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #ffffff; color: var(--ink); font-family: 'Rubik', sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; }
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; }
::selection { background: var(--red); color: #fff; }

/* ---------- fixed background (photo fallback, line-art canvas on top) ---------- */
.ab-bg { position: fixed; inset: 0; z-index: -2; overflow: hidden; background: linear-gradient(180deg, #ffffff 0%, #f6f7f8 50%, #ffffff 100%); }
.ab-bg img { position: absolute; inset: -6% 0; width: 100%; height: 112%; object-fit: cover; object-position: 50% 45%;
  transform: translate3d(0, var(--bg-y, 0), 0) scale(var(--bg-s, 1.12)); will-change: transform; transform-origin: 50% 40%; }
.ab-bg.has-3d img { display: none; }
.ab-bg canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.ab-veil { position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, rgba(255,255,255,.85) 0%, rgba(255,255,255,.4) 38%, rgba(255,255,255,0) 62%); }
.ab-veil::after { content: ""; position: absolute; inset: 0; background: #fff; opacity: var(--veil, 0); }
@media (max-width: 991px) { .ab-veil { background: linear-gradient(180deg, rgba(255,255,255,.3), rgba(255,255,255,.45)); } }

/* ---------- nav ---------- */
.ab-nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between;
  padding: 16px clamp(16px, 4vw, 48px); transition: background .35s, box-shadow .35s, padding .35s; }
.ab-nav.is-solid { background: rgba(255, 255, 255, .86); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--line); padding-top: 10px; padding-bottom: 10px; }
.ab-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 500; font-size: .95rem; }
.ab-brand img { height: 40px; width: auto; }
.ab-links { display: flex; align-items: center; gap: 4px; }
.ab-links a { text-decoration: none; font-size: .92rem; padding: 8px 14px; border-radius: 999px; color: var(--body); transition: color .2s, background .2s; }
.ab-links a:hover { color: var(--red); }
.ab-links a.is-current { color: #fff; background: var(--red); }
.ab-drop { position: relative; }
.ab-drop-menu { position: absolute; top: 100%; left: 0; min-width: 260px; padding: 8px; margin-top: 6px; border-radius: 14px; background: #fff;
  box-shadow: var(--shadow); border: 1px solid var(--line); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: all .2s var(--ease); }
.ab-drop:hover .ab-drop-menu, .ab-drop:focus-within .ab-drop-menu { opacity: 1; visibility: visible; transform: none; }
.ab-drop-menu a { display: block; border-radius: 10px; }
.ab-drop-menu a:hover { background: var(--red-soft); }
.ab-burger { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; position: relative; }
.ab-burger span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--ink); transition: transform .3s var(--ease); }
.ab-burger span:first-child { top: 17px; } .ab-burger span:last-child { top: 25px; }
.ab-burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.ab-burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ---------- sections ---------- */
.ab-scene { position: relative; padding: clamp(80px, 12vh, 140px) 0; }
.ab-scene[data-depth] > .ab-wrap { will-change: transform, opacity, filter; }
.ab-wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 clamp(16px, 5vw, 72px); }
.ab-kicker { color: var(--red); text-transform: uppercase; letter-spacing: .22em; font-size: .78rem; font-weight: 500; margin: 0 0 14px;
  display: flex; align-items: center; gap: 12px; }
.ab-kicker::before { content: ""; width: 28px; height: 2px; background: var(--red); }
.ab-h2 { font-size: clamp(1.9rem, 4vw, 3.1rem); line-height: 1.08; font-weight: 700; letter-spacing: -.02em; margin: 0 0 28px; max-width: 18ch; }

/* reveal per element: in when on screen, out when it leaves (either direction) */
.r { opacity: 0; transform: translateY(40px); filter: blur(6px);
  transition: opacity .8s var(--ease), transform .9s var(--ease), filter .8s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
.r.is-in { opacity: 1; transform: none; filter: none; }
.r.is-above { transform: translateY(-40px); }

/* hero */
.ab-hero { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding-top: 110px; }
.ab-display { font-size: clamp(3rem, 9.5vw, 8rem); line-height: .94; font-weight: 900; letter-spacing: -.045em; margin: 0 0 28px; }
.ab-display span { display: block; }
.ab-display em { font-style: normal; color: var(--red); }
.ab-outline { color: transparent; -webkit-text-stroke: 2px var(--ink); }
.ab-sub { max-width: 540px; font-size: clamp(1rem, 1.6vw, 1.18rem); color: var(--body); line-height: 1.6; margin: 0 0 40px; }
.ab-cue { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; font-size: .85rem; color: var(--muted); letter-spacing: .08em; }
.ab-cue-mouse { width: 24px; height: 38px; border: 2px solid var(--muted); border-radius: 12px; position: relative; }
.ab-cue-mouse::after { content: ""; position: absolute; left: 50%; top: 7px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--red);
  animation: ab-wheel 1.8s var(--ease) infinite; }
@keyframes ab-wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

/* shared glass card */
.ab-glass { background: var(--card); border: 1px solid rgba(255, 255, 255, .9); box-shadow: var(--shadow); backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2); }

/* hero facts */
.ab-facts { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }
.ab-facts div { padding: 14px 20px; border-radius: 18px; background: var(--card); border: 1px solid rgba(255,255,255,.9); box-shadow: var(--shadow);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); min-width: 150px; transition: transform .35s var(--ease); }
.ab-facts div:hover { transform: translateY(-3px); }
.ab-facts dt { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.ab-facts dd { margin: 0; font-weight: 700; font-size: 1.05rem; }
.ab-facts div:first-child dd { color: var(--red); font-size: 1.6rem; line-height: 1.1; }

/* history: static timeline, line draws in as it enters */
.ab-history-head { display: grid; grid-template-columns: 1fr minmax(0, 380px); gap: 32px; align-items: center; margin-bottom: 12px; }
.ab-history-img { width: 100%; animation: ab-float 7s ease-in-out infinite; filter: drop-shadow(0 24px 40px rgba(22, 25, 28, .15)); }
@keyframes ab-float { 50% { transform: translateY(-10px); } }
.ab-history { list-style: none; margin: 0; padding: 34px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; position: relative; }
.ab-history::before { content: ""; position: absolute; left: 0; right: 0; top: 10px; height: 2px; background: var(--line); }
.ab-history::after { content: ""; position: absolute; left: 0; top: 10px; height: 2px; width: 100%; background: var(--red); transform: scaleX(var(--draw, 0));
  transform-origin: left; transition: transform 1.6s var(--ease); }
.ab-history.is-drawn::after { --draw: 1; }
.ab-history li { position: relative; border-radius: 22px; padding: 22px 22px 24px; transition: transform .35s var(--ease), box-shadow .35s; }
.ab-history li:hover { transform: translateY(-4px); box-shadow: 0 24px 50px rgba(22, 25, 28, .12); }
.ab-history li::before { content: ""; position: absolute; left: 22px; top: -30px; width: 14px; height: 14px; border-radius: 50%; background: #fff;
  border: 3px solid var(--red); box-sizing: border-box; }
.ab-history li.is-now::before { background: var(--red); box-shadow: 0 0 0 6px rgba(227, 30, 36, .15); }
.ab-year { display: block; font-size: 2rem; font-weight: 900; letter-spacing: -.02em; color: var(--red); line-height: 1; margin-bottom: 10px; }
.ab-history h3 { margin: 0 0 8px; font-size: 1.05rem; font-weight: 700; }
.ab-history p { margin: 0; color: var(--body); font-size: .92rem; line-height: 1.55; }

/* scale */
.ab-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 16px; }
.ab-stat { padding: 28px 24px; border-radius: 22px; position: relative; overflow: hidden; transition: transform .35s var(--ease); }
.ab-stat:hover { transform: translateY(-4px); }
.ab-stat::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(220px circle at var(--mx, 50%) var(--my, 50%), rgba(227, 30, 36, .1), transparent 60%); }
.ab-stat:hover::after { opacity: 1; }
.ab-stat b { font-size: clamp(2.2rem, 4.5vw, 3.5rem); font-weight: 900; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.ab-stat i { font-style: normal; font-size: 1.8rem; color: var(--red); font-weight: 700; }
.ab-stat span { display: block; color: var(--muted); font-size: .92rem; margin-top: 6px; }

/* philosophy: three always-open cards */
.ab-ethos { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 16px; }
.ab-ethos-card { position: relative; border-radius: 26px; padding: 30px 28px 32px; overflow: hidden; transform-style: preserve-3d;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.ab-ethos-card::before { content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 100%; background: var(--red);
  transform: scaleX(0); transform-origin: left; transition: transform .9s var(--ease) .2s; }
.ab-ethos-card.is-in::before { transform: scaleX(1); }
.ab-ethos-card::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(227, 30, 36, .09), transparent 60%); }
.ab-ethos-card:hover { box-shadow: 0 26px 60px rgba(22, 25, 28, .12); }
.ab-ethos-card:hover::after { opacity: 1; }
.ab-ethos-n { font-size: 3.4rem; font-weight: 900; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px rgba(227, 30, 36, .45); display: block; margin-bottom: 18px; }
.ab-ethos-card h3 { margin: 0 0 12px; font-size: .82rem; letter-spacing: .2em; text-transform: uppercase; color: var(--red); font-weight: 500; }
.ab-ethos-card p { margin: 0; color: var(--body); line-height: 1.6; font-size: 1.02rem; }
.ab-ethos-card .ab-ethos-lead { font-size: clamp(1.35rem, 2.2vw, 1.75rem); line-height: 1.25; font-weight: 700; color: var(--ink); letter-spacing: -.01em; }
.ab-ethos-tags, .ab-values { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ab-ethos-tags li { font-size: .82rem; padding: 6px 12px; border-radius: 999px; background: var(--red-soft); color: var(--red-dark); }
.ab-values { margin-top: 4px; flex-direction: column; gap: 0; }
.ab-values li { padding: 10px 0; border-bottom: 1px solid var(--line); font-weight: 500; display: flex; align-items: center; gap: 12px; transition: color .2s, padding .3s var(--ease); }
.ab-values li:last-child { border-bottom: 0; }
.ab-values li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--red); flex: none; transition: transform .3s var(--ease); }
.ab-values li:hover { color: var(--red); padding-left: 6px; }
.ab-values li:hover::before { transform: scale(1.5); }

/* offices: custom SVG map, red state blocks, fly-in detail card (no text on the map) */
.ab-hint { color: var(--muted); margin: -14px 0 22px; font-size: .95rem; }
.mo-world-wrap { position: relative; border-radius: 28px; overflow: hidden; height: min(68vh, 600px); min-height: 420px; background: rgba(255, 255, 255, .82);
  box-shadow: 0 30px 80px rgba(22, 25, 28, .12); border: 1px solid #fff; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.mo-world { position: absolute; inset: 0; touch-action: none; cursor: grab; }
.is-dragging .mo-world { cursor: grabbing; }
.mo-svg { width: 100%; height: 100%; display: block; }
.mo-land { fill: #e3e7ea; stroke: #fff; stroke-width: .8; vector-effect: non-scaling-stroke; stroke-linejoin: round; transition: fill .6s; }
.is-focus .mo-land { fill: #eceff1; }
.mo-region { fill: var(--red); stroke: #fff; stroke-width: .6; vector-effect: non-scaling-stroke; cursor: pointer; opacity: .9;
  transition: opacity .4s, fill .4s; }
.mo-region:hover { opacity: 1; fill: var(--red-dark); }
.is-focus .mo-region:not(.is-active) { opacity: .35; }
.mo-region.is-active { opacity: 1; animation: mo-breathe 2.8s ease-in-out infinite; }
@keyframes mo-breathe { 50% { fill: #c8191f; } }
.mo-arc { fill: none; stroke: var(--red); stroke-width: 1.4; vector-effect: non-scaling-stroke; stroke-linecap: round; opacity: .55; }
.is-focus .mo-arc { opacity: .12; transition: opacity .5s; }
.mo-pin { cursor: pointer; outline: none; }
.mo-pin-label { fill: var(--ink); stroke: #fff; paint-order: stroke; stroke-linejoin: round; font-family: 'Rubik', sans-serif; pointer-events: auto; }
.mo-pin-city { font-weight: 500; }
.mo-pin-sub { fill: var(--muted); font-size: .82em; }
.mo-pin.is-active .mo-pin-city { fill: var(--red); }
.mo-leader { stroke: var(--ink); stroke-width: 1; vector-effect: non-scaling-stroke; opacity: .45; }
.mo-pin circle { transition: opacity .4s; }
.mo-pin-dot { fill: var(--red); stroke: #fff; }
.mo-pin.is-hq .mo-pin-dot { fill: var(--ink); }
.mo-pin-halo { fill: rgba(227, 30, 36, .16); }
.mo-pin.is-hq .mo-pin-halo { fill: rgba(22, 25, 28, .14); }
.mo-pin-pulse { fill: none; stroke: var(--red); stroke-width: 1.5; vector-effect: non-scaling-stroke; transform-box: fill-box; transform-origin: center;
  animation: mo-pulse 2.6s ease-out infinite; animation-delay: var(--d); opacity: 0; }
.mo-pin.is-hq .mo-pin-pulse { stroke: var(--ink); }
@keyframes mo-pulse { 0% { opacity: .9; transform: scale(.4); } 100% { opacity: 0; transform: scale(2.2); } }
.mo-pin-halo, .mo-pin-dot { transform-box: fill-box; transform-origin: center; transition: transform .3s var(--ease), opacity .4s; }
.mo-pin:hover .mo-pin-dot, .mo-pin:focus-visible .mo-pin-dot, .mo-pin.is-active .mo-pin-dot { transform: scale(1.35); }
.mo-pin:hover .mo-pin-halo, .mo-pin.is-active .mo-pin-halo { transform: scale(1.6); }
.mo-world-wrap:not(.is-live) .mo-pin { opacity: 0; }
.is-live .mo-pin { animation: mo-drop .7s cubic-bezier(.3, 1.6, .5, 1) both; animation-delay: calc(var(--d) + .2s); }
@keyframes mo-drop { from { opacity: 0; transform: translateY(-14px); } }
.is-focus .mo-pin:not(.is-active) { opacity: .35; }
.mo-pin.is-landed .mo-pin-pulse { animation: mo-land 1.2s var(--ease) 3, mo-pulse 2.6s ease-out 3.6s infinite; }
@keyframes mo-land { 0% { opacity: 1; transform: scale(.4); stroke-width: 3; } 100% { opacity: 0; transform: scale(4); } }
.mo-world-wrap::after { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 2; opacity: 0; transition: opacity .6s;
  background: radial-gradient(ellipse at center, transparent 50%, rgba(255, 255, 255, .7) 100%); }
.mo-world-wrap.is-flying::after { opacity: 1; }

/* detail card on the map */
.mo-card { position: absolute; left: 20px; bottom: 20px; z-index: 5; width: min(380px, calc(100% - 40px)); border-radius: 22px; padding: 22px 22px 20px;
  background: rgba(255, 255, 255, .94); pointer-events: none; opacity: 0; clip-path: inset(100% 0 0 0 round 22px); transform: translateY(20px);
  transition: clip-path .7s var(--ease), opacity .3s, transform .7s var(--ease); }
.mo-card.is-open { pointer-events: auto; opacity: 1; clip-path: inset(0 0 0 0 round 22px); transform: none; }
.mo-card > * { opacity: 0; transform: translateY(10px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.mo-card.is-open > * { opacity: 1; transform: none; }
.mo-card.is-open > :nth-child(2) { transition-delay: .15s; } .mo-card.is-open > :nth-child(3) { transition-delay: .22s; }
.mo-card.is-open > :nth-child(4) { transition-delay: .29s; } .mo-card.is-open > :nth-child(5) { transition-delay: .36s; }
.mo-card.is-open > :nth-child(6) { transition-delay: .43s; } .mo-card.is-open > :nth-child(7) { transition-delay: .5s; }
.mo-card-x { position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; border-radius: 50%; border: 0; background: rgba(22, 25, 28, .06);
  cursor: pointer; font-size: 1.3rem; line-height: 1; transition: background .2s, transform .3s var(--ease); }
.mo-card-x:hover { background: var(--red); color: #fff; transform: rotate(90deg); }
.mo-card-hq { display: inline-block; font-size: .66rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 4px 9px; border-radius: 6px;
  background: var(--ink); color: #fff; margin-bottom: 10px; }
.mo-card-name { margin: 0 40px 4px 0; font-size: 1.3rem; line-height: 1.2; font-weight: 700; }
.mo-card-place { margin: 0 0 12px; color: var(--red); font-weight: 500; font-size: .92rem; }
.mo-card-addr { font-style: normal; color: var(--body); line-height: 1.55; margin-bottom: 14px; padding-left: 12px; border-left: 2px solid var(--red); }
.mo-card-note { margin: -4px 0 14px; font-size: .82rem; color: var(--muted); }
.mo-chip-link.is-primary { background: var(--red); border-color: var(--red); color: #fff; }
.mo-chip-link.is-primary:hover { background: var(--red-dark); }
.mo-reset, .mo-zoom button { width: 40px; height: 40px; border-radius: 12px; border: 0; background: #fff; color: var(--ink); cursor: pointer; display: grid; place-items: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .1); font-size: 1.2rem; transition: background .2s, color .2s; }
.mo-reset:hover, .mo-zoom button:hover { background: var(--red); color: #fff; }
.mo-reset { position: absolute; top: 16px; right: 16px; z-index: 6; }
.mo-zoom { position: absolute; top: 64px; right: 16px; z-index: 6; display: flex; flex-direction: column; gap: 6px; }

/* chips */
.mo-links { display: flex; flex-wrap: wrap; gap: 6px; }
.mo-chip-link { display: inline-flex; align-items: center; font-size: .82rem; padding: 6px 12px; border-radius: 999px; text-decoration: none;
  background: #fff; border: 1px solid var(--line); color: var(--ink); transition: all .2s; }
.mo-chip-link:hover { background: var(--red); border-color: var(--red); color: #fff; }

/* contact page: everything in one view on desktop */
.ab-big-mail { display: inline-block; font-size: clamp(1.1rem, 1.8vw, 1.55rem); font-weight: 500; text-decoration: none; margin-bottom: 18px; word-break: break-word;
  background: linear-gradient(var(--red), var(--red)) 0 100% / 0 3px no-repeat; transition: background-size .5s var(--ease), color .3s; }
.ab-big-mail:hover { background-size: 100% 3px; color: var(--red); }
.ct-shell { padding: 92px 0 18px; }
.ct-page .ab-wrap { max-width: 1320px; }
.ct-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.45fr); grid-template-areas: "info map" "team team" "foot foot"; gap: 22px 44px; }
.ct-info { grid-area: info; align-self: center; }
.ct-mapbox { grid-area: map; }
.ct-team { grid-area: team; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.ct-foot { grid-area: foot; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; font-size: .8rem; color: var(--muted);
  padding-top: 12px; border-top: 1px solid var(--line); }
.ct-foot a { text-decoration: none; } .ct-foot a:hover { color: var(--red); }
.ct-foot .ab-social a { border-color: var(--line); color: var(--ink); width: 32px; height: 32px; }
.ct-foot .ab-social a:hover { color: #fff; }
.ct-title { font-size: clamp(2.2rem, 3.8vw, 3.5rem); line-height: .95; font-weight: 900; letter-spacing: -.04em; margin: 0 0 20px; }
.ct-title em { font-style: normal; color: var(--red); }
/* raised contact scorecard */
.ct-card { position: relative; background: #fff; border-radius: 24px; padding: 8px 22px 18px; overflow: hidden;
  box-shadow: 0 1px 2px rgba(22, 25, 28, .06), 0 8px 20px rgba(22, 25, 28, .07), 0 28px 60px rgba(22, 25, 28, .12);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.ct-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--red), var(--red-dark)); }
.ct-card:hover { transform: translateY(-4px); box-shadow: 0 1px 2px rgba(22, 25, 28, .06), 0 14px 28px rgba(22, 25, 28, .08), 0 40px 80px rgba(227, 30, 36, .16); }
.ct-row { display: flex; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.ct-ico { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: var(--red); background: var(--red-soft);
  transition: background .3s, color .3s, transform .3s var(--ease); }
.ct-row:hover .ct-ico { background: var(--red); color: #fff; transform: rotate(-6deg) scale(1.05); }
.ct-row .ct-label { margin-bottom: 2px; }
.ct-value { display: block; margin: 0; font-weight: 500; font-size: 1rem; color: var(--ink); text-decoration: none; line-height: 1.35; word-break: break-word; }
a.ct-value:hover { color: var(--red); }
.ct-actions { display: flex; flex-wrap: wrap; gap: 6px; padding-top: 14px; }
.ct-hq { display: flex; gap: 28px; flex-wrap: wrap; margin-bottom: 16px; }
.ct-hq a { text-decoration: none; font-weight: 500; font-size: 1.05rem; } .ct-hq a:hover { color: var(--red); }
.ct-hq p { margin: 0; color: var(--body); line-height: 1.5; }
.ct-label { display: block; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.ct-mapbox .mo-world-wrap { height: 100%; min-height: 340px; max-height: 470px; }
.ct-group h2 { margin: 0 0 10px; font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: var(--red); font-weight: 500;
  display: flex; align-items: center; gap: 10px; }
.ct-group h2::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.ct-person { display: flex; gap: 12px; align-items: flex-start; padding: 10px 12px; margin-bottom: 8px; border-radius: 16px; background: var(--card);
  border: 1px solid rgba(255, 255, 255, .9); box-shadow: 0 6px 18px rgba(22, 25, 28, .06); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.ct-person:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(22, 25, 28, .1); border-color: rgba(227, 30, 36, .35); }
.ct-person .ab-avatar { width: 36px; height: 36px; font-size: .74rem; }
.ct-person-body { min-width: 0; }
.ct-person strong { display: block; font-weight: 500; font-size: .95rem; }
.ct-person span { display: block; color: var(--muted); font-size: .78rem; margin-bottom: 3px; }
.ct-person-links { display: flex; flex-wrap: wrap; gap: 2px 12px; font-size: .8rem; }
.ct-person-links a { text-decoration: none; color: var(--ink); border-bottom: 1px solid transparent; transition: color .2s, border-color .2s; }
.ct-person-links a:hover { color: var(--red); border-color: var(--red); }
.ab-avatar { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: .85rem; color: #fff;
  background: linear-gradient(135deg, var(--red), var(--red-dark)); }
.mo-chip-link.is-copied { background: var(--ink); border-color: var(--ink); color: #fff; }
@media (min-width: 1024px) and (min-height: 700px) {
  .ct-page .ct-shell { height: 100vh; height: 100svh; display: flex; align-items: stretch; }
  .ct-page .ct-layout { grid-template-rows: minmax(0, 1fr) auto auto; height: 100%; }
}
@media (max-width: 1023px) {
  .ct-layout { grid-template-columns: 1fr; grid-template-areas: "info" "map" "team" "foot"; }
  .ct-mapbox .mo-world-wrap { height: 340px; }
}
@media (max-width: 767px) { .ct-team { grid-template-columns: 1fr; } }

/* footer: original dark band */
.ab-foot { margin-top: 0; background: #1d1f21; color: #c1c1c1; }
.ab-foot-in { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 22px; padding-bottom: 22px; font-size: .84rem; }
.ab-foot img { height: 36px; width: auto; }
.ab-foot a { text-decoration: none; } .ab-foot a:hover { color: #fff; }
.ab-social { display: flex; gap: 8px; }
.ab-social a { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .2); }
.ab-social a:hover { background: var(--red); border-color: var(--red); }

/* ---------- responsive ---------- */
@media (max-width: 991px) {
  .ab-history-head { grid-template-columns: 1fr; }
  .ab-history { grid-template-columns: 1fr 1fr; }
  .ab-history-img { max-width: 360px; }
  .ab-stats { grid-template-columns: 1fr 1fr; }
  .ab-ethos { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .ab-burger { display: block; }
  .ab-links { position: fixed; top: 64px; left: 12px; right: 12px; flex-direction: column; align-items: stretch; padding: 10px; border-radius: 18px; background: #fff;
    box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: all .25s var(--ease); }
  .ab-links.is-open { opacity: 1; visibility: visible; transform: none; }
  .ab-links a { padding: 12px 16px; }
  .ab-drop-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 12px; margin: 0; min-width: 0; }
  .ab-brand span { display: none; }
  .ab-stat { padding: 20px 18px; }
  .mo-world-wrap { height: 66svh; min-height: 400px; border-radius: 20px; }
  .mo-card { left: 10px; right: 10px; bottom: 10px; width: auto; padding: 18px; }
  .ab-history { grid-template-columns: 1fr; }
  .ab-history::before, .ab-history::after { display: none; }
  .ab-history li::before { display: none; }
  .ab-facts div { flex: 1 1 140px; }
}
@media (pointer: coarse) {
  .mo-chip-link { min-height: 44px; }
  .mo-reset, .mo-zoom button { width: 44px; height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .r, .mo-card, .mo-card > *, .mo-pin, .ab-history::after { transition: none !important; filter: none !important; transform: none !important; }
  .ab-history-img, .mo-pin-pulse, .mo-region, .ab-cue-mouse::after { animation: none; }
}

main { overflow-x: clip; }
@media (max-width: 1023px) { .ct-page .ab-veil { background: rgba(255,255,255,.72); } }
.ab-more { color: var(--red); font-weight: 500; text-decoration: none; }
.ab-more:hover { text-decoration: underline; }

/* The Medha Group: team photo beside the heading */
.ab-group-head { display: grid; grid-template-columns: 1fr minmax(0, 340px); gap: 32px; align-items: center; margin-bottom: 20px; }
.ab-group-head .ab-h2 { margin-bottom: 0; }
.ab-group-img { margin: 0; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); background: #fff; }
.ab-group-img img { display: block; width: 100%; height: auto; aspect-ratio: 5 / 4; object-fit: cover; }
@media (max-width: 767px) { .ab-group-head { grid-template-columns: 1fr; gap: 16px; } .ab-group-img { max-width: 340px; } }
.ab-group-head { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
.ab-group-img img { aspect-ratio: 16 / 9; object-position: 50% 40%; }
@media (max-width: 767px) { .ab-group-head { grid-template-columns: 1fr; } .ab-group-img { max-width: none; } }
/* team photo blended into the page: no frame, edges fade out */
.ab-group-img { border-radius: 0; box-shadow: none; background: transparent; overflow: visible; }
.ab-group-img img { -webkit-mask-image: radial-gradient(ellipse 72% 70% at 50% 50%, #000 45%, transparent 100%); mask-image: radial-gradient(ellipse 72% 70% at 50% 50%, #000 45%, transparent 100%); filter: saturate(.85) contrast(.96); }
.ab-founders { filter: none; animation: none; -webkit-mask-image: linear-gradient(180deg, #000 80%, transparent 100%); mask-image: linear-gradient(180deg, #000 80%, transparent 100%); }
.ab-group-img img { -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 55%, transparent 100%); mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 55%, transparent 100%); }
