/* Pages B: Work (.wk-), Hosting (.hs-), legal pages (.lg-), plus the parts they share (.pb-).
   AIS vocabulary on site.css tokens: near-black, framed panels (28px), cards (20-22px) on #0f1012,
   pill controls, mono labels, mint as an accent only. Nothing here restyles [data-sc-*]. */

/* Elements a script hides must stay hidden even when a class sets display. */
[data-wk-cat][hidden], [data-wk-group][hidden], .wk-bar[hidden], .hs-billing[hidden] { display: none !important; }

/* Section rhythm, the same as the home page */
.wk-gallery, .wk-built, .hs-plans, .hs-incl, .hs-bill, .hs-voices, .hs-faq { position: relative; padding: 110px 0; background: var(--bg); }
@media (max-width: 900px) { .wk-gallery, .wk-built, .hs-plans, .hs-incl, .hs-bill, .hs-voices, .hs-faq { padding: 80px 0; } }

/* Shared framed surface (same as site.css .panel, for elements that cannot take the class) */
.wk-piece, .wk-case, .wk-table-wrap, .hs-cards, .hs-terms, .hs-custom, .lg-prose {
  border-radius: var(--r-lg); background: #0a0b0d; border: 1px solid var(--line);
  box-shadow: var(--ring), 0 50px 100px -50px rgba(0,0,0,.9);
}

/* Inner hero: chip above the h1, everything centred (site.css .page-hero) */
.page-hero__copy .chip { backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.page-hero__copy h1.reveal { margin-top: 4px; }

/* Label schema in mono, as on the home page's results panel */
.wk-meta .label-schema, .pb-plate .label-schema { gap: 12px 24px; font-size: 14px; line-height: 1.5; }
.wk-meta .label-schema dt, .pb-plate .label-schema dt { font: 400 11px/1.9 var(--sc-font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--fg-3); }
.wk-meta .label-schema dd, .pb-plate .label-schema dd { color: var(--fg-2); max-width: 54ch; text-wrap: pretty; }

/* =================================================================== WORK */
html:has(body.page-work) { scroll-padding-top: calc(var(--header-h) + 96px); }

/* Index of pieces in the hero: small pills that jump */
.wk-index { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; max-width: 960px; margin-top: 18px; }
.wk-index a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid var(--line); color: var(--fg-2); font-size: 13px; text-decoration: none; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: background .25s, color .25s; }
.wk-index a:hover { background: rgba(255,255,255,.12); color: var(--fg); }

/* Filter bar: an AIS pill tab bar that floats under the header while the pieces
   scroll, and releases at the end of .wk-gallery, before the builds. */
.wk-bar { position: sticky; top: calc(var(--header-h) + 10px); z-index: 30; margin: 0 0 16px; pointer-events: none; }
.wk-bar__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.wk-filter { pointer-events: auto; max-width: 100%; overflow-x: auto; scrollbar-width: none; background: rgba(11,12,14,.86); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.wk-filter::-webkit-scrollbar { display: none; }
.wk-filter button { flex: none; white-space: nowrap; }
.wk-bar__status { pointer-events: auto; display: inline-flex; align-items: center; height: 36px; padding: 0 16px; border-radius: 999px; background: rgba(11,12,14,.86); border: 1px solid var(--line); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); font: 400 11px/1 var(--sc-font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--fg-2); white-space: nowrap; font-variant-numeric: tabular-nums; }
.wk-bar__status:empty { display: none; }

/* A piece: one framed panel. Label bar on top, the lead object on a stage, details in a row. */
.wk-collection { display: grid; gap: 24px; }
.wk-piece { padding: 10px; display: grid; gap: 10px; align-content: start; min-width: 0; }
.wk-meta { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 20px 40px; align-items: start; padding: 26px 26px 22px; }
.wk-meta__name { display: grid; gap: 14px; align-content: start; }
.wk-meta h2, .wk-meta h3, .pb-plate__title { font-size: 32px; line-height: 1.15; letter-spacing: -.035em; font-weight: 500; color: var(--fg); }
.wk-meta__more { grid-column: 1 / -1; justify-self: start; display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; }

.wk-swatches { display: inline-flex; gap: 3px; vertical-align: -0.1em; margin-inline: 0.15em 0.3em; }
.wk-swatches i { width: 0.85em; height: 0.85em; border-radius: 3px; background: var(--c); box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); }

