/* Third pass: product-led sections (services mosaic, technology wall, numbers bento, articles),
   plus the two additions (security and IP, CEO / CTO terms). Loaded after the other sheets. */

.face { display: block; flex: none; width: 28px; height: 28px; border-radius: 50%; background: #222 var(--fx, 70%) 24% / 430% auto no-repeat; }
.tile-us .face { position: absolute; inset: 0; width: auto; height: auto; border-radius: 0; background-size: 300% auto; }

/* glass surface + pointer spotlight shared by the dark tiles */
.glass, .cell, .terms li, .post a {
  background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.025));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.1);
}
[data-spot] { position: relative; }
[data-spot]::before {
  content: ""; position: absolute; inset: 0; z-index: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, -40%), rgba(255,255,255,.11), transparent 62%);
  opacity: 0; transition: opacity .4s;
}
[data-spot]:hover::before { opacity: 1; }
[data-spot] > * { position: relative; z-index: 1; }
.glow { position: absolute; z-index: 0; width: 60vw; height: 60vw; max-width: 900px; max-height: 900px; border-radius: 50%; filter: blur(120px); opacity: .17; pointer-events: none; }
.glow-a { background: var(--orange); left: -20vw; top: -14vw; }
.glow-b { background: var(--blue); right: -22vw; bottom: -18vw; }

