/* v4: the deal under the hero, real cases, profiles with data, comparison, cost estimator,
   FAQ and in-page booking. Loaded last. */

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.link-light { color: #fff; }
.proto { margin-top: 10px; font-size: 12px; color: var(--mute-d); }
.hero-title .ln > span { white-space: nowrap; }
@media (max-width: 640px) { .hero-title .ln > span { white-space: normal; } }

/* ================= THE DEAL ================= */
.deal { background: var(--black); box-shadow: inset 0 1px 0 var(--line-d), inset 0 -1px 0 var(--line-d); }
.deal-row { max-width: var(--max); margin: 0 auto; padding: 22px var(--side); display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; }
.deal-row li { display: grid; gap: 3px; padding-left: 16px; border-left: 1px solid var(--line-d); }
.deal-row b { font-weight: 500; font-size: 17px; letter-spacing: -.01em; }
.deal-row span { font-size: 13.5px; color: var(--mute-d); line-height: 1.4; }
.deal-row li:first-child b { color: #ff9e68; }
@media (max-width: 1000px) { .deal-row { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 18px; } }
@media (max-width: 560px) { .deal-row { grid-template-columns: 1fr 1fr; } .deal-row li:last-child { grid-column: 1 / -1; } }

/* ================= CASES: stacked cards ================= */
.work2 { padding-block: clamp(80px, 10vw, 140px); }
.cs-stack { max-width: var(--max); margin: 0 auto; padding-inline: var(--side); display: grid; gap: 24px; }
.cs {
  position: sticky; top: calc(var(--nav-h) + 16px + var(--i) * 14px);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  min-height: min(620px, calc(100vh - var(--nav-h) - 60px));
  border-radius: 24px; overflow: hidden;
  background: #121214; box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 -30px 60px -40px #000;
}
.cs-media { position: relative; order: 2; overflow: hidden; }
.cs-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.cs-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #121214 0%, rgba(18,18,20,0) 28%); }
.cs-body { padding: clamp(24px, 3vw, 44px); display: flex; flex-direction: column; gap: 16px; }
.cs-client { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.cs-client b { font-weight: 600; font-size: 18px; letter-spacing: -.01em; }
.cs-client span { font-size: 13.5px; color: var(--mute-d); }
.cs-title { font-weight: 500; font-size: clamp(22px, 2.1vw, 30px); letter-spacing: -.025em; line-height: 1.18; max-width: 22ch; }
.cs-text { font-size: 15px; line-height: 1.55; color: rgba(255,255,255,.74); max-width: 52ch; }
.cs-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 4px; }
.cs-facts li { display: grid; gap: 4px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.14); }
.cs-facts b { font-weight: 500; font-size: clamp(20px, 1.9vw, 28px); letter-spacing: -.03em; color: #ff9e68; }
.cs-facts span { font-size: 13px; line-height: 1.4; color: var(--mute-d); }
.cs-quote { margin-top: auto; padding-top: 16px; }
.cs-quote p { font-size: 15.5px; line-height: 1.45; }
.cs-quote cite { display: block; margin-top: 6px; font-style: normal; font-size: 13px; color: var(--mute-d); }
@media (max-width: 900px) {
  .cs { position: relative; top: auto; grid-template-columns: 1fr; min-height: 0; }
  .cs-media { order: 0; aspect-ratio: 16 / 8; }
  .cs-media::after { background: linear-gradient(0deg, #121214 0%, rgba(18,18,20,0) 40%); }
  .cs-facts { grid-template-columns: 1fr 1fr 1fr; }
}
@media (max-width: 480px) { .cs-facts { grid-template-columns: 1fr; } }

/* ================= EXPERTISE: profile data ================= */
.panel-facts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; opacity: 0; transition: opacity .5s; }
.panel-facts li { padding: 4px 10px; border-radius: 999px; font-size: 12.5px; background: rgba(255,255,255,.14); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.panel-ask { display: inline-block; margin-top: 14px; padding: 9px 16px; border-radius: 999px; background: #fff; color: #000; font-size: 13.5px; font-weight: 600; opacity: 0; transition: opacity .5s, transform .3s; }
.panel-ask:hover { transform: translateY(-1px); }
.panel.is-on .panel-facts, .panel.is-on .panel-ask { opacity: 1; transition-delay: .35s; }
.panel:not(.is-on) .panel-ask { pointer-events: none; }
@media (max-width: 860px) { .panel-facts, .panel-ask { opacity: 1; } .panel:not(.is-on) .panel-ask { pointer-events: auto; } }

/* ================= NUMBERS: v4 figures ================= */
.cell-v small { font-size: .45em; color: var(--mute-d); letter-spacing: 0; }
.ten-min { left: calc(40px + (100% - 40px) * .5); border-left-color: var(--orange); }
.ten-min::before { content: "6-year minimum"; color: #ff9e68; white-space: nowrap; }

/* ================= FAQ ================= */
.faq { padding-block: clamp(80px, 10vw, 140px); }
.faq-in { max-width: var(--max); margin: 0 auto; padding-inline: var(--side); display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 5vw, 88px); align-items: start; }
.faq-side { position: sticky; top: calc(var(--nav-h) + 24px); }
.faq-side .lead { margin-top: 16px; }
.faq-list { border-top: 1px solid var(--line-l); }
.faq-i { border-bottom: 1px solid var(--line-l); }
.faq-i summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 0; font-size: 17px; font-weight: 500; letter-spacing: -.01em; }
.faq-i summary::-webkit-details-marker { display: none; }
.faq-i summary i { position: relative; flex: none; width: 28px; height: 28px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px var(--line-l); }
.faq-i summary i::before, .faq-i summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.5px; margin: -.75px 0 0 -5.5px; background: var(--ink); transition: transform .3s var(--ease-out); }
.faq-i summary i::after { transform: rotate(90deg); }
.faq-i[open] summary i::after { transform: rotate(0deg); }
.faq-i p { padding: 0 48px 22px 0; color: var(--mute-l); line-height: 1.6; max-width: 64ch; }
@media (max-width: 900px) { .faq-in { grid-template-columns: 1fr; } .faq-side { position: static; } }

/* ================= BOOKING IN THE CLOSE ================= */
.close-title { font-size: clamp(34px, min(4.4vw, 8.6svh), 64px); max-width: 18ch; }
.close-lead { max-width: 52ch; }
.book { margin-top: 6px; width: min(860px, 100%); }
.book-step { display: grid; gap: 14px; }
.book-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 10px; }
.book-grid label { display: grid; gap: 6px; font-size: 13px; font-weight: 500; color: rgba(255,255,255,.8); }
.book-grid input, .book-grid select { height: 48px; padding: 0 14px; border: 0; border-radius: 12px; font: inherit; font-size: 15px; color: #fff; background: rgba(14,14,16,.6); box-shadow: inset 0 0 0 1px rgba(255,255,255,.2); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.book-grid select option { color: #000; }
.book-grid input::placeholder { color: rgba(255,255,255,.45); }
.book .btn { justify-self: start; }
.book-err { font-size: 13.5px; color: #ff9e68; }
.book-err:empty { display: none; }
.book-h { display: flex; align-items: center; gap: 12px; font-size: 17px; font-weight: 500; }
.book-h img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; object-position: 50% 25%; }
.slots { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.slot-day { display: grid; gap: 8px; align-content: start; }
.slot-day p { font-size: 13px; color: rgba(255,255,255,.75); }
.slot-day button { height: 40px; border-radius: 10px; font-size: 14px; font-weight: 500; background: rgba(14,14,16,.6); box-shadow: inset 0 0 0 1px rgba(255,255,255,.2); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); transition: background-color .2s, color .2s; }
.slot-day button:hover { background: #fff; color: #000; }
.book-back { justify-self: start; font-size: 13.5px; color: rgba(255,255,255,.7); text-decoration: underline; }
.book-sum { font-size: 15px; color: rgba(255,255,255,.86); max-width: 60ch; }
@media (max-width: 900px) { .book-grid { grid-template-columns: 1fr 1fr; } .slots { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 520px) { .book-grid { grid-template-columns: 1fr; } .slots { grid-template-columns: 1fr 1fr; } }
:root { --t-hero: clamp(36px, min(4.3vw, 8.8svh), 64px); }
.hero-in { width: min(760px, 54vw); }
@media (max-width: 1000px) { .hero-in { width: 100%; } }

/* the hidden attribute must win over display rules above */
[hidden] { display: none !important; }

/* ================= BLOG: small and standard ================= */
.blog2 { padding-block: clamp(56px, 6vw, 88px); border-top: 1px solid var(--line-l); }
.blog2-in { max-width: var(--max); margin: 0 auto; padding-inline: var(--side); }
.blog2-head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.blog2-h { font-weight: 500; font-size: clamp(22px, 1.9vw, 28px); letter-spacing: -.02em; }
.bc-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.bc a { display: grid; gap: 10px; align-content: start; height: 100%; }
.bc-img { display: block; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: #111; }
.bc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.bc a:hover .bc-img img { transform: scale(1.05); }
.bc-meta { display: flex; align-items: center; gap: 10px; margin-top: 4px; font-size: 13px; color: var(--mute-l); }
.bc-cat { padding: 3px 9px; border-radius: 999px; background: var(--paper); color: var(--ink); font-weight: 500; }
.bc-title { font-size: 16.5px; font-weight: 500; line-height: 1.35; letter-spacing: -.01em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; transition: color .25s; }
.bc-more { font-size: 14px; font-weight: 500; color: var(--blue); }
.bc a:hover .bc-title { color: var(--blue); }
@media (max-width: 860px) {
  .bc-row { grid-template-columns: 1fr; gap: 0; }
  .bc a { grid-template-columns: 112px minmax(0, 1fr); grid-template-rows: auto auto auto; column-gap: 14px; row-gap: 4px; padding: 14px 0; border-top: 1px solid var(--line-l); }
  .bc:last-child a { border-bottom: 1px solid var(--line-l); }
  .bc-img { grid-row: 1 / span 3; aspect-ratio: 4 / 3; border-radius: 10px; }
  .bc-meta { margin-top: 0; font-size: 12px; }
  .bc-title { font-size: 15px; }
  .bc-more { display: none; }
}

/* ================= v4.1: shorter page, nav anchors, phone bar, footer ================= */
.btn-ghost { color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.45); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); background: rgba(0,0,0,.18); }
.btn-ghost:hover { background: #fff; color: #000; }
.hero-actions { gap: 14px 20px; }
.hero-actions .clutch { margin-right: 8px; }
@media (max-width: 640px) { .hero-actions .btn-ghost { display: none; } }
.nav-links { gap: 22px; }
.nav-panel-industries { left: -24px; }

/* why, now inside the hiring section */
.stay { padding-block: clamp(72px, 9vw, 128px); }
.stay .inst { background: #fff; }

/* FAQ with a CTO / CEO switch */
.switch-light { margin-top: 26px; background: rgba(26,26,26,.05); box-shadow: inset 0 0 0 1px var(--line-l); }
.switch-light .switch-b { color: var(--mute-l); }
.switch-light .switch-b.is-on { color: #fff; }
.switch-light .switch-thumb { background: var(--ink); }
.faq-list { border-top: 0; }
.faq-say { padding-bottom: 16px; border-bottom: 1px solid var(--line-l); font-size: clamp(18px, 1.5vw, 21px); line-height: 1.4; letter-spacing: -.01em; }

/* phones: a booking bar once the hero is gone */
.mbar { display: none; }
@media (max-width: 760px) {
  .mbar {
    position: fixed; z-index: 45; left: 0; right: 0; bottom: 0;
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 10px max(16px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
    background: rgba(12,12,12,.86); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
    box-shadow: inset 0 1px 0 var(--line-d); color: #fff;
    transform: translateY(110%); transition: transform .45s var(--ease-out);
  }
  .mbar.is-on { transform: none; }
  .mbar span { font-size: 13.5px; color: rgba(255,255,255,.8); }
  .mbar .btn { height: 42px; padding: 0 18px; font-size: 14px; }
}

/* footer */
.foot-in-4 { grid-template-columns: 1.6fr 1.2fr 1fr 1fr; }
.foot-legal-id { font-size: 13.5px; max-width: 30ch; }
.foot-social { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-size: 14px; color: var(--mute-d); transition: color .2s; }
.foot-social:hover { color: #fff; }
.foot-social svg { width: 16px; height: 16px; fill: currentColor; }
.foot-legal p:last-child { display: flex; gap: 18px; }
@media (max-width: 900px) { .foot-in-4 { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .foot-in-4 { grid-template-columns: 1fr; } }

/* case photos: the same documentary grade as the rest of the footage */
.cs-media img { object-position: 58% 42%; filter: saturate(.9) contrast(1.04) brightness(.92); }
.cs-media::after { z-index: 2; background: linear-gradient(90deg, #121214 0%, rgba(18,18,20,.55) 12%, rgba(18,18,20,0) 30%), linear-gradient(0deg, rgba(18,18,20,.35), rgba(18,18,20,0) 35%); }
@media (max-width: 900px) { .cs-media::after { background: linear-gradient(0deg, #121214 0%, rgba(18,18,20,0) 45%); } .cs-media img { object-position: 62% 40%; } }

/* v5: FAQ by role, four tabs (CEO, CTO, CISO, CFO); the thumb follows --i */
.switch-4 { grid-template-columns: repeat(4, 1fr); }
.switch-4 .switch-b { padding: 0 18px; }
.switch-4 .switch-thumb { width: calc((100% - 8px) / 4); transform: translateX(calc(var(--i, 0) * 100%)); }
@media (max-width: 560px) { .switch-4 .switch-b { padding: 0 8px; } }


/* v5: the closing strip lines up with the text above it: same column, five equal tiles, edge to edge */
@media (min-width: 761px) {
  .strip { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); width: 100%; max-width: var(--max); margin-inline: auto; will-change: auto; }
  .strip-w { width: auto; }
}