/* Stage: the home page's tabbed stage, one object centred on the ridge glow */
.wk-stage { position: relative; margin: 0; height: 600px; padding: 48px 64px; border-radius: 20px; overflow: clip; isolation: isolate;
  display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr); place-items: center;
  background:
    radial-gradient(70% 55% at 50% 0%, rgba(var(--tint, 71,255,140), .16), transparent 70%),
    url("/assets/img/ridge-far.svg") 50% 100% / 150% auto no-repeat,
    radial-gradient(90% 70% at 50% 100%, #1d6b52 0%, #121a19 55%, #0b0c0e 100%); }
.wk-stage::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(5,5,6,.15), rgba(5,5,6,0) 30%, rgba(5,5,6,.4) 100%); pointer-events: none; }
.wk-stage picture { display: contents; }
.wk-stage img { display: block; width: auto; height: auto; max-width: 100%; max-height: 100%; border-radius: 14px; box-shadow: 0 40px 90px -30px rgba(0,0,0,.9), 0 0 0 1px rgba(255,255,255,.08); transition: transform .8s var(--ease); }
.wk-piece:hover .wk-stage img { transform: translateY(-4px); }

/* Details: a justified row, every image the same height and none cropped (flex-grow = aspect ratio) */
.wk-details { display: flex; gap: 10px; }
.wk-shot { margin: 0; flex: var(--ar, 1.5) 1 0%; min-width: 0; border-radius: 16px; overflow: clip; background: #0f1012; box-shadow: 0 0 0 1px rgba(255,255,255,.06); }
.wk-shot picture, .wk-shot img { display: block; width: 100%; height: auto; }
.wk-shot img { transition: transform .8s var(--ease); }
.wk-shot:hover img { transform: scale(1.025); }

/* Two tall pieces side by side */
.wk-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.wk-piece--tall { grid-template-rows: auto 1fr; }
.wk-piece--tall .wk-stage { height: 640px; padding: 40px; }
.wk-piece--tall .wk-meta { grid-template-columns: 1fr; gap: 20px; align-content: start; padding: 24px 22px 20px; }
.wk-pair > [hidden] + .wk-piece, .wk-pair > .wk-piece:has(+ [hidden]) { grid-column: 1 / -1; }

/* Builds: a table inside a panel, set like the home page's results rows */
.wk-table-wrap { padding: 4px 30px 6px; }
.wk-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.wk-table th, .wk-table td { text-align: left; vertical-align: baseline; padding: 24px 20px 24px 0; border-bottom: 1px solid var(--line); line-height: 1.45; }
.wk-table tbody tr:last-child > * { border-bottom: 0; }
.wk-table thead th { padding: 24px 20px 16px 0; font: 400 11px/1.3 var(--sc-font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--fg-3); }
.wk-table thead th:last-child, .wk-table td:last-child { text-align: right; padding-right: 0; }
.wk-table tbody th { font: 500 19px/1.3 var(--sc-font-display); letter-spacing: -.02em; color: var(--fg); width: 22%; }
.wk-table td { color: var(--fg-2); }
.wk-table td:nth-of-type(1) { width: 16%; }
.wk-table td:nth-of-type(2) { width: 36%; }
.wk-table td:nth-of-type(3) { color: var(--accent); font-variant-numeric: tabular-nums; }
.wk-cat { display: inline-flex; align-items: center; height: 26px; padding: 0 11px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid var(--line); font-size: 12px; color: var(--fg-2); white-space: nowrap; }

@media (max-width: 900px) {
  .wk-meta { grid-template-columns: 1fr; gap: 18px; padding: 20px 16px 16px; }
  .wk-meta h2, .wk-meta h3, .pb-plate__title { font-size: 26px; }
  .wk-stage { height: auto; padding: 22px; }
  .wk-stage img { max-height: 520px; }
  .wk-piece--tall .wk-stage { height: auto; padding: 22px; }
  .wk-piece--tall .wk-stage img { max-height: 480px; }
  .wk-pair { grid-template-columns: 1fr; }
}
@media (max-width: 1000px) {
  /* Not enough room beside the four filters: the count stays for screen readers only. */
  .wk-bar__status { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
}
@media (max-width: 720px) {
  /* Phones: all four filters visible as a 2x2 set; the bar scrolls away instead of covering the reading area. */
  html:has(body.page-work) { scroll-padding-top: calc(var(--header-h) + 12px); }
  .wk-bar { position: relative; top: auto; }
  .wk-bar__in { display: block; }
  .wk-filter { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; overflow: visible; border-radius: 24px; }
  .wk-filter button { padding: 0.3rem 0.5rem; font-size: 14px; white-space: normal; line-height: 1.2; min-width: 0; }
  .wk-details { flex-direction: column; }
  .wk-shot { flex: none; }
  .wk-shot--tall { width: min(72%, 320px); align-self: center; }
  .wk-table-wrap { padding: 4px 20px; }
  .wk-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .wk-table, .wk-table tbody { display: block; }
  .wk-table tr { display: grid; gap: 0.55rem; padding: 22px 0; border-bottom: 1px solid var(--line); }
  .wk-table tbody tr:last-child { border-bottom: 0; }
  .wk-table th, .wk-table td { display: block; padding: 0; border: 0; width: auto !important; text-align: left !important; }
  .wk-table tbody th { margin-bottom: 0.2rem; }
  .wk-table td { display: grid; grid-template-columns: 5.6rem minmax(0, 1fr); gap: 0.75rem; align-items: baseline; }
  .wk-table td .wk-cat { justify-self: start; }
  .wk-table td::before { content: attr(data-label); font: 400 10.5px/1.9 var(--sc-font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--fg-3); }
}

/* ---------------------------------------------------- Work: groups + cases */
/* Two groups share the filter; a group hides when the filter empties it. */
.wk-group { display: grid; gap: 24px; min-width: 0; }
.wk-group > .section-head { margin-bottom: 16px; }
.wk-group:not([hidden]) ~ .wk-group { margin-top: 86px; }
.wk-bar + .wk-collection { margin-top: 40px; }

/* A case study: one framed panel. Head (name left, summary right), stat cards, media. */
.wk-case { padding: 10px; display: grid; gap: 10px; align-content: start; min-width: 0; }
.wk-case__head { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 22px 48px; align-items: end; padding: 30px 30px 24px; }
.wk-case__name { display: grid; gap: 18px; align-content: start; }
.wk-case__title { font-size: clamp(28px, 1.1rem + 1.3vw, 36px); line-height: 1.25; letter-spacing: -.035em; font-weight: 500; }
.wk-case__about { display: grid; gap: 18px; align-content: end; }
.wk-case__about > p { font-size: 16px; line-height: 24px; color: var(--fg-2); max-width: 46ch; text-wrap: pretty; }
.wk-case__site { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; width: fit-content; margin: -10px 0 -12px; font: 400 12px/1 var(--sc-font-mono); letter-spacing: .08em; color: var(--fg-2); text-decoration: none; transition: color .2s; }
.wk-case__site .icon { width: 14px; height: 14px; transition: transform .3s var(--ease); }
.wk-case__site:hover { color: var(--fg); }
.wk-case__site:hover .icon { transform: translate(2px, -2px); color: var(--accent); }

.wk-pills { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.wk-pills li { display: inline-flex; align-items: center; gap: 8px; min-height: 32px; padding: 4px 13px; border-radius: 999px; background: rgba(255,255,255,.05); border: 1px solid var(--line); font-size: 13px; color: var(--fg-2); }
.wk-pills li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px rgba(71,255,140,.6); flex: none; }

/* Stat cards: a big mint number over its label (dt follows dd visually, reads label first) */
.wk-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 0; }
.wk-stats--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.wk-stat { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 12px; min-width: 0; padding: 28px 26px 26px; border-radius: 20px; background: #0f1012; }
.wk-stat dd { margin: 0; font: 400 clamp(34px, 1.2rem + 1.9vw, 46px)/1 var(--sc-font-display); letter-spacing: -.045em; color: var(--accent); font-variant-numeric: tabular-nums; white-space: nowrap; text-shadow: 0 0 30px rgba(71,255,140,.25); }
.wk-stat dt { font-size: 14px; line-height: 1.4; color: var(--fg-2); text-wrap: pretty; }

/* Photos: rounded, ringed; --fill crops to its grid cell */
.wk-ph { position: relative; margin: 0; min-width: 0; border-radius: 16px; overflow: clip; background: #0f1012; box-shadow: 0 0 0 1px rgba(255,255,255,.06); }
.wk-ph img { display: block; width: 100%; height: auto; transition: transform .8s var(--ease); }
.wk-ph--fill img { position: absolute; inset: 0; height: 100%; object-fit: cover; }
.wk-ph:hover img { transform: scale(1.025); }

.wk-media { display: grid; gap: 10px; min-width: 0; }
.wk-media--ceo { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); grid-template-rows: 1fr 1fr; }
.wk-media--ceo .wk-media__lead { grid-row: 1 / span 2; aspect-ratio: 3 / 2; }
.wk-media--split { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; }
.wk-media--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.wk-media--iuht { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) minmax(0, 1fr); min-height: 440px; }
.wk-media--dev { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); }


