/* Content pages: What we build, Our work, Blog and articles.
   Loaded after styles.css and case.css. Kept separate so the home page styles stay untouched. */

/* ---------- Brand bits (same as octo.css, which these pages don't load) ---------- */
.wordmark { display: inline-flex; align-items: center; gap: 10px; }
.wm-logo { width: 30px; height: 30px; }
.foot-mark { display: inline-flex; align-items: center; gap: 10px; }
.foot-mark img { width: 34px; height: 34px; }
.card-out { margin-top: 8px; font-size: 14.5px; line-height: 1.5; color: #a8a8a8; }
.nav-links a.active { color: #fff; }

/* ---------- Page top ---------- */
.page-top { position: relative; padding: 130px 0 8px; overflow: hidden; }
.page-top .wrap { position: relative; }
.kicker { font-size: 15px; color: var(--saffron); }
.page-top h1 { margin-top: 12px; max-width: 18ch; font-family: var(--serif); font-weight: 400; font-size: clamp(48px, 7vw, 96px); line-height: 0.98; letter-spacing: -0.01em; color: #fff; }
.page-top .lede { margin-top: 22px; max-width: 34em; font-size: 19px; line-height: 1.55; color: var(--text-2); }
.page-top .cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.print-link { display: inline-flex; align-items: center; gap: 7px; margin-top: 18px; padding: 4px 0; border: 0; background: none; font: inherit; font-size: 14.5px; color: var(--text-2); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(255,255,255,0.3); cursor: pointer; }
.print-link:hover { color: #fff; text-decoration-color: var(--saffron); }
.print-link svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
/* jump to an area */
.jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.jump a { padding: 7px 13px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.14); background: rgba(255,255,255,0.04); font-size: 13.5px; color: var(--text-2); text-decoration: none; }
.jump a:hover { color: #fff; border-color: rgba(245,165,36,0.5); }

/* ---------- Article ---------- */
.article-top { padding-bottom: 8px; }
.article-top h1 { max-width: 20ch; font-size: clamp(40px, 5.6vw, 72px); line-height: 1.02; }
.back + .kicker { margin-top: 26px; }
.byline { margin-top: 22px; font-size: 14px; color: var(--mute); }
.byline span { white-space: nowrap; }
.byline span + span::before { content: "·"; margin: 0 8px; color: #555; }
.article { max-width: 68ch; padding-top: 32px; font-size: 18px; line-height: 1.75; color: #d6d6d6; }
.article > * + * { margin-top: 1.1em; }
.article h2 { margin-top: 2.2em; font-size: 28px; font-weight: 500; line-height: 1.2; letter-spacing: -0.02em; color: #fff; }
.article h3 { margin-top: 1.8em; font-size: 20px; font-weight: 500; color: #fff; }
.article ul, .article ol { padding-left: 1.3em; }
.article ul { list-style: disc; }
.article ol { list-style: decimal; }
.article li + li { margin-top: 0.45em; }
.article li::marker { color: var(--saffron); }
.article strong { color: #fff; font-weight: 600; }
.article a { color: var(--saffron); }
.article .note { padding: 18px 22px; border-left: 3px solid var(--saffron); background: #0c0c0c; border-radius: 0 12px 12px 0; color: var(--text-2); font-size: 16.5px; }
.article table { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.article th, .article td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.article th { color: #fff; font-weight: 500; }
.table-scroll { overflow-x: auto; }
.article-cta { max-width: 68ch; margin-top: 56px; padding: 32px 32px 30px; border-radius: 20px; border: 1px solid rgba(255,255,255,0.12); background: radial-gradient(70% 120% at 90% 20%, rgba(245,165,36,0.10), transparent 65%), linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02)); }
.article-cta h2 { font-family: var(--serif); font-weight: 400; font-size: 36px; line-height: 1.08; color: #fff; }
.article-cta p { margin-top: 10px; color: var(--text-2); }
.article-cta .cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.article-more { max-width: 68ch; margin-top: 56px; }
.article-more .case-others { margin-top: 16px; }
.article-side .side-cta { display: none; }
.side-cta { margin-top: 28px; padding: 22px 22px 24px; border-radius: 18px; border: 1px solid rgba(255,255,255,0.12); background: radial-gradient(80% 100% at 90% 0%, rgba(245,165,36,0.12), transparent 65%), linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02)); }
.side-cta-h { font-size: 18px; font-weight: 500; line-height: 1.3; color: #fff; }
.side-cta p:not(.side-cta-h) { margin-top: 6px; font-size: 14.5px; line-height: 1.5; color: #aab3bf; }
.side-cta .btn { margin-top: 16px; width: 100%; }
.case-next { border-color: rgba(255,255,255,0.12); background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02)); }
@media (min-width: 1100px) {
  .article-wrap { display: grid; grid-template-columns: minmax(0, 68ch) minmax(240px, 1fr); gap: 72px; align-items: start; }
  .article-side { position: sticky; top: 100px; padding-top: 32px; }
  .article-side .article-more { margin-top: 0; }
  .article-side .case-others { grid-template-columns: 1fr; }
  .article-side .side-cta { display: block; }
  .article-cta { display: none; }
}
/* no footer hairline after the faded sea */
.sea-end + .site-foot, main:has(> .sea-end:last-child) + .site-foot { border-top-color: transparent; }

.page-cta { text-align: center; padding: 110px 0 90px; }
.page-cta .sub { margin: 14px auto 0; max-width: 30em; }
.page-cta .cta-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 28px; }

/* ================= Same look as the home page ================= */
html, body { background-color: #030712; }
/* Abyss: a very dark blue base with a few soft light pools so nothing reads as empty black */
body { background:
  radial-gradient(900px 700px at 12% 20%, rgba(90,170,220,0.08), transparent 70%),
  radial-gradient(1000px 800px at 88% 46%, rgba(90,170,220,0.07), transparent 70%),
  radial-gradient(800px 640px at 25% 70%, rgba(245,165,36,0.05), transparent 70%),
  radial-gradient(900px 700px at 78% 90%, rgba(90,170,220,0.08), transparent 70%),
  linear-gradient(180deg, #030712 0%, #040a18 50%, #02050d 100%); }
/* glows may spill past the edges; never let them make the page scroll sideways (clip keeps sticky asides working) */
main { overflow-x: clip; }
/* the page top melts in the same misty sea the home page uses */
.page-top::after { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: url(assets/gen/bg-mist.webp) 50% 72% / cover no-repeat; opacity: 1;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 18%, #000 62%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0%, #000 18%, #000 62%, transparent 100%); }
.page-top .wrap { z-index: 2; }
/* breadcrumb links and a distinct sea for the Work page */
.kicker a { color: inherit; text-decoration: none; } .kicker a:hover { color: #fff; }
.page-work .page-top { overflow: visible; }
.page-work .page-top::after { background-image: url(assets/gen/bg-islands.webp); bottom: -120px; }
.page-work .shows { position: relative; z-index: 1; }

/* ================= Redesign (v6): scannable cards, showcase rows, magazine blog ================= */
/* shared glass, same as the home page cards */
.cap, .ind-tiles li, .start-steps li, .post, .tool-chips li, .logo-wall.tools-row li:not(.yours) { background: linear-gradient(180deg, rgba(255,255,255,0.075), rgba(255,255,255,0.03)); border: 1px solid rgba(255,255,255,0.12); }
.page-top h1 { text-wrap: balance; }
.wwb-top .lede { max-width: 30em; }
.band { position: relative; isolation: isolate; padding-top: 96px; }
.band::before { content: ""; position: absolute; inset: 30px -12% -50px; z-index: -1; pointer-events: none; background: radial-gradient(45% 55% at 20% 55%, rgba(80,130,180,0.11), transparent 70%), radial-gradient(35% 45% at 85% 40%, rgba(245,165,36,0.06), transparent 70%); }
.band:nth-of-type(even)::before { background: radial-gradient(45% 55% at 80% 55%, rgba(80,130,180,0.11), transparent 70%), radial-gradient(35% 45% at 15% 40%, rgba(245,165,36,0.06), transparent 70%); }
.band .h2 { max-width: 22ch; }
.band .fine { margin-top: 16px; }

/* final call to action: the home page sea on a faded layer, no edges */
.sea-end { position: relative; padding: 150px 0 110px; overflow: hidden; }
.sea-end::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: url(assets/gen/bg-hero.webp) 50% 40% / cover no-repeat; opacity: .85;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 38%, #000 72%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0%, #000 38%, #000 72%, transparent 100%); }
.sea-end .wrap { position: relative; }
.sea-end .sub a { color: var(--saffron); text-decoration: none; }
.sea-end .sub a:hover { text-decoration: underline; }
.end-h { max-width: 18ch; margin: 0 auto; font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 5vw, 66px); line-height: 1.02; letter-spacing: -0.01em; color: #fff; text-wrap: balance; }

/* ---------- What we build: capability cards ---------- */
.cap-grid { position: relative; isolation: isolate; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; padding-top: 48px; }
.cap-grid::before { content: ""; position: absolute; inset: -60px -8% -40px; z-index: -1; pointer-events: none; background: radial-gradient(40% 35% at 25% 30%, rgba(245,165,36,0.07), transparent 70%), radial-gradient(45% 40% at 80% 70%, rgba(80,130,180,0.12), transparent 70%); }
.cap { display: flex; flex-direction: column; scroll-margin-top: 90px; padding: 22px 18px 16px; border-radius: 18px; transition: border-color .3s, transform .3s; }
.cap:hover { border-color: rgba(245,165,36,0.45); }
.cap-ic { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; background: radial-gradient(circle at 50% 30%, rgba(245,165,36,0.24), rgba(245,165,36,0.05)); border: 1px solid rgba(245,165,36,0.3); }
.cap-ic svg { width: 24px; height: 24px; fill: none; stroke: var(--saffron); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.cap h2 { margin-top: 16px; font-size: 19px; font-weight: 500; line-height: 1.25; letter-spacing: -0.02em; color: #fff; }
.cap-out { margin-top: 10px; font-size: 15px; line-height: 1.5; color: #e0e5ea; }
.cap-chips { display: flex; flex-wrap: wrap; gap: 5px; margin: 14px 0 16px; }
.cap-chips li { font-size: 12px; line-height: 1.3; color: #ececec; padding: 4px 9px; white-space: nowrap; border-radius: 999px; background: rgba(245,165,36,0.08); border: 1px solid rgba(245,165,36,0.24); }
.cap-more { margin-top: auto; border-top: 1px solid rgba(255,255,255,0.08); }
.cap-more summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 12px 0 2px; font-size: 14px; color: var(--saffron); }
.cap-more summary::-webkit-details-marker { display: none; }
.cap-more summary::after { content: "+"; font-size: 20px; line-height: 1; transition: transform .25s; }
.cap-more[open] summary::after { transform: rotate(45deg); }
.cap-more summary:hover { color: #ffc35a; }
.cap-list { display: grid; gap: 8px; margin: 10px 0 6px; }
.cap-list li { position: relative; padding-left: 18px; font-size: 14.5px; line-height: 1.5; color: #cfd5dc; }
.cap-list li::before { content: ""; position: absolute; left: 2px; top: 0.6em; width: 6px; height: 6px; border-radius: 50%; background: var(--saffron); }
.cap.cap-yours { border: 1px dashed rgba(245,165,36,0.45); background: radial-gradient(80% 90% at 85% 15%, rgba(245,165,36,0.16), transparent 65%), linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02)); }
.cap-foot { display: flex; align-items: center; margin-top: auto; padding: 12px 0 2px; border-top: 1px solid rgba(255,255,255,0.08); }
.cap-link { font-size: 14px; line-height: 1.6; color: var(--saffron); text-decoration: none; }
.cap-link .s { display: none; }
.cap-link:hover { color: #ffc35a; }

/* industries: compact tiles */
.ind-tiles { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; margin-top: 26px; }
.ind-tiles li { padding: 18px 16px; border-radius: 16px; }
.ind-tiles svg { width: 26px; height: 26px; fill: none; stroke: var(--saffron); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ind-tiles b { display: block; margin-top: 12px; font-size: 15.5px; font-weight: 500; line-height: 1.3; color: #fff; }
.ind-tiles span { display: block; margin-top: 4px; font-size: 13.5px; line-height: 1.4; color: #98a2ae; }
.tools-row { justify-content: flex-start; margin: 26px 0 0; }
.logo-wall.tools-row li.word { width: auto; padding: 0 20px; font-size: 17px; font-weight: 600; letter-spacing: -0.02em; color: #f2f2f2; }
.logo-wall.tools-row li.yours { width: auto; padding: 0 18px; font-size: 13.5px; color: #aab3bf; border-color: rgba(255,255,255,0.2); }

/* how it starts */
.start-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 26px; }
.start-steps li { position: relative; padding: 24px 24px 22px; border-radius: 18px; }
.step-n { display: block; font-family: var(--serif); font-size: 46px; line-height: 1; color: var(--saffron); }
.start-steps b { display: block; margin-top: 12px; font-size: 19px; font-weight: 500; color: #fff; }
.start-steps p { margin-top: 6px; font-size: 15px; line-height: 1.5; color: #a9b2bd; }

/* FAQ: the home page's clean list with hairlines */
.pfaq-list { margin-top: 24px; border-top: 1px solid rgba(255,255,255,0.12); }
.pfaq-item { border-bottom: 1px solid rgba(255,255,255,0.12); }
.pfaq-item summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; padding: 22px 4px; font-size: 18px; color: #f2f2f2; }
.pfaq-item summary::-webkit-details-marker { display: none; }
.pfaq-item summary::after { content: "+"; flex: none; font-size: 24px; font-weight: 300; line-height: 1; color: var(--saffron); transition: transform .25s; }
.pfaq-item[open] summary::after { transform: rotate(45deg); }
.pfaq-item p { max-width: 62ch; padding: 0 4px 24px; font-size: 16px; line-height: 1.6; color: #aab3bf; }

/* ---------- Work: showcase rows ---------- */
.shows { display: grid; gap: 120px; padding-top: 32px; }
.show { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 64px; align-items: center; }
.show:nth-child(even) .show-screen { order: 2; }
.show-screen { position: relative; isolation: isolate; display: flex; align-items: center; justify-content: center; min-height: 420px; padding: 40px 5%; }
.show-screen::before { content: ""; position: absolute; inset: -10% -12%; z-index: -1; pointer-events: none; background: radial-gradient(50% 55% at 50% 45%, rgba(80,130,180,0.14), transparent 70%); }
.show-screen > div { width: 100%; max-width: 100%; height: auto !important; min-height: 250px; border-radius: 14px !important; transform: none !important; font-size: 15px; box-shadow: 0 40px 90px -30px rgba(0,0,0,0.85), 0 0 0 1px rgba(255,255,255,0.1) !important; }
.show-screen .lm-ticket { font-size: 14px; }
.show-screen .lt-body { grid-template-columns: minmax(0, 1fr) 190px; }
.show-screen .lt-main { padding: 14px 16px; }
.show-screen .lt-key { font-size: 12px; }
.show-screen .lt-title { font-size: 19px; white-space: normal; }
.show-screen .lt-h { font-size: 11px; }
.show-screen .lt-desc { font-size: 14px; }
.show-screen .lt-doc { font-size: 12.5px; }
.show-screen .lt-side { padding: 14px 16px; font-size: 13.5px; gap: 11px 8px; }
.show-screen .lt-side .lm-warn, .show-screen .lt-side .lm-wait { font-size: 11.5px; }
.show-tag { display: inline-block; padding: 4px 12px; border-radius: 999px; border: 1px solid rgba(245,165,36,0.38); background: rgba(245,165,36,0.08); font-size: 13px; color: var(--saffron); }
.show-copy h2 { margin-top: 16px; font-size: clamp(28px, 3vw, 40px); font-weight: 500; line-height: 1.1; letter-spacing: -0.03em; color: #fff; text-wrap: balance; }
.pbw { display: grid; gap: 14px; margin-top: 26px; }
.pbw > div { display: grid; grid-template-columns: 116px minmax(0, 1fr); gap: 16px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,0.1); }
.pbw dt { font-size: 13.5px; font-weight: 500; color: var(--saffron); line-height: 1.6; }
.pbw dd { font-size: 15.5px; line-height: 1.55; color: #c6cdd6; }
.tool-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.tool-chips li { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px 6px 8px; border-radius: 999px; font-size: 13px; color: #dfe4ea; }
.tool-chips img { width: 16px; height: 16px; object-fit: contain; }
.tool-chips img.r { border-radius: 4px; }
.show-link { display: inline-block; margin-top: 26px; font-size: 16px; font-weight: 500; color: var(--saffron); text-decoration: none; }
.show-link:hover { color: #ffc35a; }
.show-link span { display: inline-block; transition: transform .2s; }
.show-link:hover span { transform: translateX(4px); }

/* ---------- Blog: magazine index ---------- */
.post { display: block; overflow: hidden; border-radius: 22px; text-decoration: none; transition: border-color .3s, transform .3s; }
.post:hover { border-color: rgba(245,165,36,0.45); transform: translateY(-3px); }
.post-feat { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); margin-top: 56px; }
.post-feat .cover { min-height: 400px; }
.post-feat .post-body { display: flex; flex-direction: column; justify-content: center; padding: 44px 42px; }
.post.post-feat h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 3.6vw, 50px); line-height: 1.04; letter-spacing: -0.01em; }
.post-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 18px; }
.post-grid .cover { height: 250px; }
.post-body { padding: 24px 26px 26px; }
.post-tag { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--saffron); }
.post-tag span { padding: 2px 9px; border-radius: 999px; background: var(--saffron); color: var(--saffron-ink); font-size: 11.5px; font-weight: 600; }
.post h2 { margin-top: 12px; font-size: 23px; font-weight: 500; line-height: 1.22; letter-spacing: -0.02em; color: #fff; }
.post-ex { margin-top: 10px; font-size: 15.5px; line-height: 1.55; color: #aab3bf; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin-top: 20px; font-size: 13px; color: #7f8a97; }
.post-meta time + span::before { content: "·"; margin-right: 14px; color: #556; }
.post-meta i { margin-left: auto; font-style: normal; color: var(--saffron); }

/* covers: ghosted UI fragments under a navy and saffron tint (also used on the article pages) */
.cover { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center; justify-content: center; padding: 28px;
  background: radial-gradient(70% 90% at 72% 110%, rgba(245,165,36,0.18), transparent 65%), linear-gradient(160deg, #0d1a2e 0%, #050c1a 100%); }
.cover::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: url(assets/gen/bg-mist.webp) 50% 60% / cover no-repeat; opacity: .55; }
.cover::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgba(10,20,34,0) 45%, rgba(10,20,34,0.7) 100%), linear-gradient(120deg, rgba(245,165,36,0.14), transparent 55%); }
.cover > div { width: min(100%, 380px); opacity: .92; transform: rotate(-2deg); }
.post:hover .cover > div { opacity: 1; }
/* WhatsApp chat */
.cv-chat { display: flex; flex-direction: column; gap: 8px; padding: 14px; border-radius: 16px; background: #0b141a; border: 1px solid rgba(255,255,255,0.1); font-size: 13px; line-height: 1.35; color: #e9edef; box-shadow: 0 30px 60px -25px rgba(0,0,0,0.8); }
.cv-head { display: flex; align-items: center; gap: 8px; padding-bottom: 8px; border-bottom: 1px solid rgba(255,255,255,0.08); font-weight: 600; }
.cv-av { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--saffron); color: var(--saffron-ink); font-size: 12px; }
.cv-b { max-width: 82%; padding: 7px 10px; border-radius: 10px; }
.cv-b.in { align-self: flex-start; background: #202c33; }
.cv-b.out { align-self: flex-end; background: #005c4b; }
.cv-b i { display: block; margin-top: 3px; text-align: right; font-style: normal; font-size: 10.5px; color: #f5c46b; }
.cv-stop { align-self: center; padding: 3px 10px; border-radius: 999px; background: rgba(245,165,36,0.14); color: var(--saffron); font-size: 11px; }
/* Tally / Excel sheet */
.cv-sheet { overflow: hidden; border-radius: 10px; background: #fff; color: #1f2328; font-size: 12px; box-shadow: 0 30px 60px -25px rgba(0,0,0,0.8); }
.cv-sheet-bar { display: flex; align-items: center; gap: 8px; padding: 8px 10px; background: #1d6f42; color: #fff; font-weight: 600; }
.cv-sheet-bar span { width: 12px; height: 12px; border-radius: 3px; background: #fff; opacity: .85; }
.cv-row { display: grid; grid-template-columns: 1.4fr 1fr 0.8fr 1.2fr; border-bottom: 1px solid #e6e6e6; }
.cv-row span { overflow: hidden; padding: 6px 8px; border-right: 1px solid #eee; white-space: nowrap; text-overflow: ellipsis; }
.cv-th span { background: #f3f3f1; font-weight: 600; color: #555; }
.cv-row em { padding: 1px 6px; border-radius: 4px; background: #fff1d6; color: #8a5a00; font-style: normal; font-size: 11px; }
.cv-row em.ok { background: #dcf3e5; color: #1d6f42; }
/* hire or build */
.cv-vs { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 12px; }
.cv-col { display: grid; gap: 7px; padding: 14px; border-radius: 14px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.16); font-size: 12.5px; color: #e6eaf0; }
.cv-col p { padding: 6px 9px; border-radius: 8px; background: rgba(255,255,255,0.05); }
.cv-col p.cv-col-h { padding: 0 0 2px; background: none; font-size: 14px; font-weight: 600; color: #fff; }
.cv-col.hl { border-color: rgba(245,165,36,0.5); background: rgba(245,165,36,0.1); }
.cv-col.hl p:not(.cv-col-h)::before { content: "✓ "; color: var(--saffron); }
.cv-or { font-family: var(--serif); font-size: 28px; font-style: italic; color: var(--saffron); }


/* article pages: the cover fragment under the title */
.article-cover { max-width: 760px; height: 280px; margin-top: 34px; border-radius: 20px; border: 1px solid rgba(255,255,255,0.12); }
.article-top .back { display: inline-block; }
.byline { display: flex; flex-wrap: wrap; row-gap: 4px; }

/* ---------- Responsive ---------- */
@media screen and (min-width: 1200px) {
  .cap-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media screen and (max-width: 1100px) {
  .show { grid-template-columns: 1fr; gap: 24px; }
  .show:nth-child(even) .show-screen { order: 0; }
  .shows { gap: 88px; }
  .show-screen { max-width: 760px; margin: 0 auto; width: 100%; }
  .ind-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media screen and (max-width: 1000px) {
  .cap-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .post-feat { grid-template-columns: 1fr; }
  .post-feat .cover { min-height: 300px; }
}
@media screen and (max-width: 900px) {
  .page-top { padding-top: 112px; }
  .band { padding-top: 72px; }
}
@media screen and (max-width: 760px) {
  .cap-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding-top: 32px; }
  .cap { padding: 16px 14px 12px; border-radius: 16px; }
  .cap-ic { width: 38px; height: 38px; border-radius: 11px; }
  .cap-ic svg { width: 20px; height: 20px; }
  .cap h2 { margin-top: 12px; margin-bottom: 12px; font-size: 16px; }
  .cap-chips, .cap-out { display: none; }
  .cap-more summary { padding-top: 10px; font-size: 13px; }
  .cap-list li { font-size: 13.5px; }
  .cap-foot { padding-top: 10px; }
  .cap-link { font-size: 13px; }
  .cap-link .l { display: none; }
  .cap-link .s { display: inline; }
  .jump { display: none; }
  .ind-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .start-steps { grid-template-columns: 1fr; gap: 12px; }
  .shows { gap: 56px; }
  .show { gap: 12px; }
  .show-screen { min-height: 0; padding: 12px 0 24px; }
  .show-screen > div { min-height: 0; font-size: 14px; }
  .show-screen .lt-body { grid-template-columns: 1fr; }
  .show-screen .lt-title { white-space: normal; font-size: 17px; }
  .show-screen .lt-side { grid-template-columns: auto 1fr auto 1fr; border-left: 0; border-top: 1px solid #ebecf0; font-size: 12.5px; }
  .show-screen .lt-side dd { justify-content: flex-start; text-align: left; }
  .pbw > div { grid-template-columns: 1fr; gap: 2px; }
  .post-grid { grid-template-columns: 1fr; }
  .post-grid .cover, .post-feat .cover, .article-cover { height: auto; min-height: 0; padding: 18px 18px 26px; }
  .post-feat .cover { align-items: flex-start; padding-top: 18px; }
  .cover > div { width: min(100%, 320px); font-size: 12px; }
  .cv-chat, .cv-col, .cv-sheet { font-size: 12px; }
  .post-feat .post-body { padding: 24px 22px 26px; }
  .post.post-feat h2 { font-size: 32px; }
  .post-body { padding: 22px 20px 24px; }
  .sea-end { padding: 110px 0 80px; }
  .article-cover { margin-top: 26px; }
  .cv-row { grid-template-columns: 1.3fr 1fr 1.1fr; }
  .cv-row span:nth-child(3) { display: none; }
  .page-top .cta-row .btn, .page-cta .cta-row .btn, .article-cta .cta-row .btn { flex: 1 1 100%; }
  .article { font-size: 17px; }
  .article-cta { padding: 24px 20px; }
  .article-cta h2 { font-size: 30px; }
}
@media (prefers-reduced-motion: reduce) {
  .cap, .post, .show-link span, .cap-more summary::after, .pfaq-item summary::after { transition: none; }
  .post:hover { transform: none; }
}

/* ================= v9: the octopus is back, Abyss contours, phone-first layouts ================= */
/* faint sea-floor contours in the page tops and behind "How it starts" and the FAQ, fading out at the edges */
.page-top::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: url(assets/contours.svg) 0 0 / 400px 400px repeat;
  -webkit-mask-image: radial-gradient(60% 75% at 62% 45%, #000 20%, transparent 100%); mask-image: radial-gradient(60% 75% at 62% 45%, #000 20%, transparent 100%); }
.band.contour::after { content: ""; position: absolute; inset: 20px -6% -40px; z-index: -1; pointer-events: none; background: url(assets/contours.svg) 120px 60px / 400px 400px repeat;
  -webkit-mask-image: radial-gradient(55% 60% at 50% 50%, #000 15%, transparent 100%); mask-image: radial-gradient(55% 60% at 50% 50%, #000 15%, transparent 100%); }
/* glass reads a touch lighter on the darker base */
.cap, .ind-tiles li, .start-steps li, .post, .tool-chips li, .logo-wall.tools-row li:not(.yours) { background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.035)); }

/* hero octopus, same glass octopus and float as the home page */
@keyframes octo-float { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-14px) rotate(-0.6deg); } }
.hero-octo { position: absolute; right: 2%; top: -30px; z-index: 1; width: 300px; pointer-events: none; filter: drop-shadow(0 0 50px rgba(245,165,36,0.3)); }
.hero-octo img, .book-octo img { display: block; width: 100%; height: auto; animation: octo-float 8s ease-in-out infinite; }
.page-top .wrap > :not(.hero-octo):not(.hero-peek) { position: relative; z-index: 2; }
.hero-peek { position: absolute; right: 4%; bottom: -8px; z-index: 1; width: 300px; pointer-events: none; filter: drop-shadow(0 0 40px rgba(245,165,36,0.28)); }
.hero-peek img { display: block; width: 100%; height: auto; }
.page-work .hero-octo { width: 250px; top: -44px; }
.page-top.article-top .hero-octo { width: 160px; top: -14px; }
.page-blog .page-top { padding-bottom: 0; }
.page-blog .page-top .wrap { padding-bottom: 40px; }
.page-blog .post-feat { margin-top: 0; position: relative; z-index: 2; }
/* the octopus above the final headline, exactly like the home page */
.book-octo { position: relative; z-index: 2; width: min(240px, 52vw); margin: 0 auto 4px; filter: drop-shadow(0 0 40px rgba(245,165,36,0.35)); }
.sea-end { padding-top: 90px; }
@media (prefers-reduced-motion: reduce) { .hero-octo img, .book-octo img { animation: none; } }

/* FAQ: heading full width, two independent columns on wide screens */
@media (min-width: 1000px) {
  .pfaq-list { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 56px; align-items: start; border-top: 0; }
  .pfaq-list .faq-col { border-top: 1px solid rgba(255,255,255,0.12); }
}
@media screen and (max-width: 1100px) { .page-top .hero-octo { width: 220px; top: -10px; } .hero-peek { width: 240px; } }
@media screen and (max-width: 900px) { .wwb-top .lede, .page-work .lede { max-width: 24em; } }

/* ---------- Phones: fewer boxes ---------- */
@media screen and (max-width: 760px) {
  /* hero octopus sits small at the top right, beside the breadcrumb */
  .page-top .hero-octo, .page-top.article-top .hero-octo { width: 110px; top: -6px; right: 0; }
  .page-top.article-top .hero-octo { top: 22px; }
  .hero-octo ~ h1 { padding-right: 96px; }
  .hero-peek { position: relative; right: auto; bottom: auto; width: 150px; margin: 22px 0 -22px auto; }
  .page-blog .page-top .wrap { padding-bottom: 0; }

  /* capabilities: a clean settings-style list with hairlines */
  .cap-grid { display: block; padding-top: 28px; border-top: 1px solid rgba(255,255,255,0.1); }
  .cap-grid::before { display: none; }
  .cap, .cap.cap-yours { position: relative; display: block; padding: 0 0 0 52px; border: 0; border-bottom: 1px solid rgba(255,255,255,0.1); border-radius: 0; background: none; }
  .cap:hover { border-color: rgba(255,255,255,0.1); }
  .cap-ic { position: absolute; left: 0; top: 12px; width: 36px; height: 36px; border-radius: 10px; }
  .cap-ic svg { width: 19px; height: 19px; }
  .cap h2 { margin: 0; padding: 19px 36px 19px 0; font-size: 16.5px; line-height: 1.3; }
  .cap-chips { display: none; }
  .cap-more { margin: 0; border: 0; }
  .cap-more summary { position: absolute; left: 0; right: 0; top: 0; height: 61px; padding: 0; font-size: 0; color: transparent; }
  .cap-more summary::after { position: absolute; right: 4px; top: 50%; margin-top: -11px; font-size: 22px; color: var(--saffron); }
  .cap-out { display: block; margin: 0 0 8px; font-size: 15px; color: #e0e5ea; }
  .cap-list { margin: 0 0 18px; gap: 6px; }
  .cap-list li { font-size: 14.5px; }
  .cap.cap-yours h2 { color: var(--saffron); }
  .cap-yours .cap-ic { background: rgba(245,165,36,0.12); }
  .cap-foot { position: absolute; inset: 0; padding: 0; border: 0; }
  .cap-link { display: block; height: 100%; font-size: 0; }
  .cap-link::after { content: "→"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 20px; color: var(--saffron); }

  /* industries: one swipeable row of chips, fading at the right edge */
  .ind-tiles { display: flex; gap: 8px; margin: 20px -18px 0 0; padding: 2px 40px 6px 0; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    -webkit-mask-image: linear-gradient(90deg, #000 58%, transparent 96%); mask-image: linear-gradient(90deg, #000 58%, transparent 96%); }
  .ind-tiles::-webkit-scrollbar { display: none; }
  .band:has(.ind-tiles) + .band { padding-top: 34px; }
  .ind-tiles li { flex: none; display: flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; scroll-snap-align: start; }
  .ind-tiles svg { width: 18px; height: 18px; }
  .ind-tiles b { margin: 0; font-size: 14px; white-space: nowrap; }
  .ind-tiles span { display: none; }

  /* tools: small logos without boxes */
  .tools-row { gap: 14px 18px; margin-top: 20px; }
  .logo-wall.tools-row li, .logo-wall.tools-row li:not(.yours), .logo-wall.tools-row li.word, .logo-wall.tools-row li.yours { width: auto; height: 28px; padding: 0; border: 0; border-radius: 0; background: none; }
  .tools-row img { width: 26px; height: 26px; }
  .logo-wall.tools-row li.word { font-size: 16px; }

  /* how it starts: a vertical timeline, no boxes */
  .start-steps { display: block; margin-top: 24px; }
  .start-steps li { position: relative; padding: 4px 0 26px 62px; border: 0; border-radius: 0; background: none; }
  .start-steps li:not(:last-child)::before { content: ""; position: absolute; left: 21px; top: 54px; bottom: 6px; width: 1px; background: linear-gradient(180deg, rgba(245,165,36,0.7), rgba(245,165,36,0.2)); }
  .step-n { position: absolute; left: 0; top: 0; width: 44px; text-align: center; font-size: 44px; }
  .start-steps b { margin-top: 4px; font-size: 18px; }

  /* work: tool chips as plain logos and names */
  .tool-chips { gap: 10px 16px; }
  .tool-chips li { padding: 0; border: 0; background: none; }

  /* blog: the two smaller guides become compact rows with a thumbnail */
  .post-grid { gap: 0; margin-top: 18px; border-top: 1px solid rgba(255,255,255,0.1); }
  .post-grid .post { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 14px; align-items: center; padding: 16px 0; border: 0; border-bottom: 1px solid rgba(255,255,255,0.1); border-radius: 0; background: none; }
  .post-grid .post:hover { transform: none; }
  .post-grid .cover { width: 92px; height: 92px; padding: 0; border-radius: 14px; }
  .post-grid .cover > div { position: absolute; left: 50%; top: 50%; width: 260px; transform: translate(-50%, -50%) scale(.36) rotate(-2deg); }
  .post-grid .post-body { padding: 0; }
  .post-grid .post-tag { font-size: 12px; }
  .post-grid .post h2 { margin-top: 4px; font-size: 16.5px; line-height: 1.3; }
  .post-grid .post-ex { display: none; }
  .post-grid .post-meta { margin-top: 6px; font-size: 12px; }

  .book-octo { width: min(180px, 46vw); }
  .sea-end { padding-top: 70px; }
}

/* ---------- Print / save as PDF (What we build): every example, no chrome ---------- */
.print-only { display: none; }
@media print {
  @page { margin: 10mm; }
  html, body { background: #fff !important; color: #000 !important; }
  body { font-size: 10pt; line-height: 1.35; }
  .nav, .site-foot, .consent, .skip, .no-print, .page-cta, .btn, .print-link, .jump, .cap-chips, .cap-more > summary, .cap-ic, .cap-link, .cap-yours, .pfaq, .tools-row li.yours { display: none !important; }
  .page-top { padding: 0 0 6pt !important; overflow: visible; }
  .page-top::before, .page-top::after, .cap-grid::before, .band.contour::after, .hero-octo, .hero-peek, .book-octo { display: none !important; }
  .wrap { max-width: none; padding: 0; }
  .kicker { color: #c27c0e; }
  .page-top h1 { color: #000; font-size: 26pt; max-width: none; }
  .page-top .lede { color: #222; font-size: 10.5pt; margin-top: 6pt; max-width: none; }
  .print-only { display: block !important; margin-top: 4pt; font-size: 9pt; color: #333; }
  .cap-grid { display: block; columns: 3; column-gap: 14pt; padding-top: 10pt; }
  .cap { display: block; break-inside: avoid; page-break-inside: avoid; margin: 0 0 8pt; padding: 0; border: 0 !important; border-radius: 0; background: none !important; }
  .cap h2 { margin: 0; font-size: 11.5pt; font-weight: 600; color: #c27c0e; }
  .cap-out { display: block !important; margin-top: 1pt; font-size: 8.5pt; font-style: italic; color: #333; }
  .cap-more { margin: 0; border: 0; }
  .cap-list { margin: 3pt 0 0; gap: 1.5pt; }
  .cap-list li { padding-left: 9pt; font-size: 8.5pt; line-height: 1.25; color: #111; }
  .cap-list li::before { left: 0; top: 0.5em; width: 4pt; height: 4pt; background: #c27c0e; }
  .band { padding-top: 8pt; break-inside: avoid; }
  .band::before { display: none !important; }
  .band .h2 { max-width: none; font-family: var(--sans); font-size: 12pt; font-weight: 600; color: #c27c0e; }
  .ind-tiles { display: flex; flex-wrap: wrap; gap: 4pt; margin-top: 4pt; }
  .ind-tiles li { padding: 2pt 6pt; border: 1px solid #ccc; border-radius: 4pt; background: none; }
  .ind-tiles svg { display: none; }
  .ind-tiles b, .ind-tiles span { display: inline; margin: 0; font-size: 9pt; }
  .ind-tiles b { margin-right: 4pt; color: #000; }
  .ind-tiles span { color: #444; }
  .tools-row { margin-top: 4pt; gap: 4pt; }
  .logo-wall.tools-row li, .logo-wall.tools-row li:not(.yours) { width: 22pt; height: 22pt; border-radius: 5pt; background: #fff; border: 1px solid #ddd; }
  .tools-row img { width: 14pt; height: 14pt; }
  .logo-wall.tools-row li.word { width: auto; padding: 0 5pt; color: #000; font-size: 8pt; }
  .tools-row img.inv, .tools-row img.lite { filter: none; }
  .band .fine { color: #333; font-size: 9pt; }
  .start-steps { display: flex; gap: 8pt; margin-top: 4pt; }
  .start-steps li { flex: 1; padding: 4pt 6pt; border: 1px solid #ccc; border-radius: 4pt; background: none; }
  .step-n { font-size: 12pt; color: #c27c0e; }
  .start-steps b { margin-top: 2pt; font-size: 9.5pt; color: #000; }
  .start-steps p { margin-top: 1pt; font-size: 8.5pt; color: #333; }
  a { color: #000; text-decoration: none; }
}
/* closed <details> still print their full list (print.js also opens them before printing). Kept in its own block so older browsers that don't know ::details-content still read the rules above. */
@media print { .cap-more::details-content { content-visibility: visible; display: block; block-size: auto; } }

/* What we build, tablet and desktop: an opened card's examples float BELOW the card as a panel,
   so the rest of the row keeps its size (no tall empty cards). Phones keep the in-place list. */
@media (min-width: 761px) {
  .cap-grid { align-items: start; }
  .cap { position: relative; height: 100%; }
  .cap:has(.cap-more[open]) { z-index: 30; border-color: rgba(245,165,36,0.5); border-radius: 18px 18px 0 0; }
  .cap-more[open] .cap-panel { position: absolute; left: -1px; right: -1px; top: calc(100% - 1px);
    max-height: min(60vh, 520px); overflow-y: auto; overscroll-behavior: contain;
    padding: 4px 18px 18px; border-radius: 0 0 18px 18px;
    background: #0b1424; border: 1px solid rgba(245,165,36,0.5); border-top: 0;
    box-shadow: 0 34px 70px rgba(0,0,0,0.65); }
  .cap-more[open] .cap-out { margin-top: 0; }
  .cap-more[open] .cap-list { margin-bottom: 0; }
}
@media print { .cap-panel { position: static !important; max-height: none !important; overflow: visible !important; padding: 0 !important; border: 0 !important; background: none !important; box-shadow: none !important; } }