.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags a { display: inline-block; padding: 5px 11px; border-radius: 999px; font-size: 12.5px; font-weight: 500; background: rgba(255,255,255,.14); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: background-color .25s, color .25s; }
.tags a:hover { background: #fff; color: #000; }

/* ================= SERVICES: six people, six kinds of work ================= */
.mosaic {
  max-width: var(--max); margin: 0 auto; padding-inline: var(--side);
  display: grid; gap: 12px;
  grid-template-columns: var(--c1, 1.9fr) var(--c2, 1fr) var(--c3, 1fr);
  grid-template-rows: var(--r1, 1.45fr) var(--r2, 1fr);
  height: clamp(560px, 92svh, 820px);
  transition: grid-template-columns .8s var(--ease-out), grid-template-rows .8s var(--ease-out);
}
.svc { position: relative; overflow: hidden; min-width: 0; min-height: 0; border-radius: 20px; background: #111; color: #fff; cursor: pointer; }
.svc-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--fx) 30%; filter: brightness(.74) saturate(.85); transform: scale(1.05); transition: filter .8s, transform 1.8s var(--ease-out); }
.svc.is-on .svc-img { filter: none; transform: none; }
.svc::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(0deg, rgba(0,0,0,.82), rgba(0,0,0,0) 58%), linear-gradient(90deg, rgba(0,0,0,.55), rgba(0,0,0,0) 62%); opacity: .65; transition: opacity .6s; }
.svc.is-on::after { opacity: 1; }
.svc-in { position: absolute; z-index: 2; left: 22px; right: 22px; bottom: 20px; }
.svc.is-on .svc-in { right: auto; width: min(290px, calc(100% - 44px)); }
.svc h3 { font-weight: 500; font-size: clamp(17px, 1.35vw, 21px); letter-spacing: -.02em; line-height: 1.2; }
.svc-more { display: grid; gap: 12px; justify-items: start; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .7s var(--ease-out), opacity .35s, margin-top .5s; }
.svc.is-on .svc-more { max-height: 280px; opacity: 1; margin-top: 10px; transition: max-height .8s var(--ease-out) .1s, opacity .5s .25s, margin-top .5s; }
.svc-more p { font-size: 14.5px; line-height: 1.5; color: rgba(255,255,255,.86); }
.svc .link { color: #fff; font-size: 14.5px; }
.svc-bar { position: absolute; z-index: 2; left: 22px; right: 22px; top: 16px; height: 2px; border-radius: 2px; background: rgba(255,255,255,.25); opacity: 0; transition: opacity .4s; }
.svc.is-on .svc-bar { opacity: 1; }
.svc-bar i { display: block; height: 100%; border-radius: 2px; background: #fff; transform: scaleX(0); transform-origin: left center; }
/* the live screen of what this person ships, in glass over the photo (the hero's own device) */
.svc .art {
  position: absolute; z-index: 2; right: 18px; bottom: 18px; margin: 0;
  width: 440px; height: 196px; border-radius: 14px; overflow: hidden;
  display: flex; flex-direction: column; color: #c9cdd4;
  transform: scale(var(--art-s)); transform-origin: right bottom;
  background: rgba(14, 14, 16, .74);
  -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3);
  box-shadow: 0 0 0 1px rgba(255,255,255,.16), 0 40px 60px -30px #000;
  opacity: 0; visibility: hidden; transition: opacity .4s, visibility 0s .4s;
}
/* v5 fix: the screen waits until the tile has finished opening (.8s), and it only shows when the
   open tile has room for the text (22 + 290px), a gap and the screen. Otherwise the two would overlap. */
.svc.is-on .art { opacity: 1; visibility: visible; transition: opacity .6s .9s; }
.svc { container-type: inline-size; }
/* the screen's scale per screen width, and the open-tile width it needs: 22 + 290 + 20 + 440 * scale + 18 */
@media (max-width: 1365px) {
  .mosaic { --art-s: .44; }
  @container (max-width: 543px) { .svc .art { display: none; } }
}
@media (min-width: 1366px) and (max-width: 1499px) {
  .mosaic { --art-s: .5; }
  @container (max-width: 569px) { .svc .art { display: none; } }
}
@media (min-width: 1500px) {
  .mosaic { --art-s: .55; }
  @container (max-width: 591px) { .svc .art { display: none; } }
}
@media (max-width: 1199px) { .svc .art { display: none; } }
@media (max-width: 899px) {
  .mosaic { display: grid; grid-template-columns: 1fr; grid-template-rows: none; height: auto; }
  .svc { display: flex; flex-direction: column; justify-content: flex-end; min-height: 400px; padding: 170px 20px 20px; cursor: default; }
  .svc-img { filter: none; transform: none; }
  .svc::after { opacity: 1; background: linear-gradient(0deg, rgba(0,0,0,.9) 30%, rgba(0,0,0,0) 78%); }
  .svc-in, .svc.is-on .svc-in { position: relative; inset: auto; width: auto; }
  .svc-more, .svc.is-on .svc-more { max-height: none; opacity: 1; margin-top: 10px; }
  .svc-bar { display: none; }
}

/* ================= TECHNOLOGY: the wall ================= */
.wall { max-width: var(--max); margin: 0 auto; padding-inline: var(--side); }
.wall-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.wall-chip { height: 36px; padding: 0 16px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--mute-l); box-shadow: inset 0 0 0 1px var(--line-l); transition: background-color .3s, color .3s, box-shadow .3s; }
.wall-chip:hover { color: var(--ink); }
.wall-chip.is-on { background: var(--ink); color: #fff; box-shadow: none; }
.wall-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 8px; }
.wall-item {
  height: 94px; border-radius: 14px; background: #fff; color: var(--ink);
  display: grid; place-content: center; justify-items: center; gap: 10px;
  font-size: 12.5px; font-weight: 500; text-align: center; line-height: 1.2; padding: 0 6px;
  box-shadow: 0 0 0 1px rgba(26,26,26,.06);
  transition: opacity .5s, transform .5s var(--ease-out), box-shadow .5s, color .3s;
}
.wall-ic { width: 26px; height: 26px; background: currentColor; -webkit-mask: center / contain no-repeat; mask: center / contain no-repeat; }
.wall-ic-gen { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 1.5l2.6 7.9 7.9 2.6-7.9 2.6L12 22.5l-2.6-7.9L1.5 12l7.9-2.6z'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 1.5l2.6 7.9 7.9 2.6-7.9 2.6L12 22.5l-2.6-7.9L1.5 12l7.9-2.6z'/></svg>"); }
.wall-item:hover { color: var(--blue); transform: translateY(-3px); box-shadow: 0 0 0 1px rgba(1,96,231,.25), 0 14px 28px -14px rgba(1,96,231,.35); }
.wall.is-filter .wall-item { opacity: .26; }
.wall.is-filter .wall-item.is-hit { opacity: 1; transform: translateY(-3px); box-shadow: 0 0 0 1px rgba(26,26,26,.08), 0 14px 28px -14px rgba(26,26,26,.3); }
@media (max-width: 600px) { .wall-grid { grid-template-columns: repeat(3, 1fr); } .wall-item { height: 84px; } }

/* ================= NUMBERS: three live tiles ================= */
.numbers { position: relative; overflow: hidden; }
.numbers > :not(.glow) { position: relative; z-index: 1; }
.bento { max-width: var(--max); margin: 0 auto; padding-inline: var(--side); display: grid; grid-template-columns: 1fr 1.5fr 1fr; gap: 14px; }
.cell { border-radius: 22px; padding: 24px; min-height: 340px; display: flex; flex-direction: column; overflow: hidden; -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); }
.cell-k { font-family: var(--f-text); font-weight: 500; font-size: 14.5px; color: var(--mute-d); }
.cell-v { font-weight: 500; font-size: clamp(38px, 3.6vw, 54px); letter-spacing: -.035em; line-height: 1.05; margin-top: 6px; white-space: nowrap; }
.viz { margin-top: auto; }
.viz-ring { display: grid; place-items: center; padding-top: 16px; }
.viz-ring svg { width: 156px; height: 156px; transform: rotate(-90deg); overflow: visible; }
.ring-bg { fill: none; stroke: rgba(255,255,255,.09); stroke-width: 7; }
.ring-fg { fill: none; stroke: var(--orange); stroke-width: 7; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; filter: drop-shadow(0 0 7px rgba(236,98,25,.65)); }
.ring-faces { position: absolute; display: flex; }
.ring-faces .face { width: 34px; height: 34px; margin-left: -10px; box-shadow: 0 0 0 2px #1d1d1d; }
.ring-faces .face:first-child { margin-left: 0; }
.viz-tenure { position: relative; display: grid; gap: 9px; padding-top: 16px; }
.ten-row { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: center; }
.ten-row i { display: block; height: 10px; border-radius: 999px; background: rgba(255,255,255,.07); }
.ten-row b { display: block; height: 100%; width: var(--w); border-radius: inherit; background: linear-gradient(90deg, rgba(236,98,25,.45), var(--orange)); transform-origin: left center; }
.ten-avg { position: absolute; top: 8px; bottom: 22px; left: calc(40px + (100% - 40px) * .7); width: 0; border-left: 1px dashed rgba(255,255,255,.55); }
.ten-avg::before { content: "avg"; position: absolute; top: -6px; left: 6px; font-size: 11px; color: rgba(255,255,255,.7); }
.ten-axis { display: flex; justify-content: space-between; margin-left: 40px; font-size: 11px; color: var(--mute-d); }
.ten-axis i { font-style: normal; }
.viz-days { padding: 16px 2px 0; }
.day-line { display: block; height: 2px; margin: 0 9px -10px; background: rgba(255,255,255,.12); }
.day-line b { display: block; height: 100%; background: var(--orange); transform: scaleX(0); transform-origin: left center; }
.day-dots { position: relative; display: flex; justify-content: space-between; }
.day-dots i { width: 18px; height: 18px; border-radius: 50%; background: #2b2b2b; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.22); transition: background-color .3s, box-shadow .3s; }
.day-dots i.is-on { background: var(--orange); box-shadow: 0 0 0 5px rgba(236,98,25,.18); }
.day-names { display: flex; justify-content: space-between; margin-top: 10px; font-size: 11.5px; color: var(--mute-d); }
.day-names em { font-style: normal; width: 18px; text-align: center; white-space: nowrap; display: flex; justify-content: center; }
.recog { max-width: var(--max); margin: clamp(48px, 6vw, 80px) auto 0; padding-inline: var(--side); display: grid; grid-template-columns: auto 1fr auto; gap: clamp(24px, 4vw, 64px); align-items: center; }
.recog-h { font-family: var(--f-text); font-weight: 500; font-size: 14.5px; color: var(--mute-d); white-space: nowrap; }
.recog-logos { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-left: clamp(24px, 4vw, 64px); border-left: 1px solid var(--line-d); }
.recog-logos img { height: 26px; width: auto; filter: brightness(0) invert(1); opacity: .66; }
@media (max-width: 1000px) {
  .bento { grid-template-columns: 1fr; }
  .cell { min-height: 0; gap: 4px; }
  .viz { margin-top: 20px; }
  .recog { grid-template-columns: 1fr; justify-items: start; }
  .recog-logos { flex-wrap: wrap; justify-content: flex-start; border: 0; padding: 0; gap: 28px 40px; }
}

/* ================= ARTICLES ================= */
.posts { max-width: var(--max); margin: 0 auto; padding-inline: var(--side); display: grid; grid-template-columns: 1.3fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; }
.post-lead { grid-row: 1 / span 2; }
.post a { display: flex; height: 100%; border-radius: 22px; overflow: hidden; transition: box-shadow .4s; }
.post a:hover { box-shadow: inset 0 0 0 1px rgba(255,255,255,.26); }
.post-lead a { flex-direction: column; }
.post-cover { display: block; overflow: hidden; background: #000; }
.post-lead .post-cover { aspect-ratio: 16 / 7; }
.post:not(.post-lead) .post-cover { flex: 0 0 40%; }
.post-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-out); }
.post a:hover .post-cover img { transform: scale(1.07); }
.post-body { flex: 1; display: flex; flex-direction: column; gap: 12px; padding: 22px 24px; min-width: 0; }
.post-meta { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--mute-d); }
.post-meta span:first-child { padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,.1); color: #fff; font-weight: 500; }
.post-title { font-family: var(--f-display); font-weight: 500; font-size: clamp(17px, 1.4vw, 20px); letter-spacing: -.02em; line-height: 1.28; }
.post-lead .post-title { font-size: clamp(20px, 1.9vw, 28px); line-height: 1.2; max-width: 26ch; }
.post-more { margin-top: auto; font-weight: 500; font-size: 14px; color: rgba(255,255,255,.66); transition: color .3s; }
.post a:hover .post-more { color: var(--orange); }
@media (max-width: 900px) {
  .posts { grid-template-columns: 1fr; grid-template-rows: none; }
  .post-lead { grid-row: auto; }
  .post a { flex-direction: column; }
  .post:not(.post-lead) .post-cover, .post-lead .post-cover { flex: none; aspect-ratio: 16 / 9; }
}