/* IUHT: delivered card, two photos, then the campaign wall */
.wk-deliv { display: grid; gap: 16px; align-content: start; padding: 26px; border-radius: 20px; background: #0f1012; }
.wk-deliv__crest { width: 84px; height: auto; border-radius: 14px; box-shadow: 0 0 0 1px rgba(255,255,255,.08); }
.wk-deliv h4 { font-weight: 400; color: var(--fg-3); margin-top: 6px; }
.wk-deliv ul { list-style: none; margin: 0; padding: 0; }
.wk-deliv li { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 6px 0; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--fg); }
.wk-deliv li:last-child { border-bottom: 0; }
.wk-deliv li .icon { flex: none; width: 20px; height: 20px; padding: 4px; border-radius: 50%; background: rgba(71,255,140,.14); color: var(--accent); }
.wk-camp { display: grid; gap: 18px; padding: 30px 20px 10px; margin-top: 4px; }
.wk-camp__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 30px; padding: 0 10px; }
.wk-camp__title { font-size: clamp(24px, 1rem + 1vw, 30px); letter-spacing: -.035em; font-weight: 500; }
.wk-camp__title .h2__a, .wk-camp__title .h2__b { display: inline; }
.wk-camp__head p { font-size: 15px; color: var(--fg-2); }
/* Justified rows: widths follow each post's aspect ratio so every row is one height */
.wk-posts { display: flex; flex-wrap: wrap; gap: 5px 10px; margin: 0 -10px; }
.wk-post { margin: 5px 0; flex: var(--ar) 1 0%; min-width: 0; border-radius: 14px; overflow: clip; background: #0f1012; box-shadow: 0 0 0 1px rgba(255,255,255,.06); }
.wk-post img { display: block; width: 100%; height: auto; transition: transform .8s var(--ease); }
.wk-post:hover img { transform: scale(1.025); }
.wk-posts__break { flex-basis: 100%; height: 0; }

/* Face FWD AI with its companion card; two smaller cards */
.wk-duo { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); gap: 24px; align-items: stretch; }
.wk-duo .wk-case__head { grid-template-columns: 1fr; align-items: start; }
.wk-minis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.wk-mini { padding: 10px; display: flex; flex-direction: column; gap: 10px; min-width: 0; border-radius: var(--r-lg); background: #0a0b0d; border: 1px solid var(--line); box-shadow: var(--ring), 0 50px 100px -50px rgba(0,0,0,.9); }
.wk-mini__img { aspect-ratio: var(--ar, 3 / 2); }
.wk-mini__body { display: grid; gap: 10px; padding: 18px 20px 16px; }
.wk-mini__body h3 { font-size: 26px; letter-spacing: -.035em; font-weight: 500; }
.wk-mini__stat { display: flex; align-items: baseline; gap: 10px; font-size: 14px; color: var(--fg-2); margin-top: 4px; }
.wk-mini__stat b { font: 400 34px/1 var(--sc-font-display); letter-spacing: -.045em; color: var(--accent); text-shadow: 0 0 30px rgba(71,255,140,.25); }
.wk-mini__p { font-size: 14px; line-height: 21px; color: var(--fg-2); max-width: 44ch; }
.wk-mini--tall .wk-mini__img { flex: 1 1 240px; aspect-ratio: auto; min-height: 240px; }
.wk-mini__pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: auto; }

