/* ==========================================================================
   SquareVertex.AI — website2
   Colour scheme carried over from the original site:
     primary blue  #0D6DFF   ·  navy  #121630   ·  body text  #505060
   ========================================================================== */

@font-face {
  font-family: "Kumbh Sans";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(../fonts/kumbh-sans-latin-wght-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Kumbh Sans";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(../fonts/kumbh-sans-latin-ext-wght-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --blue: #0D6DFF;
  --blue-600: #0a58d6;
  --blue-400: #4b93ff;
  --blue-100: #dbe8ff;
  --blue-50: #eef4ff;
  --navy: #121630;
  --navy-900: #0b0e22;
  --navy-800: #181d3d;
  --navy-700: #232a55;
  --text: #505060;
  --muted: #747576;
  --line: #e4e9f2;
  --bg: #ffffff;
  --bg-soft: #f5f8fd;
  --white: #ffffff;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(18, 22, 48, .06), 0 2px 8px rgba(18, 22, 48, .04);
  --shadow: 0 10px 30px -12px rgba(18, 22, 48, .18);
  --shadow-blue: 0 14px 34px -12px rgba(13, 109, 255, .55);
  --container: 1200px;
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Kumbh Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; transition: color .2s; }
a:hover { color: var(--blue-600); }
h1, h2, h3, h4, h5 { color: var(--navy); line-height: 1.2; margin: 0 0 .6em; font-weight: 700; letter-spacing: -.015em; }
h1 { font-size: clamp(2.3rem, 5vw, 3.9rem); letter-spacing: -.025em; }
h2 { font-size: clamp(1.85rem, 3.4vw, 2.7rem); }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.08rem; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
::selection { background: var(--blue); color: #fff; }
:focus-visible { outline: 3px solid var(--blue-400); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 104px 0; position: relative; }
.section-sm { padding: 72px 0; }
.bg-soft { background: var(--bg-soft); }
.bg-navy { background: var(--navy); color: #c6cbe6; }
.bg-navy h1, .bg-navy h2, .bg-navy h3, .bg-navy h4 { color: #fff; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--blue); color: #fff; padding: 8px 16px; border-radius: 8px; z-index: 1000; }
.skip-link:focus { left: 8px; color: #fff; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Eyebrow & section heads ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }
.bg-navy .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: var(--blue-400); }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head.center .eyebrow::after { content: ""; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }
.section-head p { font-size: 1.08rem; }
.lead { font-size: 1.15rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px; border: 1.5px solid transparent;
  font: inherit; font-weight: 600; font-size: .98rem; line-height: 1.2; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s, color .2s, border-color .2s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: var(--shadow-blue); }
.btn-primary:hover { background: var(--blue-600); color: #fff; transform: translateY(-2px); }
.btn-ghost { border-color: rgba(255, 255, 255, .28); color: #fff; background: rgba(255, 255, 255, .04); }
.btn-ghost:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, .1); }
.btn-outline { border-color: var(--line); color: var(--navy); background: #fff; }
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }
.btn-sm { padding: 10px 18px; font-size: .9rem; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.link-arrow svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Header / nav ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  display: flex; align-items: center;
  transition: background .3s, box-shadow .3s, backdrop-filter .3s;
}
.site-header.scrolled, .site-header.solid {
  background: rgba(11, 14, 34, .86);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .06);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand img { height: 46px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links > li { position: relative; }
.nav-links > li > a, .nav-links > li > button {
  display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 10px;
  color: #dfe3f5; font: inherit; font-weight: 500; font-size: .97rem; background: none; border: 0; cursor: pointer;
}
.nav-links > li > a:hover, .nav-links > li > button:hover, .nav-links > li > a[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, .07); }
.nav-links svg { width: 14px; height: 14px; transition: transform .2s; }
.has-menu:hover > button svg, .has-menu.open > button svg { transform: rotate(180deg); }
.mega {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translate(-50%, 8px);
  width: min(880px, 92vw); background: #fff; border-radius: 18px; padding: 22px;
  box-shadow: 0 30px 60px -20px rgba(11, 14, 34, .45); border: 1px solid var(--line);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px 12px;
  opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s;
}
.mega::before { content: ""; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
.has-menu:hover .mega, .has-menu.open .mega, .has-menu:focus-within .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mega a { display: flex; gap: 12px; padding: 12px; border-radius: 12px; color: var(--navy); align-items: flex-start; }
.mega a:hover { background: var(--bg-soft); }
.mega .mi { flex: none; width: 38px; height: 38px; border-radius: 10px; background: var(--blue-50); color: var(--blue); display: grid; place-items: center; }
.mega .mi svg { width: 20px; height: 20px; transform: none !important; }
.mega strong { display: block; font-size: .95rem; line-height: 1.3; }
.mega small { display: block; color: var(--muted); font-size: .82rem; line-height: 1.4; margin-top: 2px; }
.mega .mega-foot { grid-column: 1 / -1; border-top: 1px solid var(--line); margin-top: 8px; padding-top: 12px; display: flex; justify-content: space-between; align-items: center; font-size: .9rem; }
.mega .mega-foot a { display: inline-flex; align-items: center; gap: 6px; padding: 0; color: var(--blue); font-weight: 600; }
.mega .mega-foot a:hover { background: none; }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.menu-toggle { display: none; background: none; border: 0; color: #fff; width: 44px; height: 44px; border-radius: 10px; cursor: pointer; }
.menu-toggle svg { width: 26px; height: 26px; }

@media (max-width: 1020px) {
  .menu-toggle { display: grid; place-items: center; }
  .nav-cta .btn { display: none; }
  .nav-links {
    position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0; background: var(--navy-900);
    flex-direction: column; align-items: stretch; gap: 0; padding: 16px 20px 40px; overflow-y: auto;
    transform: translateX(100%); transition: transform .3s var(--ease);
  }
  body.nav-open .nav-links { transform: none; }
  body.nav-open { overflow: hidden; }
  body.nav-open .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--navy-900); }
  .nav-links > li > a, .nav-links > li > button { width: 100%; justify-content: space-between; padding: 14px 8px; font-size: 1.05rem; border-bottom: 1px solid rgba(255, 255, 255, .07); border-radius: 0; }
  .mega { position: static; transform: none; width: auto; opacity: 1; visibility: visible; display: none; grid-template-columns: 1fr; background: transparent; box-shadow: none; border: 0; padding: 6px 0 12px; }
  .has-menu:hover .mega { transform: none; }
  .has-menu.open .mega { display: grid; transform: none; }
  .mega a { color: #dfe3f5; padding: 10px 8px; }
  .mega a:hover { background: rgba(255, 255, 255, .05); }
  .mega small { color: #8e95b8; }
  .mega .mi { background: rgba(13, 109, 255, .16); color: var(--blue-400); }
  .mega .mega-foot { border-color: rgba(255, 255, 255, .08); color: #8e95b8; }
  .nav-links .mobile-cta { display: block; padding-top: 20px; }
}
.nav-links .mobile-cta { display: none; }

/* ---------- Hero ---------- */
.hero, .page-hero {
  position: relative; overflow: hidden; color: #c6cbe6;
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(13, 109, 255, .35), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(13, 109, 255, .18), transparent 60%),
    linear-gradient(180deg, var(--navy-900), var(--navy));
}
.hero::before, .page-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 60% 30%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 60% 30%, #000 20%, transparent 75%);
}
.hero { padding: calc(var(--header-h) + 88px) 0 96px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; position: relative; }
.hero h1 { color: #fff; }
.hero h1 .grad, .page-hero h1 .grad {
  background: linear-gradient(90deg, #6aa8ff, var(--blue) 60%, #7fb3ff);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero .lead { color: #c6cbe6; max-width: 580px; margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 8px; border-radius: 999px;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); color: #dfe3f5;
  font-size: .88rem; margin-bottom: 26px;
}
.pill b { background: var(--blue); color: #fff; font-size: .72rem; letter-spacing: .06em; padding: 3px 9px; border-radius: 999px; text-transform: uppercase; }
.hero-visual { position: relative; }
.hero-visual img { width: 100%; max-width: 520px; margin-left: auto; filter: drop-shadow(0 30px 60px rgba(13, 109, 255, .35)); animation: float 7s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 72px; background: rgba(255, 255, 255, .08); border-radius: var(--radius); overflow: hidden; border: 1px solid rgba(255, 255, 255, .08); position: relative; }
.hero-stats div { background: rgba(11, 14, 34, .55); padding: 26px 28px; backdrop-filter: blur(6px); }
.hero-stats strong { display: block; font-size: 2.3rem; color: #fff; line-height: 1.1; font-weight: 700; letter-spacing: -.02em; }
.hero-stats span { font-size: .93rem; color: #9aa1c7; }

.page-hero { padding: calc(var(--header-h) + 72px) 0 72px; }
.page-hero h1 { color: #fff; font-size: clamp(2.1rem, 4.4vw, 3.3rem); max-width: 860px; }
.page-hero .lead { color: #c6cbe6; max-width: 720px; }
.page-hero .container { position: relative; }
.crumbs { display: flex; gap: 8px; font-size: .88rem; color: #8e95b8; margin-bottom: 20px; flex-wrap: wrap; }
.crumbs a { color: #c6cbe6; }
.crumbs a:hover { color: #fff; }
.tagrow { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.tagrow span { font-size: .85rem; padding: 6px 13px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); color: #dfe3f5; }

/* ---------- Grids & cards ---------- */
.grid { display: grid; gap: 24px; }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
  position: relative;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card h3 { margin-bottom: .45em; }
.card p:last-child { margin-bottom: 0; }
.icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: var(--blue-50); color: var(--blue); margin-bottom: 22px;
  transition: background .3s, color .3s;
}
.icon svg { width: 26px; height: 26px; }
.card:hover .icon { background: var(--blue); color: #fff; }
.card-link { position: absolute; inset: 0; border-radius: inherit; }
.card .more { margin-top: 18px; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--blue); }
.card .more svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.card:hover .more svg { transform: translateX(4px); }
.card .num { font-size: .8rem; font-weight: 700; color: var(--blue); letter-spacing: .1em; margin-bottom: 12px; display: block; }

.card-dark { background: rgba(255, 255, 255, .035); border-color: rgba(255, 255, 255, .09); color: #b9bfdd; }
.card-dark:hover { background: rgba(255, 255, 255, .06); border-color: rgba(13, 109, 255, .5); box-shadow: none; }
.card-dark .icon { background: rgba(13, 109, 255, .16); color: var(--blue-400); }

/* Service card with category label */
.svc-cat { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--muted); margin-bottom: 6px; display: block; }

/* ---------- Stats ---------- */
.stat-card { padding: 30px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.stat-card strong { display: block; font-size: 2.6rem; line-height: 1; color: var(--blue); font-weight: 700; letter-spacing: -.02em; margin-bottom: 12px; }
.stat-card p { color: var(--navy); font-weight: 500; margin-bottom: 8px; }
.stat-card small { color: var(--muted); font-size: .82rem; }
.bg-navy .stat-card { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .09); }
.bg-navy .stat-card p { color: #fff; }
.bg-navy .stat-card small { color: #8e95b8; }
.stat-card .answer { margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--line); color: var(--text); font-weight: 400; font-size: .96rem; }

/* ---------- Check lists ---------- */
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks li::before {
  content: ""; flex: none; width: 22px; height: 22px; margin-top: 3px; border-radius: 50%;
  background: var(--blue-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230D6DFF' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.bg-navy .checks li::before { background-color: rgba(13, 109, 255, .18); }

/* ---------- Methodology timeline ---------- */
.phases { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: ph; position: relative; }
.phase { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; position: relative; }
.phase::before {
  counter-increment: ph; content: "0" counter(ph);
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px;
  background: var(--navy); color: #fff; font-weight: 700; margin-bottom: 18px;
}
.phase:first-child::before { background: var(--blue); }
.phase .when { font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); }
.phase h3 { font-size: 1.15rem; margin: 4px 0 10px; }
.phase ul { margin: 12px 0 0; padding: 0; list-style: none; font-size: .9rem; display: grid; gap: 6px; }
.phase ul li { padding-left: 16px; position: relative; }
.phase ul li::before { content: ""; position: absolute; left: 0; top: .7em; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }
.deliverables { margin-top: 28px; padding: 20px 24px; border-radius: var(--radius); background: var(--blue-50); color: var(--navy); font-size: .96rem; }
.deliverables b { color: var(--blue); }

/* ---------- Framework chips ---------- */
.fw { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.fw div { padding: 22px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .1); background: rgba(255, 255, 255, .03); }
.fw strong { display: block; color: #fff; font-size: 1.1rem; margin-bottom: 4px; }
.fw span { font-size: .92rem; display: block; }
.fw em { font-style: normal; display: inline-block; margin-top: 10px; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--blue-400); font-weight: 700; }

/* ---------- Industries ---------- */
.ind-card { border-radius: var(--radius); overflow: hidden; position: relative; min-height: 300px; display: flex; align-items: flex-end; color: #fff; isolation: isolate; }
.ind-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s var(--ease); }
.ind-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11, 14, 34, 0) 20%, rgba(11, 14, 34, .92) 100%); }
.ind-card:hover img { transform: scale(1.06); }
.ind-card .in { padding: 26px; }
.ind-card h3 { color: #fff; margin-bottom: 4px; }
.ind-card p { color: #c6cbe6; font-size: .92rem; margin: 0; }
.ind-plain { border-radius: var(--radius); padding: 26px; background: linear-gradient(160deg, var(--navy-700), var(--navy)); color: #c6cbe6; min-height: 300px; display: flex; flex-direction: column; justify-content: flex-end; }
.ind-plain h3 { color: #fff; margin-bottom: 4px; }
.ind-plain p { margin: 0; font-size: .92rem; }
.ind-plain .icon { background: rgba(13, 109, 255, .2); color: var(--blue-400); margin-bottom: auto; }

/* ---------- Offer (start here) ---------- */
.offer { display: flex; flex-direction: column; }
.offer .meta { display: inline-flex; gap: 8px; align-items: center; font-size: .82rem; font-weight: 600; color: var(--blue); background: var(--blue-50); padding: 5px 12px; border-radius: 999px; align-self: flex-start; margin-bottom: 18px; }
.offer .meta svg { width: 14px; height: 14px; }
.offer .out { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); font-size: .93rem; }
.offer .out b { color: var(--navy); }

/* ---------- Outcomes ---------- */
.outcome strong { font-size: 3rem; line-height: 1; color: #fff; display: block; letter-spacing: -.03em; }
.outcome .unit { color: var(--blue-400); font-weight: 600; display: block; margin: 8px 0 18px; }
.outcome h3 { font-size: 1.1rem; }
.outcome .tags { font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; color: #8e95b8; font-weight: 600; }

/* ---------- Team ---------- */
.team-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; }
.team-grid > * { flex: 0 1 calc((100% - 48px) / 3); }
@media (max-width: 900px) { .team-grid > * { flex-basis: calc((100% - 24px) / 2); } }
@media (max-width: 560px) { .team-grid > * { flex-basis: 100%; } }
.team-card { border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s; }
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.team-card .ph { aspect-ratio: 4 / 4.4; background: linear-gradient(160deg, var(--navy-700), var(--navy)); overflow: hidden; display: grid; place-items: center; }
.team-card .ph img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.team-card .ph .ini { font-size: 3.2rem; font-weight: 700; color: rgba(255, 255, 255, .9); letter-spacing: .02em; }
.team-card .bd { padding: 22px 22px 24px; }
.team-card h3 { font-size: 1.12rem; margin-bottom: 2px; }
.team-card .role { color: var(--blue); font-weight: 600; font-size: .9rem; display: block; margin-bottom: 10px; }
.team-card p { font-size: .9rem; margin: 0; }

/* ---------- Logo strip ---------- */
.logos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.logos .logo-text span { font-weight: 700; font-size: 1.15rem; color: #6b6f80; letter-spacing: -.01em; transition: color .3s; }
.logos .logo-text:hover span { color: var(--navy); }
.logos div { background: #fff; border: 1px solid var(--line); border-radius: 14px; display: grid; place-items: center; padding: 18px; height: 96px; }
.logos img { max-height: 58px; width: auto; filter: grayscale(1); opacity: .75; transition: filter .3s, opacity .3s; }
.logos div:hover img { filter: none; opacity: 1; }
.tech { display: flex; flex-wrap: wrap; gap: 10px; }
.tech span { padding: 9px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--navy); font-weight: 500; font-size: .92rem; }

/* ---------- CTA band ---------- */
.cta-band {
  border-radius: 28px; padding: 64px; position: relative; overflow: hidden; color: #c6cbe6;
  background:
    radial-gradient(600px 300px at 100% 0%, rgba(13, 109, 255, .55), transparent 70%),
    linear-gradient(135deg, var(--navy-700), var(--navy-900));
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center;
}
.cta-band h2 { color: #fff; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
.cta-band p { margin: 0; font-size: 1.08rem; }

/* ---------- Blog ---------- */
.post-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .3s var(--ease), box-shadow .3s; position: relative; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post-cover { aspect-ratio: 16 / 9; overflow: hidden; background: var(--navy); position: relative; }
.post-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.post-card:hover .post-cover img { transform: scale(1.05); }
.cover-gen {
  width: 100%; height: 100%; display: flex; align-items: flex-end; padding: 22px; color: #fff; font-weight: 700; font-size: 1.1rem; line-height: 1.25;
  background:
    radial-gradient(300px 160px at 90% 0%, rgba(13, 109, 255, .7), transparent 70%),
    linear-gradient(135deg, var(--navy-700), var(--navy-900));
  position: relative;
}
.cover-gen::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px);
  background-size: 28px 28px; mask-image: linear-gradient(135deg, transparent 20%, #000); -webkit-mask-image: linear-gradient(135deg, transparent 20%, #000);
}
.cover-gen span { position: relative; max-width: 85%; }
.post-body { padding: 24px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.post-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .84rem; color: var(--muted); margin-bottom: 10px; }
.post-meta .tag { color: var(--blue); font-weight: 600; }
.post-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.post-card h3 a { color: var(--navy); }
.post-card h3 a::after { content: ""; position: absolute; inset: 0; }
.post-card h3 a:hover { color: var(--blue); }
.post-card p { font-size: .95rem; margin-bottom: 16px; }
.post-card .more { margin-top: auto; font-weight: 600; color: var(--blue); display: inline-flex; gap: 8px; align-items: center; }
.post-card .more svg { width: 16px; height: 16px; }

.post-feature { display: grid; grid-template-columns: 1.2fr 1fr; }
.post-feature .post-cover { aspect-ratio: auto; min-height: 340px; }
.post-feature .post-body { padding: 40px; justify-content: center; }
.post-feature h3 { font-size: 1.8rem; }
.badge-new { position: absolute; top: 16px; left: 16px; z-index: 2; background: var(--blue); color: #fff; font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 5px 11px; border-radius: 999px; }

.blog-tools { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; margin-bottom: 36px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font: inherit; font-size: .9rem; font-weight: 500; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--navy); cursor: pointer; transition: all .2s; }
.chip:hover { border-color: var(--blue); color: var(--blue); }
.chip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.search { position: relative; min-width: 260px; }
.search input { width: 100%; font: inherit; padding: 11px 16px 11px 42px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--navy); }
.search input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px var(--blue-50); }
.search svg { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted); }
.empty { text-align: center; padding: 60px 20px; border: 1px dashed var(--line); border-radius: var(--radius); color: var(--muted); }
.pager { display: flex; justify-content: center; gap: 8px; margin-top: 44px; }
.pager button { font: inherit; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--navy); font-weight: 600; cursor: pointer; }
.pager button[aria-current="page"] { background: var(--blue); color: #fff; border-color: var(--blue); }
.pager button:disabled { opacity: .4; cursor: default; }

/* Single article */
.article-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; align-items: start; }
.article { font-size: 1.08rem; line-height: 1.8; color: #3f4152; }
.article > *:first-child { margin-top: 0; }
.article h2 { font-size: 1.7rem; margin: 1.8em 0 .6em; }
.article h3 { font-size: 1.3rem; margin: 1.6em 0 .5em; }
.article p, .article ul, .article ol { margin: 0 0 1.25em; }
.article li { margin-bottom: .4em; }
.article img { border-radius: 14px; margin: 1.5em 0; }
.article blockquote { margin: 1.6em 0; padding: 18px 24px; border-left: 4px solid var(--blue); background: var(--blue-50); border-radius: 0 12px 12px 0; color: var(--navy); font-weight: 500; }
.article blockquote p:last-child { margin: 0; }
.article code { background: var(--bg-soft); border: 1px solid var(--line); padding: .1em .4em; border-radius: 6px; font-size: .9em; }
.article pre { background: var(--navy-900); color: #e4e8ff; padding: 20px; border-radius: 12px; overflow-x: auto; font-size: .9rem; }
.article pre code { background: none; border: 0; padding: 0; color: inherit; }
.article table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: .95rem; }
.article th, .article td { border: 1px solid var(--line); padding: 10px 14px; text-align: left; }
.article th { background: var(--bg-soft); color: var(--navy); }
.article a { text-decoration: underline; text-underline-offset: 3px; }
.article hr { border: 0; border-top: 1px solid var(--line); margin: 2.4em 0; }
.article-hero-img { border-radius: 20px; overflow: hidden; margin: -40px 0 48px; box-shadow: var(--shadow); position: relative; }
.article-hero-img img { width: 100%; max-height: 460px; object-fit: cover; }
.aside { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 20px; }
.aside .card { padding: 24px; }
.aside .card:hover { transform: none; box-shadow: none; border-color: var(--line); }
.aside h4 { margin-bottom: 14px; }
.aside ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; font-size: .94rem; }
.aside ul a { color: var(--navy); font-weight: 500; line-height: 1.4; display: block; }
.aside ul a:hover { color: var(--blue); }
.aside ul small { color: var(--muted); }
.share { display: flex; gap: 8px; }
.share a, .share button { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); display: grid; place-items: center; color: var(--navy); background: #fff; cursor: pointer; }
.share a:hover, .share button:hover { border-color: var(--blue); color: var(--blue); }
.share svg { width: 18px; height: 18px; }
.post-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line); }
.post-tags a { font-size: .86rem; padding: 6px 14px; border-radius: 999px; background: var(--bg-soft); border: 1px solid var(--line); color: var(--navy); }
.post-tags a:hover { border-color: var(--blue); color: var(--blue); }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 36px; }
.post-nav a { border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; color: var(--navy); font-weight: 600; line-height: 1.4; }
.post-nav a small { display: block; color: var(--muted); font-weight: 500; margin-bottom: 4px; }
.post-nav a:hover { border-color: var(--blue); }
.post-nav a.next { text-align: right; grid-column: 2; }
.author-line { display: flex; align-items: center; gap: 12px; margin-top: 26px; }
.author-line .av { width: 44px; height: 44px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; font-weight: 700; overflow: hidden; }
.author-line .av img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.author-line b { color: #fff; display: block; line-height: 1.3; }
.author-line span { font-size: .88rem; color: #9aa1c7; }
.skeleton { background: linear-gradient(90deg, var(--bg-soft), #eaf0fa, var(--bg-soft)); background-size: 200% 100%; animation: sk 1.4s infinite; border-radius: 10px; }
@keyframes sk { to { background-position: -200% 0; } }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-size: .88rem; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.field input, .field textarea, .field select {
  width: 100%; font: inherit; font-size: .98rem; padding: 13px 16px; border-radius: 12px; border: 1px solid var(--line);
  background: #fff; color: var(--navy); transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px var(--blue-50); }
.form-msg { margin: 0 0 16px; padding: 12px 16px; border-radius: 12px; display: none; font-size: .95rem; white-space: pre-line; }
.form-msg.ok { display: block; background: #e8f7ee; color: #146c3a; }
.form-msg.err { display: block; background: #fdecec; color: #a12626; }
.hp { position: absolute; left: -5000px; }

.split-contact { grid-template-columns: .8fr 1.2fr; align-items: start; }
@media (max-width: 900px) { .split-contact { grid-template-columns: 1fr; } .split-contact .card { padding: 26px !important; } }
.contact-item { display: flex; gap: 16px; align-items: flex-start; padding: 22px 0; border-bottom: 1px solid var(--line); }
.contact-item:last-child { border-bottom: 0; }
.contact-item .icon { margin: 0; flex: none; }
.contact-item h4 { margin-bottom: 2px; }
.contact-item p { margin: 0; }

/* ---------- FAQ / details ---------- */
.faq { display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: 14px; background: #fff; padding: 0 22px; }
.faq summary { cursor: pointer; list-style: none; padding: 20px 0; font-weight: 600; color: var(--navy); display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--blue); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 20px; margin: 0; }

/* ---------- Legal ---------- */
.legal { max-width: 820px; }
.legal h2 { font-size: 1.4rem; margin-top: 2em; }
.legal h2:first-child { margin-top: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: #9aa1c7; padding: 80px 0 0; font-size: .95rem; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 48px; padding-bottom: 56px; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 18px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { color: #9aa1c7; }
.site-footer a:hover { color: #fff; }
.site-footer .brand img { height: 50px; margin-bottom: 18px; }
.foot-contact li { display: flex; gap: 10px; align-items: flex-start; }
.foot-contact svg { width: 18px; height: 18px; flex: none; margin-top: 4px; color: var(--blue-400); }
.foot-bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding: 22px 0; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: .88rem; }
.foot-bottom nav { display: flex; gap: 20px; }
.badge-durana { display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; padding: 8px 14px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .1); font-size: .85rem; color: #c6cbe6; }
.badge-durana svg { width: 18px; height: 18px; color: var(--blue-400); }

/* ---------- Misc ---------- */
.media-frame { border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); position: relative; }
.media-frame img { width: 100%; }
.floating-stat { position: absolute; left: -24px; bottom: 28px; background: #fff; border-radius: 16px; padding: 18px 22px; box-shadow: var(--shadow); display: flex; gap: 14px; align-items: center; }
.floating-stat strong { font-size: 1.9rem; color: var(--blue); line-height: 1; }
.floating-stat span { font-size: .88rem; color: var(--navy); font-weight: 600; line-height: 1.3; }
.mv { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.mv .card { padding: 36px; }
.mv .label { font-size: .78rem; letter-spacing: .14em; font-weight: 700; color: var(--blue); text-transform: uppercase; }
.mv h3 { font-size: 1.5rem; margin-top: 8px; }
.cat-block + .cat-block { margin-top: 72px; }
.cat-head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); padding-bottom: 16px; margin-bottom: 28px; flex-wrap: wrap; }
.cat-head h2 { font-size: 1.7rem; margin: 0; }
.cat-head p { margin: 0; color: var(--muted); }
.suite { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.suite li { counter-increment: s; display: flex; gap: 14px; align-items: center; padding: 14px 18px; border-radius: 12px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08); color: #dfe3f5; }
.suite li::before { content: "0" counter(s); font-weight: 700; color: var(--blue-400); font-size: .85rem; }
.suite li.here { background: rgba(13, 109, 255, .16); border-color: rgba(13, 109, 255, .5); }
.suite li.here::after { content: "You are here"; margin-left: auto; font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--blue-400); font-weight: 700; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-visual img { animation: none; }
  * { transition-duration: .01ms !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .g-4 { grid-template-columns: repeat(2, 1fr); }
  .phases { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .article-wrap { grid-template-columns: 1fr; }
  .aside { position: static; grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .section { padding: 80px 0; }
  .hero-grid, .split, .cta-band, .post-feature, .mv { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .g-3, .fw { grid-template-columns: repeat(2, 1fr); }
  .logos { grid-template-columns: repeat(2, 1fr); }
  .cta-band { padding: 44px 32px; }
  .cta-band .actions { justify-content: flex-start; }
  .post-feature .post-cover { min-height: 240px; }
  .post-feature .post-body { padding: 28px; }
  .floating-stat { left: 16px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .section { padding: 64px 0; }
  .g-2, .g-3, .g-4, .fw, .phases, .form-grid, .foot-grid, .aside { grid-template-columns: 1fr; }
  .hero { padding-top: calc(var(--header-h) + 48px); }
  .hero-stats { grid-template-columns: 1fr; margin-top: 48px; }
  .logos { grid-template-columns: repeat(2, 1fr); }
  .card { padding: 24px; }
  .blog-tools { flex-direction: column; align-items: stretch; }
  .search { min-width: 0; }
  .post-nav { grid-template-columns: 1fr; }
  .post-nav a.next { grid-column: auto; }
  .brand img { height: 40px; }
  .cta-band { border-radius: 20px; padding: 36px 22px; }
}

/* ---------- Contact map (Leaflet, as on the original site) ---------- */
.map-area { line-height: 0; }
.map-content #contact-map { position: relative; width: 100%; height: 500px; border: 0; margin-bottom: -2px; z-index: 0; }
.map-content .leaflet-container { font-family: inherit; line-height: 1.4; }
.map-content #contact-map.is-fallback { display: grid; place-items: center; background: linear-gradient(160deg, var(--navy-700), var(--navy)); line-height: 1.5; text-align: center; color: #c6cbe6; }
.map-fallback img { margin: 0 auto 12px; }
.map-fallback strong { color: #fff; font-size: 1.1rem; }
.map-fallback .btn { margin-top: 4px; }

/* ==========================================================================
   v3 layer — modern refresh (same colour scheme: #0D6DFF / #121630)
   ========================================================================== */
:root {
  --cyan: #38d3ff;
  --radius: 20px;
  --grad: linear-gradient(100deg, #7cc2ff 0%, var(--blue) 45%, var(--cyan) 100%);
  --glass: rgba(14, 18, 44, .62);
}
body { font-size: 16.5px; }
h1, h2 { letter-spacing: -.03em; }
h2 { font-size: clamp(1.95rem, 3.6vw, 3rem); }

/* Eyebrow as a pill chip */
.eyebrow { padding: 6px 13px 6px 11px; border-radius: 999px; background: var(--blue-50); letter-spacing: .12em; font-size: .74rem; }
.eyebrow::before { width: 7px; height: 7px; border-radius: 50%; box-shadow: 0 0 0 4px rgba(13, 109, 255, .16); }
.section-head.center .eyebrow::after { display: none; }
.bg-navy .eyebrow, .hero .eyebrow, .page-hero .eyebrow, .spotlight .eyebrow, .cta-band .eyebrow { background: rgba(13, 109, 255, .14); color: #8fc0ff; }

/* Floating glass header */
.site-header { padding-top: 10px; height: calc(var(--header-h) + 10px); }
.site-header .nav { height: 62px; border-radius: 18px; border: 1px solid transparent; transition: background .3s, border-color .3s, box-shadow .3s, width .3s; }
.site-header.scrolled, .site-header.solid { background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.site-header.scrolled .nav, .site-header.solid .nav {
  background: var(--glass); border-color: rgba(255, 255, 255, .09);
  backdrop-filter: saturate(170%) blur(18px); -webkit-backdrop-filter: saturate(170%) blur(18px);
  box-shadow: 0 18px 40px -22px rgba(0, 0, 0, .7); padding-left: 18px; padding-right: 10px;
  width: calc(100% - 24px);
}
.brand img { height: 40px; }
.nav-links > li > a[aria-current="page"] { background: rgba(13, 109, 255, .18); color: #fff; }
.nav-links .nav-new { font-size: .62rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: var(--grad); color: #fff; padding: 2px 6px; border-radius: 999px; }
@media (max-width: 1020px) {
  .site-header .nav { width: 100%; }
  .nav-links { top: calc(var(--header-h) + 10px); }
  body.nav-open .site-header { background: var(--navy-900); }
  .nav-links .nav-social { display: flex; padding-top: 18px; }
}
.nav-links .nav-social { display: none; }

/* Hero: aurora + grid + glass */
.hero::after, .page-hero::after {
  content: ""; position: absolute; width: 620px; height: 620px; right: -160px; top: -220px; border-radius: 50%;
  background: conic-gradient(from 120deg, rgba(56, 211, 255, .0), rgba(56, 211, 255, .35), rgba(13, 109, 255, .45), rgba(124, 194, 255, .0));
  filter: blur(70px); opacity: .7; pointer-events: none; animation: aurora 18s ease-in-out infinite alternate;
}
.page-hero::after { width: 480px; height: 480px; opacity: .5; }
@keyframes aurora { 0% { transform: translate(0, 0) rotate(0); } 100% { transform: translate(-120px, 80px) rotate(80deg); } }
.hero h1 .grad, .page-hero h1 .grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; }
.hero h1 { font-size: clamp(2.5rem, 5.4vw, 4.4rem); line-height: 1.06; }
.pill { backdrop-filter: blur(8px); transition: border-color .2s, background .2s; }
a.pill:hover { border-color: rgba(56, 211, 255, .6); background: rgba(255, 255, 255, .1); color: #fff; }
.pill b { background: var(--grad); }
.pill .arr { width: 15px; height: 15px; }
.hero-visual::before { content: ""; position: absolute; inset: 12% 8% 6% 14%; border-radius: 50%; background: radial-gradient(closest-side, rgba(13, 109, 255, .45), transparent); filter: blur(30px); }
.hero-stats { grid-template-columns: repeat(4, 1fr); border-radius: 22px; }
.hero-stats div { background: rgba(11, 14, 34, .5); }
.hero-stats strong { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Cards: softer radius, gradient-edge hover */
.card { border-radius: var(--radius); }
.card:not(.card-dark):hover { border-color: rgba(13, 109, 255, .35); box-shadow: 0 24px 50px -28px rgba(13, 109, 255, .45), var(--shadow-sm); }
.card-dark { background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .02)); }
.icon { border-radius: 16px; }
.card:hover .icon { background: var(--grad); }

/* Logo marquee */
.marquee { position: relative; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 16px; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track > div { flex: none; width: 190px; background: #fff; border: 1px solid var(--line); border-radius: 16px; display: grid; place-items: center; padding: 16px; height: 92px; }
.marquee-track img { max-height: 56px; width: auto; filter: grayscale(1); opacity: .7; transition: filter .3s, opacity .3s; }
.marquee-track > div:hover img { filter: none; opacity: 1; }
@keyframes marquee { to { transform: translateX(calc(-50% - 8px)); } }

/* Bento grid */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.bento > * { grid-column: span 2; }
.bento > .w3 { grid-column: span 3; }
.bento > .w4 { grid-column: span 4; }
.bento .card { height: 100%; }
.bento .feature { background: radial-gradient(420px 240px at 100% 0%, rgba(13, 109, 255, .35), transparent 70%), linear-gradient(150deg, var(--navy-700), var(--navy-900)); color: #c6cbe6; border: 0; }
.bento .feature h3 { color: #fff; font-size: 1.5rem; }
.bento .feature .num { color: #8fc0ff; }
@media (max-width: 900px) { .bento { grid-template-columns: 1fr 1fr; } .bento > *, .bento > .w3, .bento > .w4 { grid-column: span 1; } .bento > .feature { grid-column: 1 / -1; } }
@media (max-width: 640px) { .bento { grid-template-columns: 1fr; } }

/* Partner spotlight (Ploy) */
.spotlight { position: relative; overflow: hidden; color: #c6cbe6; background: radial-gradient(700px 380px at 0% 0%, rgba(56, 211, 255, .16), transparent 60%), radial-gradient(800px 420px at 100% 100%, rgba(13, 109, 255, .3), transparent 60%), var(--navy-900); }
.spotlight h2, .spotlight h3, .spotlight h4 { color: #fff; }
.lockup { display: inline-flex; align-items: center; gap: 18px; padding: 12px 20px; border-radius: 16px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); margin-bottom: 26px; }
.lockup img { height: 34px; width: auto; }
.lockup .x { color: #8e95b8; font-size: 1.3rem; font-weight: 300; }
.scan-card { position: relative; border-radius: 22px; padding: 30px; background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02)); border: 1px solid rgba(255, 255, 255, .1); display: flex; flex-direction: column; transition: border-color .3s, transform .3s var(--ease); }
.scan-card:hover { border-color: rgba(56, 211, 255, .55); transform: translateY(-4px); }
.scan-card .tag { align-self: flex-start; font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #8fc0ff; background: rgba(13, 109, 255, .16); padding: 5px 11px; border-radius: 999px; margin-bottom: 16px; }
.scan-card h3 { font-size: 1.45rem; margin-bottom: 8px; }
.scan-card .sub { color: #dfe3f5; font-style: italic; margin-bottom: 18px; }
.scan-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 6px 0 22px; }
.scan-facts div { padding: 14px; border-radius: 14px; background: rgba(11, 14, 34, .55); border: 1px solid rgba(255, 255, 255, .07); }
.scan-facts strong { display: block; color: #fff; font-size: 1.25rem; line-height: 1.2; }
.scan-facts span { font-size: .8rem; color: #9aa1c7; line-height: 1.35; display: block; margin-top: 4px; }
.scan-card .actions { margin-top: auto; display: flex; flex-wrap: wrap; gap: 10px; padding-top: 8px; }
.trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 34px; font-size: .92rem; }
.trust span { display: inline-flex; align-items: center; gap: 8px; color: #dfe3f5; }
.trust svg { width: 18px; height: 18px; color: var(--cyan); }
@media (max-width: 640px) { .scan-facts { grid-template-columns: 1fr; } .lockup img { height: 26px; } }

/* Video */
.video-frame { border-radius: 22px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 40px 80px -40px rgba(13, 109, 255, .6); background: #000; line-height: 0; }
.video-frame video { width: 100%; height: auto; display: block; }
.video-note { font-size: .82rem; color: #8e95b8; margin-top: 12px; }

/* Ladder (scan → roadmap → rollout) */
.ladder { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; counter-reset: step; }
.ladder > div { position: relative; padding: 24px 20px; border-radius: 18px; background: #fff; border: 1px solid var(--line); }
.ladder > div::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--navy); color: #fff; font-weight: 700; margin-bottom: 14px; font-size: .95rem; }
.ladder > div:first-child::before { background: var(--grad); }
.ladder h4 { margin-bottom: 6px; }
.ladder p { font-size: .92rem; margin: 0; }
.ladder small { display: block; margin-top: 10px; color: var(--blue); font-weight: 600; font-size: .8rem; }
@media (max-width: 1100px) { .ladder { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .ladder { grid-template-columns: 1fr; } }

/* Finding samples table */
.findings { width: 100%; border-collapse: separate; border-spacing: 0; font-size: .93rem; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: #fff; }
.findings th, .findings td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.findings th { background: var(--bg-soft); color: var(--navy); font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; }
.findings tr:last-child td { border-bottom: 0; }
.sev { display: inline-block; font-size: .74rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; }
.sev.c { background: #fde7ea; color: #b4152f; }
.sev.h { background: #fff1e0; color: #a65300; }
.table-wrap { overflow-x: auto; }

/* Offices */
.offices { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.office { position: relative; overflow: hidden; border-radius: 22px; padding: 32px; color: #c6cbe6; background: linear-gradient(150deg, var(--navy-700), var(--navy-900)); isolation: isolate; }
.office::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(255, 255, 255, .14) 1px, transparent 1.4px); background-size: 16px 16px; mask-image: radial-gradient(circle at 85% 20%, #000, transparent 60%); -webkit-mask-image: radial-gradient(circle at 85% 20%, #000, transparent 60%); }
.office::after { content: ""; position: absolute; right: 34px; top: 34px; width: 14px; height: 14px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 8px rgba(56, 211, 255, .18), 0 0 0 18px rgba(56, 211, 255, .08); animation: ping 2.6s ease-out infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(56, 211, 255, .45), 0 0 0 0 rgba(56, 211, 255, .2); } 100% { box-shadow: 0 0 0 14px rgba(56, 211, 255, 0), 0 0 0 28px rgba(56, 211, 255, 0); } }
.office .badge { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #8fc0ff; background: rgba(13, 109, 255, .16); padding: 4px 10px; border-radius: 999px; margin-bottom: 18px; }
.office h3 { color: #fff; font-size: 2rem; margin-bottom: 2px; }
.office .country { color: #dfe3f5; font-weight: 500; margin-bottom: 18px; }
.office .coords { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .8rem; color: #8e95b8; letter-spacing: .04em; }
.office ul { list-style: none; margin: 16px 0 0; padding: 16px 0 0; border-top: 1px solid rgba(255, 255, 255, .09); display: grid; gap: 8px; font-size: .95rem; }
.office a { color: #dfe3f5; }
.office a:hover { color: #fff; }
.office .link-arrow { color: #8fc0ff; margin-top: 18px; }
@media (max-width: 760px) { .offices { grid-template-columns: 1fr; } }

/* Social buttons */
.social { display: flex; flex-wrap: wrap; gap: 10px; }
.social a { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; color: #dfe3f5; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); transition: background .2s, color .2s, transform .2s var(--ease), border-color .2s; }
.social a:hover { background: var(--blue); border-color: var(--blue); color: #fff; transform: translateY(-2px); }
.social svg { width: 20px; height: 20px; }
.social.light a { color: var(--navy); background: #fff; border-color: var(--line); }
.social.light a:hover { color: #fff; background: var(--blue); border-color: var(--blue); }
.social-wide a { width: auto; padding: 0 16px 0 12px; gap: 10px; display: inline-flex; align-items: center; font-weight: 600; font-size: .92rem; }
.follow-band { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center; padding: 34px 38px; border-radius: 24px; background: var(--bg-soft); border: 1px solid var(--line); }
.follow-band h3 { margin-bottom: 6px; }
.follow-band p { margin: 0; }
.follow-band .social { justify-content: flex-end; }
@media (max-width: 760px) { .follow-band { grid-template-columns: 1fr; padding: 28px 22px; } .follow-band .social { justify-content: flex-start; } }

/* Footer v3 */
.site-footer { position: relative; overflow: hidden; }
.site-footer::before { content: ""; position: absolute; left: -10%; right: -10%; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(56, 211, 255, .6), transparent); }
.foot-grid { grid-template-columns: 1.35fr .9fr .9fr 1fr 1.05fr; gap: 40px; }
.foot-office { margin-bottom: 16px; }
.foot-office b { color: #fff; display: block; font-weight: 600; }
.foot-office span { display: block; font-size: .9rem; }
.site-footer .social { margin-top: 22px; }
.foot-partner { display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; padding: 8px 12px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .1); font-size: .85rem; }
.foot-partner img { height: 18px; width: auto; }
@media (max-width: 1100px) { .foot-grid { grid-template-columns: 1fr 1fr 1fr; } .foot-grid > :first-child { grid-column: 1 / -1; } }
@media (max-width: 640px) { .foot-grid { grid-template-columns: 1fr 1fr; } }

/* Contact: office switcher on the map */
.map-content { position: relative; }
.map-switch { position: absolute; z-index: 500; top: 18px; left: 50%; transform: translateX(-50%); display: flex; gap: 4px; padding: 5px; border-radius: 999px; background: var(--glass); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid rgba(255, 255, 255, .12); line-height: 1.2; box-shadow: 0 16px 30px -18px rgba(0, 0, 0, .7); }
.map-switch button { font: inherit; font-size: .9rem; font-weight: 600; color: #dfe3f5; background: none; border: 0; padding: 9px 18px; border-radius: 999px; cursor: pointer; }
.map-switch button[aria-pressed="true"] { background: var(--blue); color: #fff; }
.contact-socials { margin-top: 26px; }
.contact-socials h4 { margin-bottom: 12px; }

/* Partners page */
.check-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.check-grid > div { padding: 20px; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.check-grid h4 { font-size: 1rem; margin-bottom: 4px; }
.check-grid p { font-size: .9rem; margin: 0; }
@media (max-width: 1100px) { .check-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .check-grid { grid-template-columns: 1fr; } }
.steps3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.steps3 > div { padding: 26px; border-radius: 18px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .09); }
.steps3 .t { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #8fc0ff; }
.steps3 h4 { font-size: 1.2rem; margin: 6px 0 8px; }
.steps3 p { font-size: .94rem; margin: 0; }
.steps3 .who { display: block; margin-top: 12px; font-size: .82rem; color: #8e95b8; }
@media (max-width: 900px) { .steps3 { grid-template-columns: 1fr; } }
.illus { font-size: .82rem; color: var(--muted); margin-top: 12px; }
.bg-navy .illus, .spotlight .illus { color: #8e95b8; }
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.stat-row div { padding: 22px; border-radius: 18px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .09); }
.stat-row strong { display: block; font-size: 2.3rem; line-height: 1; letter-spacing: -.02em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 10px; }
.stat-row span { font-size: .9rem; color: #c6cbe6; }
@media (max-width: 900px) { .stat-row { grid-template-columns: 1fr 1fr; } }

/* Blog: "write for us" note */
.write-note { display: flex; gap: 14px; align-items: center; justify-content: space-between; flex-wrap: wrap; margin-top: 48px; padding: 22px 26px; border-radius: 18px; border: 1px dashed var(--line); background: #fff; font-size: .95rem; }

@media (max-width: 900px) { .hero-stats { grid-template-columns: 1fr 1fr; } }
@media (prefers-reduced-motion: reduce) {
  .hero::after, .page-hero::after, .office::after { animation: none; }
  .marquee-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .marquee-track > [aria-hidden="true"] { display: none; }
  .marquee { mask-image: none; -webkit-mask-image: none; }
}
.findings td:first-child { white-space: nowrap; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .84rem; color: var(--navy); }
.check-grid.c3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .check-grid.c3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .check-grid.c3 { grid-template-columns: 1fr; } }
.card:has(.more) { display: flex; flex-direction: column; }
.card:has(.more) .more { margin-top: auto; padding-top: 18px; }
.card:has(.more) .icon { flex: none; }
.follow-section { padding-top: 0; }
.foot-partner{white-space:nowrap}
.spotlight + .follow-section { padding-top: 72px; }

/* Mobile menu fix: backdrop-filter on the header pill turns it into the containing
   block for the fixed-position menu, which clipped the menu to the pill. */
@media (max-width: 1020px) {
  .site-header.scrolled .nav, .site-header.solid .nav {
    backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(11, 14, 34, .97);
  }
  body.nav-open .site-header { padding-top: 0; height: var(--header-h); background: var(--navy-900); }
  body.nav-open .site-header .nav { width: 100%; border-radius: 0; border-color: transparent; box-shadow: none; background: var(--navy-900); height: var(--header-h); }
  .nav-links { top: var(--header-h); z-index: 99; }
  body.nav-open .nav-links { box-shadow: 0 1px 0 rgba(255, 255, 255, .06) inset; }
}
@media (max-width: 1020px) {
  .nav-links .nav-social { display: flex; padding-top: 22px; }
  .nav-links .mobile-cta { display: block; padding-top: 16px; }
  .nav-links .mobile-cta .btn { width: 100%; }
}
@media (max-width: 1020px) { .nav-links > li.mobile-cta > a.btn { justify-content: center; border-radius: 999px; padding: 14px 20px; border-bottom: 0; background: var(--blue); color: #fff; font-weight: 600; } }

/* Partners hub + Lansweeper */
.lockup img.lsw, .pc-logo img.lsw { height: 24px; }
.foot-partner img + img { margin-left: 4px; padding-left: 10px; border-left: 1px solid rgba(255, 255, 255, .15); }
.foot-partner img.lsw { height: 13px; }
.scan-card .tag.lsw { color: #ffb36b; background: rgba(255, 140, 26, .14); }
.partner-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.partner-card { position: relative; overflow: hidden; border-radius: 24px; padding: 36px; color: #c6cbe6; display: flex; flex-direction: column;
  background: radial-gradient(520px 260px at 100% 0%, rgba(13, 109, 255, .35), transparent 70%), linear-gradient(160deg, var(--navy-700), var(--navy-900)); }
.partner-card:nth-child(2) { background: radial-gradient(520px 260px at 100% 0%, rgba(255, 140, 26, .22), transparent 70%), linear-gradient(160deg, var(--navy-700), var(--navy-900)); }
.partner-card h2 { color: #fff; font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin: 6px 0 12px; }
.partner-card .pc-logo { height: 40px; display: flex; align-items: center; margin-bottom: 22px; }
.partner-card .pc-logo img { height: 34px; width: auto; }
.partner-card .tag { align-self: flex-start; font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #8fc0ff; background: rgba(13, 109, 255, .16); padding: 5px 11px; border-radius: 999px; }
.partner-card:nth-child(2) .tag { color: #ffb36b; background: rgba(255, 140, 26, .14); }
.partner-card .checks { margin: 8px 0 26px; color: #dfe3f5; }
.partner-card .checks li::before { background-color: rgba(13, 109, 255, .2); }
.partner-card .actions { margin-top: auto; display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 900px) { .partner-duo { grid-template-columns: 1fr; } .partner-card { padding: 28px 22px; } }
.chiprow { display: flex; flex-wrap: wrap; gap: 8px; }
.chiprow span { font-size: .88rem; padding: 7px 13px; border-radius: 999px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); color: #dfe3f5; }
.spotlight .steps3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .spotlight .steps3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .spotlight .steps3 { grid-template-columns: 1fr; } }
.ladder + .deliverables { margin-top: 24px; }
.foot-partner { flex-wrap: wrap; white-space: normal; row-gap: 8px; } .foot-partner span { width: 100%; }

/* Oligo + three partner cards */
.lockup img.oli, .pc-logo img.oli { height: 30px; }
.foot-partner img.oli { height: 16px; margin-left: 4px; padding-left: 10px; border-left: 1px solid rgba(255, 255, 255, .15); }
.scan-card .tag.oli, .partner-card:nth-child(3) .tag { color: #c4b5fd; background: rgba(124, 58, 237, .18); }
.partner-duo.trio { grid-template-columns: repeat(3, 1fr); }
.partner-card:nth-child(3) { background: radial-gradient(520px 260px at 100% 0%, rgba(124, 58, 237, .3), transparent 70%), linear-gradient(160deg, var(--navy-700), var(--navy-900)); }
.partner-duo.trio .partner-card { padding: 30px; }
@media (max-width: 1100px) { .partner-duo.trio { grid-template-columns: 1fr; } }
.foot-partner img + img, .foot-partner img.oli { border-left: 0; padding-left: 0; margin-left: 10px; } .foot-partner { column-gap: 0; }

/* Keep the site's own light design: stop mobile browsers' forced dark mode from
   inverting backgrounds and greying out logos. */
:root { color-scheme: only light; }
/* Partner logos: transparent PNGs, full colour on touch screens, subtle greyscale only where hover exists */
.logos div, .marquee-track > div { background: #fff; }
.logos img, .marquee-track img { filter: none; opacity: 1; max-width: 100%; object-fit: contain; }
.logos img { max-height: 52px; }
.marquee-track img { max-height: 50px; max-width: 150px; }
@media (hover: hover) {
  .logos img, .marquee-track img { filter: grayscale(1); opacity: .75; }
  .logos div:hover img, .marquee-track > div:hover img { filter: none; opacity: 1; }
}

/* Five-partner layouts */
.lockup img.bdk, .pc-logo img.bdk { height: 24px; }
.lockup img.cds, .pc-logo img.cds { height: 36px; }
.partner-card:nth-child(4) { background: radial-gradient(520px 260px at 100% 0%, rgba(153, 116, 203, .28), transparent 70%), linear-gradient(160deg, var(--navy-700), var(--navy-900)); }
.partner-card:nth-child(4) .tag { color: #d8c4f5; background: rgba(153, 116, 203, .18); }
.partner-card:nth-child(5) { background: radial-gradient(520px 260px at 100% 0%, rgba(56, 211, 255, .2), transparent 70%), linear-gradient(160deg, var(--navy-700), var(--navy-900)); }
.partner-card:nth-child(5) .tag { color: #9be8ff; background: rgba(56, 211, 255, .14); }
.pt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pt-mini { display: flex; flex-direction: column; gap: 10px; padding: 20px; border-radius: 18px; background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02)); border: 1px solid rgba(255, 255, 255, .1); color: #c6cbe6; transition: border-color .3s, transform .3s var(--ease); }
.pt-mini:hover { border-color: rgba(56, 211, 255, .55); transform: translateY(-3px); color: #dfe3f5; }
.pt-mini:last-child { grid-column: 1 / -1; }
.pt-logo { height: 28px; display: flex; align-items: center; }
.pt-logo img { max-height: 26px; max-width: 160px; width: auto; }
.pt-mini .tag { align-self: flex-start; font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #8fc0ff; background: rgba(13, 109, 255, .16); padding: 4px 10px; border-radius: 999px; }
.pt-txt { font-size: .9rem; line-height: 1.5; }
@media (max-width: 560px) { .pt-grid { grid-template-columns: 1fr; } }

/* Offices: three cards */
.offices { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .offices { grid-template-columns: 1fr; } }
.office h3 { font-size: 1.8rem; }

/* OWASP sponsorship band */
.owasp-section { padding-top: 0; }
.owasp-band { display: grid; grid-template-columns: auto 1fr auto; gap: 26px; align-items: center; padding: 30px 34px; border-radius: 24px; background: linear-gradient(135deg, var(--navy-700), var(--navy-900)); color: #c6cbe6; }
.owasp-band h3 { color: #fff; font-size: 1.45rem; margin: 6px 0 6px; }
.owasp-band p { margin: 0; }
.owasp-band .eyebrow { background: rgba(13, 109, 255, .14); color: #8fc0ff; margin-bottom: 4px; }
.ob-mark { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; background: var(--grad); color: #fff; }
.ob-mark svg { width: 32px; height: 32px; }
.ob-cta { display: flex; flex-direction: column; gap: 10px; }
.owasp-band .btn-outline { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .3); }
.owasp-band .btn-outline:hover { border-color: #fff; color: #fff; }
@media (max-width: 900px) { .owasp-band { grid-template-columns: 1fr; padding: 28px 22px; } }
.foot-sponsor { display: block; margin-top: 14px; font-size: .85rem; color: #9aa1c7; }

/* OWASP events (from Meetup) */
.owasp-events { margin-top: 26px; }
.owasp-events[hidden] { display: none; }
.oe-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.oe-head h3 { margin: 0; font-size: 1.25rem; }
.oe-note { margin: -4px 0 16px; color: var(--muted); font-size: .95rem; }
.oe-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.oe-skel { height: 300px; border-radius: 18px; }
.oe-card { display: flex; flex-direction: column; overflow: hidden; border-radius: 18px; background: #fff; border: 1px solid var(--line); color: var(--text); transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; }
.oe-card:hover { transform: translateY(-4px); border-color: rgba(13, 109, 255, .35); box-shadow: 0 24px 50px -28px rgba(13, 109, 255, .45); color: var(--text); }
.oe-media { position: relative; aspect-ratio: 16 / 9; background: linear-gradient(135deg, var(--navy-700), var(--navy-900)); overflow: hidden; }
.oe-media img { width: 100%; height: 100%; object-fit: cover; }
.oe-date { position: absolute; left: 14px; top: 14px; background: #fff; border-radius: 12px; padding: 6px 10px; text-align: center; line-height: 1.05; box-shadow: 0 8px 20px -10px rgba(0, 0, 0, .5); }
.oe-date b { display: block; font-size: 1.35rem; color: var(--navy); }
.oe-date span { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); }
.oe-flag { position: absolute; right: 14px; top: 14px; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #fff; background: var(--grad); padding: 5px 10px; border-radius: 999px; }
.oe-body { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px 20px; flex: 1; }
.oe-meta { font-size: .8rem; color: var(--muted); }
.oe-body h4 { margin: 0; font-size: 1.05rem; line-height: 1.35; color: var(--navy); }
.oe-foot { font-size: .85rem; color: var(--muted); }
.oe-more { margin-top: auto; padding-top: 8px; font-weight: 600; color: var(--blue); display: inline-flex; align-items: center; gap: 6px; font-size: .92rem; }
.oe-more svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.oe-card:hover .oe-more svg { transform: translateX(4px); }
.oe-card.is-upcoming { border-color: rgba(13, 109, 255, .45); }
@media (max-width: 900px) { .oe-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .oe-grid { grid-template-columns: 1fr; } }
.oe-card.is-upcoming { grid-column: 1 / -1; flex-direction: row; }
.oe-card.is-upcoming .oe-media { flex: 0 0 42%; aspect-ratio: auto; min-height: 240px; }
.oe-card.is-upcoming .oe-body { padding: 26px 30px; justify-content: center; }
.oe-card.is-upcoming h4 { font-size: 1.45rem; }
@media (max-width: 760px) { .oe-card.is-upcoming { flex-direction: column; } .oe-card.is-upcoming .oe-media { flex: none; aspect-ratio: 16 / 9; min-height: 0; } }

/* ===================== v4: logo, language switch, Start Here booking ===================== */
/* Bigger logo */
.brand img { height: 52px; }
.site-footer .brand img { height: 60px; }
@media (max-width: 640px) { .brand img { height: 46px; } }

/* Language switch: small flags + EN / SQ */
.lang-switch { display: inline-flex; align-items: center; gap: 2px; padding: 3px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); }
.lang-switch a { display: inline-flex; align-items: center; gap: 6px; padding: 5px 9px; border-radius: 999px; font-size: .78rem; font-weight: 700; letter-spacing: .04em; color: rgba(255,255,255,.75); text-decoration: none; line-height: 1; }
.lang-switch a:hover { color: #fff; background: rgba(255,255,255,.1); }
.lang-switch a[aria-current="true"] { background: #fff; color: var(--navy-900, #121630); }
.lang-switch img { width: 18px; height: 13.5px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0,0,0,.12); display: block; }
.nav-cta { gap: 12px; }
.nav-links .nav-lang { display: none; }
@media (max-width: 1020px) {
  .nav-cta .lang-switch { display: none; }
  .nav-links .nav-lang { display: block; padding: 6px 0 2px; }
  .nav-links .nav-lang .lang-switch { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.14); }
  .nav-links .nav-lang .lang-switch a { color: rgba(255,255,255,.8); padding: 8px 14px; font-size: .9rem; }
  .nav-links .nav-lang .lang-switch a[aria-current="true"] { background: #fff; color: var(--navy-900, #121630); }
}
@media (min-width: 1021px) and (max-width: 1240px) { .nav-cta .btn-sm { padding-left: 14px; padding-right: 14px; } .nav-cta .btn-sm svg { display: none; } }

/* Start Here booking (contact.html#book) */
.book-section { scroll-margin-top: 90px; padding-bottom: 24px; }
.book-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px; align-items: start; }
.book-intro h2 { margin-top: 6px; }
.book-topic { display: inline-flex; gap: 8px; align-items: center; padding: 8px 14px; border-radius: 999px; background: var(--blue-50, #e8f1ff); color: var(--navy-900, #121630); font-size: .92rem; margin: 6px 0 14px; }
.book-topic[hidden] { display: none; }
.book-frame { padding: 0; overflow: hidden; min-height: 640px; }
.book-frame iframe { display: block; width: 100%; height: 720px; border: 0; }
.book-fallback { padding: 36px; background: linear-gradient(160deg, var(--navy-900, #121630), #1b2350); color: #fff; }
.book-fallback h3 { color: #fff; font-size: 1.35rem; }
.book-fallback p { color: rgba(255,255,255,.78); }
.book-fallback .btn { margin-top: 10px; }
#contact-form { scroll-margin-top: 110px; }
@media (max-width: 900px) { .book-grid { grid-template-columns: 1fr; gap: 24px; } .book-frame iframe { height: 760px; } }

/* "Fixed-scope first engagements" cards */
.card.offer .offer-cta { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-weight: 700; font-size: .92rem; color: var(--blue, #0D6DFF); }
.card.offer .offer-cta svg { width: 16px; height: 16px; transition: transform .2s; }
.card.offer:hover .offer-cta svg { transform: translateX(3px); }

/* AI tool labels (no percentages) */
.card-dark .num.tool-tag { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; }

/* Blog: post written in the other language */
.lang-badge { display: inline-flex; align-items: center; padding: 2px 8px; border-radius: 999px; background: #fff4d6; color: #7a5200; font-size: .72rem; font-weight: 700; letter-spacing: .03em; }

/* Draft notice on legal pages */
.legal-draft { padding: 14px 18px; border-radius: 12px; background: #fff4d6; color: #5c3d00; font-size: .92rem; margin-bottom: 28px; }
.nav-links > li > a, .nav-links > li > button, .nav-new { white-space: nowrap; }
.lang-switch, .nav-cta .btn-sm { flex-shrink: 0; white-space: nowrap; }
@media (min-width: 1021px) and (max-width: 1360px) { html[lang="sq"] .nav-links > li > a, html[lang="sq"] .nav-links > li > button { padding-left: 10px; padding-right: 10px; } }

/* Logo: larger at the top of the page, compact once the glass bar appears */
.site-header .brand img { height: 62px; transition: height .3s ease; }
.site-header.scrolled .brand img, .site-header.solid .brand img { height: 42px; }
@media (max-width: 640px) {
  .site-header .brand img { height: 50px; }
  .site-header.scrolled .brand img, .site-header.solid .brand img, body.nav-open .site-header .brand img { height: 40px; }
}