/* ================= SECURITY (new) ================= */
.secure { background: #000; color: #fff; }
.secure-stage { position: relative; min-height: max(100svh, 600px); overflow: hidden; display: flex; }
.secure-media { position: absolute; inset: 0; }
.secure-media video { width: 100%; height: 100%; object-fit: cover; object-position: 60% 36%; }
.secure-shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(0,0,0,.84) 0%, rgba(0,0,0,.4) 44%, rgba(0,0,0,.12) 68%, rgba(0,0,0,.5) 100%), linear-gradient(0deg, rgba(0,0,0,.8), rgba(0,0,0,0) 46%); }
.secure-in { position: relative; z-index: 3; width: 100%; max-width: var(--max); margin: 0 auto; padding: calc(var(--nav-h) + 40px) var(--side) clamp(28px, 6svh, 64px); display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; }
.secure-copy { max-width: 580px; }
.secure-copy .lead { margin-top: 18px; max-width: 48ch; color: rgba(255,255,255,.8); }
.watch { flex: 0 0 min(360px, 32vw); }
.watch-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; font-size: 13.5px; font-weight: 500; }
.watch-head i { width: 8px; height: 8px; border-radius: 50%; background: var(--run); box-shadow: 0 0 0 4px rgba(43,182,115,.2); animation: pulse 1.8s infinite; }
.watch-list { padding: 4px 20px; border-radius: 18px; background: rgba(14,14,16,.62); -webkit-backdrop-filter: blur(18px) saturate(1.3); backdrop-filter: blur(18px) saturate(1.3); box-shadow: inset 0 0 0 1px rgba(255,255,255,.13); }
.watch-list li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; font-size: 14.5px; border-bottom: 1px solid rgba(255,255,255,.08); }
.watch-list li:last-child { border-bottom: 0; }
.watch-list span { color: rgba(255,255,255,.7); }
.watch-list b { font-weight: 500; white-space: nowrap; }
.watch-list li:not(:last-child) b::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 8px; border-radius: 50%; background: var(--run); vertical-align: middle; }
.watch-note { margin-top: 8px; text-align: right; font-size: 11px; color: rgba(255,255,255,.42); }
.pin { position: absolute; z-index: 3; width: 248px; padding: 13px 16px; border-radius: 14px; display: grid; gap: 4px; background: rgba(14,14,16,.6); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.15); }
.pin b { font-weight: 500; font-size: 15px; }
.pin span { font-size: 13px; line-height: 1.4; color: rgba(255,255,255,.72); }
.pin i { position: absolute; left: 24px; top: 100%; width: 1px; height: 34px; background: rgba(255,255,255,.55); }
.pin i::after { content: ""; position: absolute; left: -4px; bottom: -9px; width: 9px; height: 9px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(255,255,255,.2); }
.pin-person { left: 40%; top: 15%; }
.pin-laptop { left: 72%; top: 24%; }
.assure { max-width: var(--max); margin: 0 auto; padding: 0 var(--side); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.assure li { padding: 30px 24px 44px 0; border-top: 1px solid var(--line-d); }
.assure h3 { font-family: var(--f-text); font-weight: 500; font-size: 17px; letter-spacing: -.01em; }
.assure p { margin-top: 8px; font-size: 14.5px; line-height: 1.5; color: var(--mute-d); max-width: 30ch; }
@media (max-width: 1100px) { .pin { display: none; } }
@media (max-width: 860px) {
  .secure-in { flex-direction: column; align-items: stretch; justify-content: flex-end; padding-top: 34svh; }
  .watch { flex: none; }
  .secure-shade { background: linear-gradient(0deg, rgba(0,0,0,.94) 34%, rgba(0,0,0,.2) 80%); }
  .assure { grid-template-columns: 1fr 1fr; column-gap: 20px; }
}
@media (max-width: 480px) { .assure { grid-template-columns: 1fr; } .assure li { padding-bottom: 28px; } }

/* ================= ROLES (new): the same deal, read as a CEO or as a CTO ================= */
.roles { position: relative; overflow: hidden; padding-block: clamp(80px, 10vw, 140px); }
.roles-in { position: relative; z-index: 1; max-width: var(--max); margin: 0 auto; padding-inline: var(--side); }
.roles-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; margin-bottom: clamp(28px, 4vw, 52px); }
.roles-head .h2 { max-width: 15ch; }
.switch { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 999px; background: rgba(255,255,255,.07); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); }
.switch-b { position: relative; z-index: 1; height: 44px; padding: 0 26px; border-radius: 999px; font-weight: 500; font-size: 15px; white-space: nowrap; color: rgba(255,255,255,.62); transition: color .3s; }
.switch-b.is-on { color: #000; }
.switch-thumb { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 999px; background: #fff; transition: transform .5s var(--ease-out); }
.switch[data-on="cto"] .switch-thumb { transform: translateX(100%); }
.role { display: none; }
.role.is-on { display: block; }
.role-say { max-width: 32ch; margin-bottom: 26px; font-size: clamp(19px, 1.9vw, 26px); line-height: 1.32; letter-spacing: -.015em; color: rgba(255,255,255,.9); }
.terms { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.terms li { border-radius: 20px; padding: 22px; min-height: 188px; display: flex; flex-direction: column; justify-content: space-between; gap: 20px; overflow: hidden; }
.terms b { font-weight: 500; font-size: clamp(21px, 1.9vw, 27px); letter-spacing: -.03em; line-height: 1.12; }
.terms p { font-size: 14.5px; line-height: 1.5; color: var(--mute-d); }
.roles-foot { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line-d); }
.roles-foot img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; object-position: 50% 25%; }
.roles-foot p { flex: 1 1 240px; color: var(--mute-d); }
.roles-foot b { color: #fff; font-weight: 500; }
@media (max-width: 1000px) { .terms { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .terms { grid-template-columns: 1fr; } .terms li { min-height: 0; } .switch { width: 100%; } .switch-b { padding: 0 12px; } }

/* ================= EXPERTISE: where each one is, right now ================= */
.panel-time { margin-top: 10px; font-size: 13.5px; color: rgba(255,255,255,.8); opacity: 0; transition: opacity .5s; }
.panel.is-on .panel-time { opacity: 1; transition-delay: .3s; }
@media (max-width: 860px) { .panel-time { opacity: 1; } }