/* Digital Gulberg: in development; targets drawn dashed so they never read as results */
.wk-case .chip { height: auto; min-height: 30px; padding-block: 5px; line-height: 1.35; border-radius: 16px; }
.wk-chip--dev { background: rgba(255,196,84,.1); border-color: rgba(255,196,84,.25); color: #ffd98f; }
.wk-chip--dev .chip__dot { background: #ffc454; box-shadow: 0 0 8px rgba(255,196,84,.7); animation: wk-pulse 2s var(--ease) infinite; }
@keyframes wk-pulse { 50% { opacity: .35; } }
.wk-targets { display: grid; gap: 10px; }
.wk-targets__note { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; padding: 4px 20px 6px; font-size: 14px; color: var(--fg-2); }
.wk-targets__note .mono-label { color: #ffd98f; }
.wk-stat--target { background: transparent; border: 1px dashed rgba(255,255,255,.2); }
.wk-stat--target dd { color: var(--fg); text-shadow: none; }
.wk-tag { display: inline-block; margin-right: 4px; padding: 3px 8px; border-radius: 999px; background: rgba(255,196,84,.12); font: 400 10px/1.3 var(--sc-font-mono); letter-spacing: .1em; text-transform: uppercase; color: #ffd98f; vertical-align: 1px; }
.wk-card { display: grid; gap: 18px; align-content: start; padding: 26px; border-radius: 20px; background: #0f1012; min-width: 0; }
.wk-card h4 { font-weight: 400; color: var(--fg-3); }
.wk-journey { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.wk-journey li { position: relative; display: grid; justify-items: center; gap: 10px; text-align: center; font-size: 13px; line-height: 1.3; color: var(--fg); }
.wk-journey span { position: relative; z-index: 1; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #16181b; border: 1px solid rgba(71,255,140,.4); font: 400 11px/1 var(--sc-font-mono); color: var(--accent); }
.wk-journey li + li::before { content: ""; position: absolute; top: 20px; right: calc(50% + 24px); width: calc(100% - 40px); height: 1px; background: linear-gradient(90deg, rgba(71,255,140,.15), rgba(71,255,140,.55)); }
.wk-journey li:last-child span { background: rgba(71,255,140,.16); }


.wk-table tbody th a { color: inherit; text-decoration: none; background: linear-gradient(var(--accent), var(--accent)) 0 100% / 0 1px no-repeat; transition: background-size .35s var(--ease); }
.wk-table tbody th a:hover { background-size: 100% 1px; }

@media (max-width: 1000px) {
  .wk-case__head { grid-template-columns: 1fr; align-items: start; }
  .wk-duo { grid-template-columns: 1fr; }
  .wk-mini--tall { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
  .wk-mini--tall .wk-mini__pair { grid-column: 1 / -1; }
  .wk-mini--tall .wk-mini__img { aspect-ratio: 4 / 3; min-height: 0; }
}
@media (max-width: 900px) {
  .wk-group:not([hidden]) ~ .wk-group { margin-top: 64px; }
  .wk-bar + .wk-collection { margin-top: 24px; }
  .wk-case__head { padding: 20px 14px 14px; gap: 18px; }
  .wk-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wk-stat { padding: 22px 18px 20px; gap: 10px; }
  .wk-stat dt { font-size: 13px; }
  .wk-media--ceo { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto; }
  .wk-media--ceo .wk-media__lead { grid-row: auto; grid-column: 1 / -1; }
  .wk-media--ceo .wk-ph:not(.wk-media__lead) { aspect-ratio: 3 / 2; }
  .wk-media--split, .wk-media--dev { grid-template-columns: 1fr; }
  .wk-media--flip .wk-stage { order: 2; }
  .wk-media--iuht { grid-template-columns: repeat(2, minmax(0, 1fr)); min-height: 0; }
  .wk-media--iuht .wk-deliv { grid-column: 1 / -1; }
  .wk-media--iuht .wk-ph { aspect-ratio: 2 / 3; }
  .wk-camp { padding: 22px 6px 6px; }
  .wk-camp__head { padding: 0 8px; }
  .wk-posts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 0; align-items: start; }
  .wk-post { margin: 0; }
  .wk-posts__break { display: none; }
  .wk-mini--tall { display: flex; }
  .wk-minis { grid-template-columns: 1fr; }
  .wk-card, .wk-deliv { padding: 22px 18px; }
}
@media (max-width: 640px) {
  .wk-journey { grid-template-columns: 1fr; gap: 0; }
  .wk-journey li { grid-template-columns: 40px 1fr; justify-items: start; align-items: center; gap: 14px; padding: 6px 0; text-align: left; font-size: 14px; }
  .wk-journey li + li::before { top: -6px; left: 20px; right: auto; width: 1px; height: 12px; background: rgba(71,255,140,.4); }
  .wk-index { gap: 6px; }
  .wk-index a { padding: 0 14px; font-size: 12.5px; }
}

/* ================================================================ HOSTING */
.hs-facts { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.hs-facts li { display: inline-flex; align-items: center; gap: 8px; min-height: 34px; padding: 4px 14px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid var(--line); font-size: 13px; color: rgba(255,255,255,.85); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.hs-facts .icon { width: 15px; height: 15px; color: var(--accent); flex: none; }

.hs-billing { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 18px; margin: 8px 0 60px; }
.hs-billing__save { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; color: var(--fg-2); }
.hs-seg button { min-width: 120px; }

.hs-plans__grid .plan li { min-height: 44px; }
.hs-plans__grid .plan li strong { color: var(--fg); font-weight: 600; }
.hs-plans__grid .plan__price span { font-variant-numeric: tabular-nums; }
.hs-plans__grid .plan__alt { min-height: 2.9em; line-height: 1.45; }
.hs-plans__grid .plan__for { min-height: 42px; margin-top: 12px; }

/* Custom plan: one wide card */
.hs-custom { margin-top: 40px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr) auto; gap: 24px 40px; align-items: center; padding: 32px 36px; }
.hs-custom__copy { display: grid; gap: 10px; }
.hs-custom h3 { font-size: 24px; letter-spacing: -.03em; font-weight: 500; }
.hs-custom__copy > p:last-child { color: var(--fg-2); font-size: 14px; line-height: 21px; max-width: 40ch; }
.hs-custom__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.hs-custom__list li { display: inline-flex; align-items: center; gap: 8px; min-height: 32px; padding: 4px 13px; border-radius: 999px; background: rgba(255,255,255,.05); border: 1px solid var(--line); font-size: 13px; color: var(--fg-2); }
.hs-custom__list li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px rgba(71,255,140,.6); flex: none; }
.hs-custom .btn .icon { width: 16px; height: 16px; }

/* Every plan includes: cards in a frame */
.hs-cards { list-style: none; margin: 0; padding: 10px; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.hs-card { grid-column: span 2; display: flex; flex-direction: column; gap: 12px; min-height: 240px; padding: 30px; border-radius: 20px; background: #0f1012; }
.hs-card:nth-child(-n+2) { grid-column: span 3; }
.hs-card__icon { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(71,255,140,.12); color: var(--accent); margin-bottom: auto; box-shadow: 0 0 0 1px rgba(71,255,140,.18); }
.hs-card__icon .icon { width: 20px; height: 20px; }
.hs-card h3 { margin-top: 28px; font-size: 19px; line-height: 1.3; letter-spacing: -.02em; font-weight: 500; }
.hs-card p { font-size: 14px; line-height: 21px; color: var(--fg-2); max-width: 46ch; }

/* How billing works: four cards in a frame */
.hs-terms { margin: 0; padding: 10px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.hs-term { display: grid; gap: 12px; align-content: start; padding: 30px; border-radius: 20px; background: #0f1012; }
.hs-term dt { display: grid; gap: 22px; font-size: 20px; line-height: 1.3; letter-spacing: -.02em; font-weight: 500; color: var(--fg); }
.hs-term dt .mono-label { color: var(--accent); }
.hs-term dd { margin: 0; color: var(--fg-2); font-size: 15px; line-height: 1.6; max-width: 52ch; }

.hs-quotes { grid-template-columns: repeat(3, minmax(0, 1fr)); }

@media (max-width: 960px) {
  .hs-custom { grid-template-columns: 1fr; padding: 26px 22px; }
  .hs-custom .btn { justify-self: start; }
  .hs-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hs-card, .hs-card:nth-child(-n+2) { grid-column: span 1; }
  .hs-card:last-child { grid-column: 1 / -1; }
  .hs-quotes { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .hs-cards, .hs-terms { grid-template-columns: 1fr; }
  .hs-card:last-child { grid-column: auto; }
  .hs-card { min-height: 0; padding: 24px; }
  .hs-card h3 { margin-top: 22px; }
  .hs-term { padding: 24px; }
  .hs-seg { width: 100%; }
  .hs-seg button { flex: 1; min-width: 0; }
}

/* FAQ: AIS side card + question cards (shared by pages B) */
.pb-faq { display: grid; grid-template-columns: 345px minmax(0, 1fr); gap: 48px; align-items: start; }
.pb-side { position: sticky; top: 100px; }
.pb-side__card { padding: 36px; border-radius: 22px; background: #0b0c0e; border: 1px solid var(--line); box-shadow: var(--ring); }
.pb-side__card h3 { font-size: 22px; font-weight: 500; letter-spacing: -.02em; }
.pb-side__card p { margin-top: 12px; font-size: 14px; line-height: 21px; color: var(--fg-2); }
.pb-side__go { display: inline-flex; min-height: 44px; align-items: center; margin-top: 18px; font-size: 14px; color: var(--fg-2); text-decoration: none; }
.pb-side__go:hover { color: var(--fg); }
@media (max-width: 900px) {
  .pb-faq { grid-template-columns: 1fr; gap: 20px; }
  .pb-side { position: static; order: 2; }
  .pb-side__card { padding: 26px 22px; }
}

/* ================================================================== LEGAL */
.page-hero--short { min-height: 540px; padding-bottom: 170px; }
.lg-body { position: relative; padding: 30px 0 110px; background: var(--bg); }
.lg-layout { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 40px; align-items: start; }

/* Contents: the AIS side card with pill links; the current section is lit */
.lg-toc { position: sticky; top: calc(var(--header-h) + 30px); padding: 8px; border-radius: var(--r-lg); background: #0b0c0e; border: 1px solid var(--line); box-shadow: var(--ring); }
.lg-toc h2 { margin: 0; padding: 18px 18px 14px; font-weight: 400; line-height: 1.3; letter-spacing: .12em; }
.lg-toc ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.lg-toc a { position: relative; display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 18px; border-radius: 999px; font-size: 14px; line-height: 1.3; color: var(--fg-2); text-decoration: none; transition: background .25s, color .25s; }
.lg-toc a::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.18); transition: background .25s, box-shadow .25s; }
.lg-toc a:hover { color: var(--fg); background: rgba(255,255,255,.04); }
.lg-toc a[aria-current="true"] { color: var(--fg); background: #1a1b1e; box-shadow: inset 0 1px 0 rgba(255,255,255,.06); }
.lg-toc a[aria-current="true"]::before { background: var(--accent); box-shadow: 0 0 8px rgba(71,255,140,.7); }

/* The text: a framed panel */
.lg-prose { max-width: none; padding: 52px 60px 56px; font-size: 16px; }
.lg-prose > * { max-width: 68ch; }
.lg-prose > p:first-child { font-size: 19px; line-height: 1.55; letter-spacing: -.01em; color: var(--fg); }
.lg-prose h2 { margin: 44px 0 14px; padding-top: 40px; border-top: 1px solid var(--line); max-width: none; }
.lg-prose ul { padding-left: 1.2rem; }
.lg-prose li::marker { color: var(--accent); }
.lg-prose strong { color: var(--fg); font-weight: 500; }
.lg-contact { font-style: normal; display: grid; gap: 6px; margin-top: 8px; padding: 24px 26px; border-radius: 20px; background: #0f1012; border: 1px solid var(--line); }

@media (max-width: 900px) {
  .page-hero--short { min-height: 420px; padding-bottom: 120px; }
  .lg-body { padding: 10px 0 80px; }
  .lg-layout { grid-template-columns: 1fr; gap: 16px; }
  .lg-toc { position: static; }
  .lg-toc ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lg-toc a { padding: 8px 12px; font-size: 13px; }
  .lg-prose { padding: 30px 22px 34px; font-size: 15px; }
  .lg-prose > p:first-child { font-size: 17px; }
  .lg-prose h2 { margin-top: 34px; padding-top: 30px; font-size: 22px; }
}
@media (max-width: 360px) { .lg-toc ul { grid-template-columns: 1fr; } }

/* ============================================================ CLOSE BAND */
/* AIS close: copy over the valley, mid and front ridges, a green glow at the horizon. */
.pb-close { position: relative; padding: 170px 0 320px; background: linear-gradient(180deg, var(--bg) 0%, #101615 100%); overflow: clip; isolation: isolate; }
.pb-close--quiet { padding-top: 130px; }
.pb-close__in { position: relative; z-index: 6; }
.pb-close__in--split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.pb-close__copy .h2 { font-size: 40px; line-height: 54px; }
.pb-close__copy p { margin-top: 22px; font-size: 16px; line-height: 24px; color: var(--fg-2); max-width: 40ch; }
.pb-close__copy .btn-row { margin-top: 38px; }
.pb-close__copy .btn .icon { width: 18px; height: 18px; }
.pb-close__copy--center { display: flex; flex-direction: column; align-items: center; text-align: center; }
.pb-close__copy--center p { margin-inline: auto; }
.pb-close__copy--center .btn-row { justify-content: center; }
.pb-close__glow { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; height: 560px; background: radial-gradient(70% 70% at 50% 100%, rgba(29,107,82,.75), rgba(18,26,25,.4) 55%, transparent 80%); pointer-events: none; }
.pb-close__layer { position: absolute; left: 50%; width: max(1440px, 100%); max-width: none; height: auto; transform: translateX(-50%); pointer-events: none; }
.pb-close__layer--mid { z-index: 2; bottom: -30px; opacity: .9; }
.pb-close__layer--front { z-index: 3; bottom: -140px; }
.pb-close::after { content: ""; position: absolute; z-index: 4; left: 0; right: 0; bottom: 0; height: 240px; background: linear-gradient(180deg, rgba(5,5,6,0) 0%, rgba(5,5,6,.6) 45%, var(--bg) 88%); pointer-events: none; }

/* The work page's inquiry plate, set like a piece label */
.pb-plate { display: grid; gap: 22px; padding: 30px; border-radius: var(--r-lg); background: rgba(10,11,13,.86); border: 1px solid var(--line-2); box-shadow: var(--ring), 0 40px 100px -40px rgba(0,0,0,.9), 0 0 80px -40px rgba(71,255,140,.35); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.pb-plate .label-schema { padding-top: 20px; border-top: 1px solid var(--line); }

@media (max-width: 900px) {
  .pb-close { padding: 110px 0 230px; }
  .pb-close--quiet { padding-top: 90px; }
  .pb-close__in--split { grid-template-columns: 1fr; gap: 36px; }
  .pb-close__copy .h2 { font-size: 32px; line-height: 42px; }
  .pb-close__layer { width: 1100px; }
  .pb-close__layer--mid { bottom: 20px; }
  .pb-close__layer--front { bottom: -60px; }
  .pb-close::after { height: 200px; }
  .pb-plate { padding: 24px 20px; }
}
@media (max-width: 480px) {
  .pb-close__copy .btn-row { flex-direction: column; align-items: stretch; width: 100%; }
  .pb-close__copy--center .btn-row { max-width: 340px; }
}

@media (prefers-reduced-motion: reduce) {
  .wk-stage img, .wk-shot img, .wk-ph img, .wk-post img { transition: none; transform: none !important; }
}

/* Digital Gulberg: code-drawn resident + maintenance phones, three-app list */
.dg-row { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 10px; }
.dg-show { margin: 0; display: grid; gap: 22px; padding: 36px 28px 24px; border-radius: 20px; background: radial-gradient(80% 70% at 30% 0%, rgba(71,255,140,.16), transparent 60%), radial-gradient(70% 60% at 90% 100%, rgba(255,160,64,.12), transparent 60%), #0f1012; overflow: clip; }
.dg-phones { display: flex; justify-content: center; align-items: flex-start; gap: 18px; }
.dg-phone { position: relative; flex: 0 1 230px; min-width: 0; display: grid; gap: 9px; align-content: start; padding: 30px 14px 18px; border-radius: 34px; background: #0b0f0d; border: 1px solid rgba(71,255,140,.22); box-shadow: 0 40px 70px -30px rgba(0,0,0,.95), inset 0 0 0 4px #070908; }
.dg-phone::before { content: ""; position: absolute; top: 12px; left: 50%; translate: -50% 0; width: 54px; height: 5px; border-radius: 3px; background: #26302b; }
.dg-phone--maint { margin-top: 34px; border-color: rgba(255,160,64,.25); }
.dg-phone__k { font-size: 11px; color: var(--fg-3); }
.dg-phone__h { margin-bottom: 4px; font-size: 17px; font-weight: 500; letter-spacing: -.01em; color: var(--fg); }
.dg-item { display: flex; align-items: center; gap: 8px; padding: 10px 11px; border-radius: 12px; background: #121815; border: 1px solid rgba(255,255,255,.06); font-size: 12px; color: var(--fg); }
.dg-item .icon { flex: none; width: 15px; height: 15px; color: var(--accent); }
.dg-item--warm .icon { color: #ffa040; }
.dg-item--ok { background: rgba(71,255,140,.1); border-color: rgba(71,255,140,.35); }
.dg-item--progress { display: grid; gap: 7px; }
.dg-item--progress i { display: block; height: 5px; border-radius: 3px; background: linear-gradient(90deg, var(--accent) var(--w), rgba(255,255,255,.08) var(--w)); }
.dg-item--progress small { font-size: 11px; color: var(--accent); }
.dg-photo { position: relative; display: grid; place-items: center; height: 78px; border-radius: 12px; background: linear-gradient(160deg, #1a201c, #111513); border: 1px solid rgba(255,255,255,.06); }
.dg-photo > .icon { width: 26px; height: 26px; color: #ffa040; }
.dg-photo span { position: absolute; left: 8px; bottom: 7px; display: inline-flex; align-items: center; gap: 3px; font-size: 10px; color: var(--fg-3); }
.dg-photo span .icon { width: 11px; height: 11px; }
.dg-steps { list-style: none; margin: 2px 0 0; padding: 0; display: grid; gap: 7px; font-size: 11.5px; color: var(--fg); }
.dg-steps li { display: flex; align-items: center; gap: 8px; }
.dg-steps li::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.dg-steps .is-now { color: #ffa040; }
.dg-steps .is-now::before { background: #ffa040; box-shadow: 0 0 8px rgba(255,160,64,.7); }
.dg-stars { display: flex; justify-content: center; gap: 4px; margin-top: 6px; color: #ffa040; }
.dg-stars .icon { width: 15px; height: 15px; }
.dg-cap { font-size: 13px; color: var(--fg-3); text-align: center; }
.dg-apps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.dg-apps li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; align-items: start; padding: 24px; border-radius: 20px; background: #0f1012; }
.dg-apps__ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(71,255,140,.1); border: 1px solid rgba(71,255,140,.25); color: var(--accent); }
.dg-apps__ico--warm { background: rgba(255,160,64,.1); border-color: rgba(255,160,64,.28); color: #ffa040; }
.dg-apps__ico .icon { width: 20px; height: 20px; }
.dg-apps h4 { font-size: 18px; font-weight: 500; letter-spacing: -.015em; color: var(--fg); }
.dg-apps p { margin-top: 6px; font-size: 14px; line-height: 21px; color: var(--fg-2); text-wrap: pretty; }
.dg-apps small { display: block; margin-top: 8px; font-size: 12.5px; color: var(--accent); }
.dg-apps li:nth-child(2) small { color: #ffa040; }
@media (max-width: 1000px) { .dg-row { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .dg-show { padding: 26px 12px 20px; }
  .dg-phones { gap: 10px; }
  .dg-phone { padding: 26px 10px 14px; border-radius: 26px; }
  .dg-phone--maint { margin-top: 24px; }
  .dg-phone__h { font-size: 15px; }
  .dg-item { padding: 8px; font-size: 11px; }
  .dg-apps li { grid-template-columns: 1fr; gap: 12px; padding: 20px 18px; }
}

.wk-reels { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; margin-top: 26px; min-width: 0; }
.wk-camp { min-width: 0; }

/* Sports artwork: a 4-column poster wall (4:5 artwork) */
.wk-art { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; padding: 0 0 4px; }
.wk-art__item { margin: 0; border-radius: 16px; overflow: clip; background: #0f1012; box-shadow: 0 0 0 1px rgba(255,255,255,.06); aspect-ratio: 4 / 5; }
.wk-art__item img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.wk-art__item:hover img { transform: scale(1.03); }
@media (max-width: 900px) { .wk-art { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .wk-art { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; } .wk-art__item { border-radius: 12px; } }
@media (prefers-reduced-motion: reduce) { .wk-art__item img { transition: none; } .wk-art__item:hover img { transform: none; } }

/* TikTok Shop case: dashboard + source note */
.wk-tt { display: grid; gap: 12px; }
.wk-tt__note { padding: 0 12px 6px; font-size: 13px; color: var(--fg-3); }
