/* Variation B: the sky collage. Serif headlines, white page, skies with torn paper and robot "statues".
   Skies are SVG drawn by js/collage.js; until they draw, the holder shows a plain sky blue. */
.b { --display: "Newsreader", Georgia, serif; --gut: clamp(16px, 3vw, 40px); --max: 1320px; --azure: #1f7cf0; }
.b h1, .b h2 { font-family: var(--display); font-weight: 400; letter-spacing: -.03em; line-height: 1; }
.b h2 { font-size: clamp(34px, 4.2vw, 56px); }
[data-sky] { position: relative; overflow: hidden; background: #3f93f2; isolation: isolate; }
[data-sky] > .sky { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; }
img.cut { position: absolute; height: auto; max-width: none; filter: drop-shadow(0 18px 22px rgba(0, 20, 80, .35)); }

.b-btn { display: inline-flex; align-items: center; height: 42px; padding: 0 18px; background: var(--blue); color: #fff; font-size: 14px; font-weight: 600; white-space: nowrap; transition: background .15s var(--ease), transform .15s var(--ease); }
.b-btn:hover { background: var(--blue-deep); } .b-btn:active { transform: translateY(1px); }
.b-btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); } .b-btn.ghost:hover { background: var(--ink); color: #fff; }
.b-link { font-size: 14px; font-weight: 600; color: #fff; padding: 0 14px; display: inline-flex; align-items: center; height: 42px; text-shadow: 0 1px 8px rgba(0, 40, 120, .6); }
.b-link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* hero: a framed sky */
.b-hero { margin: 14px; height: min(760px, 80vh); min-height: 420px; }
/* The headline is two torn paper labels, one each side of the hole in the sky. */
.b .b-over { position: absolute; inset: 0; pointer-events: none; font-size: clamp(28px, 3.9vw, 58px); line-height: 1.34; letter-spacing: -.025em; }
.b-over > span { position: absolute; top: 50%; max-width: 25%; }
.b-over .l { left: 3.2%; transform: translateY(-58%) rotate(-2.2deg); }
.b-over .r { right: 3.2%; transform: translateY(-34%) rotate(1.6deg); text-align: right; }
.b-over span span { background: #f7f3ea; color: var(--ink); padding: .04em .26em .1em; -webkit-box-decoration-break: clone; box-decoration-break: clone; box-shadow: 0 10px 22px -8px rgba(0, 20, 70, .55); }
.b-nav { display: flex; align-items: flex-start; gap: 16px; padding: 12px; }
.b-logo { background: #fff; height: 42px; padding: 0 16px 0 10px; }
.b-nav ul { display: flex; gap: 2px; background: #fff; height: 42px; padding: 0 6px; align-items: center; font-size: 13.5px; font-weight: 500; }
.b-nav ul a { padding: 6px 10px; display: block; } .b-nav ul a:hover { color: var(--blue); }
.b-nav-btns { display: flex; margin-left: auto; }

.b-title { max-width: 900px; margin: 0 auto; padding: 40px var(--gut) 8px; text-align: center; display: grid; gap: 22px; justify-items: center; }
.b-lede { max-width: 50ch; font-family: var(--display); font-size: clamp(20px, 2vw, 27px); line-height: 1.3; letter-spacing: -.015em; color: var(--ink); }
.b-cta { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }

/* what you can build */
.b-cases { max-width: var(--max); margin: 0 auto; padding: clamp(64px, 8vw, 112px) var(--gut); }
.b-cases-h { text-align: center; margin-bottom: 32px; }
/* The seven kinds of company are the tabs: number, name, what you do, and a robot that rises on the chosen one. */
.b-strip { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border: 1px solid var(--ink); margin-bottom: 48px; }
.b-strip button { position: relative; overflow: hidden; display: grid; align-content: start; gap: 4px; min-height: 172px; padding: 14px 14px 0; border-right: 1px solid var(--line); transition: background .18s var(--ease), color .18s var(--ease); }
.b-strip button:last-child { border-right: 0; }
.b-strip .top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.b-strip .n { font-family: var(--mono); font-size: 11.5px; color: var(--muted); }
.b-strip .dot { width: 7px; height: 7px; border-radius: 50%; background: #b9bac6; } .b-strip .dot.ok { background: #1aa35a; } .b-strip .dot.wait { background: #e0a000; }
.b-strip .t { font-family: var(--display); font-size: clamp(18px, 1.75vw, 25px); letter-spacing: -.02em; line-height: 1.05; }
.b-strip .l { font-size: 12.5px; color: var(--muted); }
.b-strip .f { position: absolute; left: 50%; bottom: 0; width: 92px; max-width: none; transform: translate(-50%, 46%); filter: grayscale(1); opacity: .5; transition: transform .25s var(--ease), filter .25s var(--ease), opacity .25s var(--ease); }
.b-strip button:hover { background: var(--grey); } .b-strip button:hover .f { transform: translate(-50%, 30%); opacity: .8; }
.b-strip button[aria-selected=true] { background: var(--azure); color: #fff; }
.b-strip button[aria-selected=true] .n, .b-strip button[aria-selected=true] .l { color: rgba(255, 255, 255, .85); }
.b-strip button[aria-selected=true] .f { transform: translate(-50%, 12%); filter: none; opacity: 1; }
.b-strip button:focus-visible { outline-offset: -3px; }
.b-case-in { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 80px); align-items: stretch; }
.b-case-text { display: grid; gap: 14px; align-content: start; }
.b-case-top { display: flex; align-items: center; gap: 12px; }
.b-num { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.b-case-top .m-chip { font-size: 12px; padding: 3px 10px; }
.b-case-line { color: var(--muted); font-size: 17px; max-width: 44ch; }
.b-case dl { margin: 18px 0 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; border-top: 1px solid var(--line); }
.b-case dl div { padding: 16px 0; border-bottom: 1px solid var(--line); display: grid; gap: 4px; align-content: start; }
.b-case dt { font-size: 12.5px; font-weight: 600; color: var(--azure); }
.b-case dd { margin: 0; font-size: 15px; } .b-case .ask dd { font-family: var(--display); font-size: 19px; line-height: 1.25; letter-spacing: -.01em; }
.b-case .b-btn { justify-self: start; }
.b-case-art { min-height: 480px; }
.b-case-art .s1 { width: 70%; left: -10%; bottom: -4%; z-index: 1; }
.b-case-art .s2 { width: 46%; right: -3%; bottom: -3%; }
.b-case-art .s3 { width: 34%; left: 40%; bottom: 14%; z-index: 0; }
.b-case-mock { z-index: 2; position: absolute; top: 26px; right: 26px; width: min(250px, 62%); }
.b-case-mock:has(.m-org) { width: min(310px, 78%); top: 18px; right: 18px; }
.b-case-mock.low { top: auto; right: auto; left: 22px; bottom: 22px; }
.b-case-art.flip > .sky { transform: scaleX(-1); }
.b-case-art[data-src] { min-height: 560px; }

/* the night band */
.b-night { margin: 0 14px; color: #fff; background: #00007a; }
.b-night[data-src]::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(rgba(0, 0, 120, .35), rgba(0, 0, 189, .55)); }
.b-night[data-src] .b-night-in { padding-top: clamp(88px, 9vw, 128px); }
.b-night-in { max-width: var(--max); margin: 0 auto; padding: clamp(56px, 7vw, 96px) var(--gut) 0; display: grid; gap: 16px; justify-items: center; text-align: center; }
.b-night-in > p { max-width: 54ch; font-size: 17px; opacity: .9; }
.b-stage { display: grid; grid-template-columns: minmax(0, 250px) minmax(0, 340px) minmax(0, 250px); gap: 28px; align-items: center; justify-content: center; margin-top: 36px; padding-bottom: 72px; text-align: left; width: 100%; }

.b-feats { max-width: var(--max); margin: 0 auto; padding: clamp(56px, 7vw, 96px) var(--gut) 0; }
.b-feats > ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.b-feats > ul > li { display: grid; gap: 8px; align-content: start; }
.b-feat-art { height: 360px; margin-bottom: 12px; }
.b-feat-art img.cut { width: 78%; left: -12%; bottom: -8%; }
.b-feat-art [data-mock] { position: absolute; right: 18px; top: 22px; width: min(226px, 62%); }
.b-feats h3 { font-family: var(--display); font-weight: 400; font-size: 27px; letter-spacing: -.02em; }
.b-feats > ul > li > p { color: var(--muted); max-width: 38ch; }

/* the seven steps */
.b-how { max-width: var(--max); margin: 0 auto; padding: clamp(72px, 9vw, 128px) var(--gut); display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.b-how-head { display: grid; gap: 18px; position: sticky; top: 32px; }
.b-how-head p { color: var(--muted); max-width: 40ch; }
.b-spine { border-top: 1px solid var(--ink); }
.b-spine li { display: grid; grid-template-columns: 44px minmax(0, 1fr) minmax(0, 220px); gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.b-spine .n { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.b-spine h3 { font-family: var(--display); font-weight: 400; font-size: 28px; letter-spacing: -.02em; line-height: 1.1; }
.b-spine div p { color: var(--muted); font-size: 14.5px; margin-top: 2px; }
.b-spine .check { font-size: 14px; } .b-spine .check b { display: block; font-size: 11.5px; font-weight: 600; color: var(--azure); }

/* closing */
.b-final { margin: 0 14px; min-height: 480px; display: grid; place-items: center; padding: 56px var(--gut); }
.b-final-card { background: #fff; padding: clamp(28px, 4vw, 56px); max-width: 640px; text-align: center; display: grid; gap: 16px; justify-items: center; box-shadow: 0 24px 60px -20px rgba(0, 30, 110, .5); }
.b-final-card p { color: var(--muted); max-width: 40ch; }
.b-foot { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; max-width: var(--max); margin: 0 auto; padding: 28px var(--gut); font-size: 13.5px; color: var(--muted); }
.b-foot .logo { color: var(--ink); } .b-foot ul { display: flex; gap: 20px; margin-left: auto; flex-wrap: wrap; } .b-foot a:hover { color: var(--ink); }

@media (max-width: 1020px) {
  .b-case-in, .b-how { grid-template-columns: 1fr; } .b-how-head { position: static; }
  .b-stage { grid-template-columns: repeat(2, minmax(0, 250px)); } .b-stage-org { grid-column: 1 / -1; grid-row: 1; justify-self: center; width: min(340px, 100%); }
  .b-feats > ul { grid-template-columns: 1fr 1fr; }
  .b-strip { grid-template-columns: repeat(4, minmax(0, 1fr)); } .b-strip button { border-bottom: 1px solid var(--line); min-height: 150px; }
  .b-over > span { max-width: 44%; top: auto; bottom: 7%; } .b-over .l { transform: rotate(-2.2deg); } .b-over .r { transform: rotate(1.6deg); }
}
@media (max-width: 700px) {
  .b-nav ul, .b-link { display: none; }
  .b-stage, .b-feats > ul, .b-case dl { grid-template-columns: 1fr; } .b-stage > * { justify-self: center; width: min(280px, 100%); }
  .b-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); } .b-strip button { min-height: 132px; } .b-strip .f { width: 72px; }
  .b .b-over { font-size: 30px; } .b-over > span { max-width: 80%; } .b-over .l { left: 12px; bottom: 76px; } .b-over .r { right: 12px; bottom: 14px; }
  .b-spine li { grid-template-columns: 32px 1fr; } .b-spine .check { grid-column: 2; }
  .b-case-art { min-height: 380px; } .b-foot ul { margin-left: 0; }
}
