/* ONE47 — pages.css (dead rules removed; verified against the live pages) */

body.inner {
  background:
    radial-gradient(60% 40% at 15% 0%, rgba(58, 78, 251, 0.28) 0, transparent 70%),
    radial-gradient(45% 35% at 90% 8%, rgba(227, 255, 59, 0.10) 0, transparent 70%),
    #0d0f1c;
  background-attachment: fixed;
  overflow-y: auto;
}
.inner-top {
  position: relative;
  z-index: 5;
  display: flex;
  justify-content: center;
  padding: clamp(16px, 2.4vh, 28px) clamp(14px, 3vw, 32px);
}
.inner-top .header { position: relative; z-index: 6; }
.wrap { width: 100%; max-width: 1150px; margin: 0 auto; padding: 0 clamp(14px, 3vw, 32px); }
.section { padding: clamp(40px, 7vw, 88px) 0; position: relative; z-index: 1; }
.section-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(28px, 4.6vw, 56px);
  letter-spacing: -0.04em;
  line-height: 1.1;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: clamp(24px, 4vw, 44px);
}
.section-title span, .page-hero h1 span { color: var(--lime); }
.page-hero { position: relative; z-index: 1; text-align: center; padding: clamp(36px, 7vw, 84px) clamp(14px, 3vw, 32px) clamp(8px, 2vw, 24px); }
.eyebrow {
  display: inline-block;
  padding: 6px 14px;
  border: 1px solid var(--trust-border);
  border-radius: 999px;
  background: var(--pill-dark);
  font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  margin-bottom: 18px;
}
.eyebrow em { font-style: normal; color: var(--lime); }
.page-hero h1 {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(34px, 7vw, 88px);
  letter-spacing: -0.04em; line-height: 1.08; text-transform: uppercase;
}
.page-hero p { max-width: 580px; margin: 18px auto 0; color: var(--trust-text); opacity: 0.8; line-height: 1.6; font-size: clamp(14.5px, 1.6vw, 17px); }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px; border-radius: 999px; border: 0; cursor: pointer;
  font-family: var(--font-sans); font-weight: 600; font-size: 14px;
  background: var(--lime); color: var(--pill-dark);
  box-shadow: 0 0 0 1px rgba(227,255,59,0.25), 0 0 22px rgba(227,255,59,0.3);
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.btn:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 0 0 1px rgba(227,255,59,0.4), 0 0 30px rgba(227,255,59,0.5); }
.btn.ghost { background: transparent; color: #fff; border: 1px solid var(--trust-border); box-shadow: none; }
.btn.ghost:hover { background: var(--lime); color: var(--pill-dark); border-color: var(--lime); }
.svc { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 4vw, 56px); align-items: center; padding: clamp(24px, 4vw, 48px) 0; scroll-margin-top: 24px; }
.svc:nth-child(even) .svc-vis { order: 2; }
.svc-vis { aspect-ratio: 1.2 / 1; border-radius: 32px; position: relative; overflow: hidden; border: 1px solid var(--trust-border); }
.svc-vis b { position: absolute; left: 22px; top: 18px; font-family: var(--font-display); font-weight: 400; font-size: clamp(44px, 6vw, 80px); color: #fff; letter-spacing: -0.04em; }
.svc-tag { color: var(--lime); font-weight: 600; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; }
.svc h2 { font-size: clamp(24px, 3.2vw, 38px); font-weight: 600; letter-spacing: -0.03em; margin: 8px 0 12px; line-height: 1.12; }
.svc p { color: var(--trust-text); opacity: 0.8; line-height: 1.65; }
.checks { list-style: none; margin: 18px 0 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; }
.checks li { position: relative; padding-left: 24px; font-size: 14px; color: #fff; }
.checks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 14px; height: 14px; border-radius: 50%; background: var(--lime); }
.checks li::after { content: ""; position: absolute; left: 4.5px; top: 6.5px; width: 4px; height: 7px; border: solid var(--pill-dark); border-width: 0 2px 2px 0; transform: rotate(40deg) scale(0.8); transform-origin: center; }
.grid { display: grid; gap: 16px; }
.grid.c3 { grid-template-columns: repeat(3, 1fr); }
.grid.c4 { grid-template-columns: repeat(4, 1fr); }
.card {
  padding: clamp(18px, 2.4vw, 28px);
  border-radius: 26px;
  background: var(--pill-dark);
  border: 1px solid rgba(255,255,255,0.12);
  transition: transform 0.35s var(--ease), border-color 0.3s;
}
.card:hover { transform: translateY(-4px); border-color: rgba(227,255,59,0.5); }
.card .n { font-family: var(--font-display); color: var(--lime); font-size: 34px; letter-spacing: -0.04em; }
.card h3 { font-size: 18px; font-weight: 600; margin: 10px 0 8px; letter-spacing: -0.02em; }
.card p { font-size: 14px; line-height: 1.55; color: var(--trust-text); opacity: 0.78; }
.card.light { background: var(--light); color: var(--pill-dark); }
.card.light p { color: var(--pill-dark); }
.card.light .n { color: var(--blue-1); }
.faq { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faq details { border: 1px solid rgba(255,255,255,0.14); border-radius: 20px; background: rgba(0,13,79,0.55); padding: 0 22px; transition: border-color 0.3s; }
.faq details[open] { border-color: rgba(227,255,59,0.55); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 0; font-weight: 600; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; width: 28px; height: 28px; flex-shrink: 0; display: grid; place-items: center; border-radius: 50%; background: var(--lime); color: var(--pill-dark); font-weight: 700; transition: transform 0.3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 18px; color: var(--trust-text); opacity: 0.8; line-height: 1.65; font-size: 14.5px; }
.cta-band {
  text-align: center; padding: clamp(32px, 6vw, 64px) clamp(18px, 4vw, 48px);
  border-radius: 36px; border: 1px solid var(--trust-border);
  background: radial-gradient(70% 120% at 50% 120%, rgba(58,78,251,0.55) 0, transparent 70%), var(--pill-dark);
}
.cta-band h2 { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: clamp(26px, 4.4vw, 52px); letter-spacing: -0.04em; line-height: 1.1; margin-bottom: 12px; }
.cta-band h2 span { color: var(--lime); }
.cta-band p { max-width: 480px; margin: 0 auto 24px; color: var(--trust-text); opacity: 0.8; line-height: 1.55; }
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 28px; }
.chip {
  padding: 9px 18px; border-radius: 999px; cursor: pointer;
  background: transparent; color: var(--trust-text); border: 1px solid var(--trust-border);
  font-family: var(--font-sans); font-weight: 600; font-size: 12.5px;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.chip:hover { border-color: var(--lime); color: #fff; }
.chip.on { background: var(--lime); color: var(--pill-dark); border-color: var(--lime); }
.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.case {
  text-align: left; padding: 0; border: 1px solid rgba(255,255,255,0.12); border-radius: 28px; overflow: hidden; cursor: pointer;
  background: var(--pill-dark); color: #fff; font-family: var(--font-sans);
  transition: transform 0.35s var(--ease), border-color 0.3s, opacity 0.3s;
}
.case:hover { transform: translateY(-5px); border-color: rgba(227,255,59,0.55); }
.case.hide { display: none; }
.case-img { aspect-ratio: 1.45 / 1; }
.case-body { padding: 18px 20px 22px; }
.case-cat { font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--lime); }
.case h3 { font-size: 19px; font-weight: 600; margin: 6px 0 8px; letter-spacing: -0.02em; }
.case p { font-size: 13.5px; color: var(--trust-text); opacity: 0.75; line-height: 1.5; }
.empty { text-align: center; color: var(--muted); padding: 40px 0; display: none; }
dialog.modal {
  width: min(760px, calc(100vw - 28px)); max-height: calc(100dvh - 28px); overflow: auto;
  padding: 0; border: 1px solid var(--trust-border); border-radius: 30px;
  background: #14172b; color: #fff; margin: auto;
}
dialog.modal::backdrop { background: rgba(0,0,0,0.65); backdrop-filter: blur(6px); }
dialog.modal[open] { animation: menuIn 0.35s var(--ease) both; }
.modal-img { aspect-ratio: 2.2 / 1; }
.modal-in { padding: clamp(18px, 3vw, 32px); }
.modal-in h2 { font-size: clamp(22px, 3vw, 30px); letter-spacing: -0.03em; margin: 6px 0 14px; }
.modal-in h4 { margin: 18px 0 6px; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--lime); }
.modal-in p { color: var(--trust-text); opacity: 0.85; line-height: 1.65; font-size: 14.5px; }
.metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 20px 0; }
.metrics div { background: var(--pill-dark); border-radius: 18px; padding: 14px; text-align: center; }
.metrics strong { display: block; font-family: var(--font-display); font-size: clamp(20px, 3vw, 28px); color: var(--lime); letter-spacing: -0.03em; }
.metrics span { font-size: 11.5px; color: var(--muted); }
.modal-close { position: absolute; right: 14px; top: 14px; width: 40px; height: 40px; border-radius: 50%; border: 0; cursor: pointer; background: #fff; color: #000; font-size: 18px; z-index: 2; transition: transform 0.2s; }
.modal-close:hover { transform: rotate(90deg); }
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.3fr; gap: 18px; align-items: start; }
.info-list { display: flex; flex-direction: column; gap: 12px; }
.info { display: flex; gap: 14px; align-items: center; padding: 18px 20px; border-radius: 24px; background: var(--pill-dark); border: 1px solid rgba(255,255,255,0.12); transition: border-color 0.3s, transform 0.3s var(--ease); }
a.info:hover { border-color: rgba(227,255,59,0.55); transform: translateY(-3px); }
.info i { width: 44px; height: 44px; flex-shrink: 0; display: grid; place-items: center; border-radius: 50%; background: var(--lime); color: var(--pill-dark); }
.info small { display: block; color: var(--muted); font-size: 12px; }
.info strong { font-weight: 600; font-size: 15px; word-break: break-word; }
.form-card { padding: clamp(18px, 3vw, 34px); border-radius: 30px; background: var(--pill-dark); border: 1px solid rgba(255,255,255,0.14); }
.form-card h2 { font-size: clamp(22px, 2.6vw, 30px); letter-spacing: -0.03em; margin-bottom: 4px; }
.form-card > p { color: var(--muted); margin-bottom: 20px; font-size: 14px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field label { font-size: 12.5px; font-weight: 600; color: var(--trust-text); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 16px; border-radius: 16px; border: 1px solid rgba(255,255,255,0.2);
  background: #14172b; color: #fff; font-family: var(--font-sans); font-size: 14.5px; outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--lime); box-shadow: 0 0 0 3px rgba(227,255,59,0.15); }
.field.bad input, .field.bad select, .field.bad textarea { border-color: #ff8a8a; }
.field .err { color: #ff8a8a; font-size: 12px; min-height: 0; display: none; }
.field.bad .err { display: block; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--trust-text); margin-bottom: 18px; }
.consent input { margin-top: 3px; accent-color: var(--lime); width: 16px; height: 16px; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; }
.form-ok { display: none; text-align: center; padding: 24px 6px; }
.form-ok.show { display: block; animation: menuIn 0.4s var(--ease) both; }
.form-ok .tick { width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 50%; background: var(--lime); color: var(--pill-dark); display: grid; place-items: center; font-size: 26px; box-shadow: 0 0 30px rgba(227,255,59,0.4); }
.form-ok h3 { font-size: 24px; margin-bottom: 8px; }
.form-ok p { color: var(--trust-text); opacity: 0.8; margin-bottom: 18px; line-height: 1.55; }
.form-ok .actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.legal { max-width: 780px; margin: 0 auto; }
.legal h2 { font-size: 22px; margin: 32px 0 10px; letter-spacing: -0.02em; scroll-margin-top: 20px; }
.legal p, .legal li { color: var(--trust-text); opacity: 0.85; line-height: 1.75; font-size: 15px; }
.legal ul { padding-left: 20px; margin: 8px 0; }
.legal .toc { padding: 18px 22px; border-radius: 22px; background: var(--pill-dark); border: 1px solid rgba(255,255,255,0.12); display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14px; }
.legal .toc a { color: var(--lime); }
.legal .toc a:hover { text-decoration: underline; }
.legal .note { margin-top: 28px; padding: 14px 18px; border-radius: 18px; border: 1px dashed var(--trust-border); font-size: 13px; color: var(--muted); }
.nf { text-align: center; padding: clamp(60px, 14vw, 160px) 16px; position: relative; z-index: 1; }
.nf b { display: block; font-family: var(--font-display); font-weight: 400; font-size: clamp(90px, 22vw, 260px); color: var(--lime); letter-spacing: -0.06em; line-height: 1; }
.nf p { margin: 14px auto 26px; max-width: 420px; color: var(--trust-text); opacity: 0.8; }
body.inner .footer-section { background: transparent; padding-top: clamp(32px, 6vw, 72px); }
@media (max-width: 900px) {
  .svc { grid-template-columns: 1fr; }
  .svc:nth-child(even) .svc-vis { order: 0; }
  .grid.c3, .cases { grid-template-columns: repeat(2, 1fr); }
  .grid.c4, .about-stats { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .grid.c3, .cases { grid-template-columns: 1fr; }
  .checks { grid-template-columns: 1fr; }
  .row2 { grid-template-columns: 1fr; }
  .metrics { grid-template-columns: 1fr; }
  .grid.c4 { grid-template-columns: 1fr 1fr; gap: 12px; }
  .svc-vis { border-radius: 26px; }
  .cta-band { border-radius: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  dialog.modal[open], .form-ok.show { animation: none; }
}
.svc-vis { background-size: cover; background-position: center; }
.svc-vis::after { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(0,13,79,.65), rgba(0,13,79,.05) 60%); }
.svc-vis b { z-index: 1; }
.case-img, .modal-img { background-size: cover !important; background-position: center !important; }
.vis-1 { background-image: url("assets/work/3d-motion/suono-p300-2-0-poster.webp"); }
.vis-2 { background-image: url("assets/work/2d-motion/gold-4-final-poster.webp"); }
.vis-3 { background-image: url("assets/work/3d-static/range.webp"); }
.vis-4 { background-image: url("assets/work/stalls/aurolab-view01.webp"); }
.vis-5 { background-image: url("assets/work/3d-static/combo-scene-2-0.webp"); }
.vis-6 { background-image: url("assets/work/3d-motion/neo-ad-poster.webp"); }
.contact-mini { display: flex; flex-direction: column; gap: 10px; margin: 22px 0 26px; color: var(--trust-text); font-size: 14px; }
.contact-mini i { color: var(--lime); width: 18px; }
.contact-mini a:hover { color: var(--lime); }
.grid.c2 { grid-template-columns: repeat(2, 1fr); }
.grid.c5 { grid-template-columns: repeat(5, 1fr); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.chips span, .tagrow span { padding: 6px 14px; border-radius: 999px; font-size: 12px; font-weight: 500; border: 1px solid rgba(255,255,255,0.2); color: var(--trust-text); }
.card.light .chips span { border-color: rgba(0,13,79,0.25); color: var(--pill-dark); }
.card h3 + p { margin-top: 2px; }
.tagrow { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.tagrow span { padding: 4px 10px; font-size: 11px; letter-spacing: 0.04em; text-transform: uppercase; }
.checks.one { grid-template-columns: 1fr; margin: 8px 0 0; }
.via { margin-top: 14px; color: var(--muted); font-size: 13px; }
.intern { text-align: center; }
.intern .n { color: rgba(222,224,237,0.22); }
.intern h3 { font-size: 15px; }
@media (max-width: 900px) {
  .grid.c5 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 560px) {
  .grid.c5 { grid-template-columns: repeat(2, 1fr); }
  .grid.c2 { grid-template-columns: 1fr; }
}
.crumbs { position: relative; z-index: 1; padding-top: 6px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; font-size: 12.5px; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .5; }
.crumbs a:hover { color: var(--lime); }
.crumbs [aria-current] { color: var(--trust-text); }
.page-hero.tight { padding-top: clamp(20px, 4vw, 44px); }
.section.tightb { padding: clamp(28px, 5vw, 56px) 0; }
.page-hero h1 { max-width: 980px; margin-left: auto; margin-right: auto; font-size: clamp(30px, 5.6vw, 68px); }
.wrap.narrow { max-width: 820px; }
.hero-img { width: 100%; height: auto; aspect-ratio: 3 / 2; max-height: 460px; object-fit: cover; border-radius: 30px; border: 1px solid var(--trust-border); margin-bottom: 26px; display: block; }
.prose-p { color: var(--trust-text); opacity: .88; line-height: 1.8; font-size: clamp(15px, 1.5vw, 17px); margin-bottom: 18px; }
.prose-p a, .art-cta a:not(.btn), .seo-cols a { color: var(--lime); }
.prose-p a:hover, .seo-cols a:hover { text-decoration: underline; }
.prose-p.centered { text-align: center; max-width: 720px; margin: 28px auto 0; }
.checks.wide { grid-template-columns: repeat(3, 1fr); gap: 14px 24px; max-width: 900px; margin: 0 auto; }
.mini-h { text-align: center; margin: 36px 0 14px; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.chips.center { justify-content: center; }
.more { display: inline-block; margin-top: 14px; color: var(--lime); font-weight: 600; font-size: 13.5px; }
.card.light .more { color: var(--blue-1); }
a.card:hover .more i { transform: translateX(4px); }
.more i { transition: transform .25s var(--ease); }
.svc h2 a:hover { color: var(--lime); }
.svc .btn + .btn { margin-left: 8px; }
a.svc-vis { display: block; }
.post img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 18px; margin-bottom: 14px; display: block; }
.post time, .art-head time { font-size: 12px; color: var(--muted); letter-spacing: .04em; }
.post h2, .post h3 { font-size: 18px; margin: 6px 0 8px; }
.art-head h1 { font-family: var(--font-sans); text-transform: none; letter-spacing: -0.03em; font-size: clamp(28px, 4.4vw, 46px); line-height: 1.12; font-weight: 600; margin: 8px 0 22px; }
.art-h { font-size: clamp(20px, 2.4vw, 26px); letter-spacing: -0.02em; margin: 30px 0 12px; }
.art-cta { margin: 34px 0; }
.art-cta h3 { margin-top: 0; }
.art-cta p { margin: 8px 0 16px; }
.more-list { padding-left: 20px; line-height: 2; }
.more-list a { color: var(--lime); }
.seo-home, .seo-faq { position: relative; z-index: 1; background: #0d0f1c; padding: clamp(48px, 8vw, 100px) 0 clamp(8px, 2vw, 24px); }
.seo-faq { padding-top: clamp(24px, 4vw, 48px); padding-bottom: clamp(24px, 4vw, 40px); }
.seo-home .eyebrow { margin-bottom: 14px; }
.seo-cols { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(20px, 4vw, 56px); align-items: start; }
.seo-cols p { color: var(--trust-text); opacity: .86; line-height: 1.8; margin-bottom: 16px; font-size: clamp(14.5px, 1.4vw, 16px); }
.why { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.why > div { padding: 18px; border-radius: 22px; background: var(--pill-dark); border: 1px solid rgba(255,255,255,.12); }
.why i { color: var(--pill-dark); background: var(--lime); width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 12px; font-size: 14px; }
.why h3 { font-size: 15px; margin-bottom: 4px; }
.why p { font-size: 12.5px !important; margin: 0 !important; opacity: .72 !important; line-height: 1.5 !important; }
.seo-home .wrap, .seo-faq .wrap { max-width: 1150px; margin: 0 auto; padding: 0 clamp(14px, 3vw, 32px); width: 100%; }
.seo-faq .grid.c3 { margin-top: 0; }
@media (max-width: 900px) {
  .seo-cols { grid-template-columns: 1fr; }
  .checks.wide { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .checks.wide { grid-template-columns: 1fr; }
  .why { grid-template-columns: 1fr 1fr; }
  .svc .btn + .btn { margin: 8px 0 0; }
}
.crumbs a { display: inline-block; padding: 12px 2px; margin: -12px 0; }
.more { padding: 10px 0; }
.chips span, .tagrow span { min-height: 0; }
.faq summary { min-height: 52px; }
.modal-close { width: 44px; height: 44px; }
.info { min-height: 64px; }
.hero-img { content-visibility: auto; }
.eyebrow em, .svc-tag, .case-cat, .card .n, .more { color: var(--light); }
.card.light .n, .card.light .more { color: var(--blue-1); }
.crumbs { --x: 0; }
.inner-top .header { position: fixed; z-index: 60; }
.inner-top { position: relative; z-index: 60; }

/* ---- Gallery ---- */
.filters .chip span { opacity: .6; font-weight: 500; margin-left: 4px; }
.g-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); grid-auto-rows: 8px; grid-auto-flow: dense; gap: 14px; }
.g-item { position: relative; display: block; width: 100%; height: 100%; padding: 0; border: 1px solid rgba(255,255,255,.1); border-radius: 22px; overflow: hidden; cursor: pointer; background: var(--pill-dark); color: #fff; font-family: var(--font-sans); text-align: left; transition: transform .35s var(--ease), border-color .3s; }
.g-item:hover, .g-item:focus-visible { transform: translateY(-4px); border-color: rgba(227,255,59,.55); }
.g-item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.g-item:hover img { transform: scale(1.05); }
.g-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 36px 14px 12px; background: linear-gradient(180deg, transparent, rgba(13,15,28,.9)); opacity: 0; transition: opacity .3s; display: flex; flex-direction: column; gap: 2px; }
.g-item:hover .g-cap, .g-item:focus-visible .g-cap { opacity: 1; }
.g-cap b { font-size: 13px; font-weight: 600; }
.g-cap small { font-size: 11px; color: var(--light); opacity: .8; }
@media (hover: none) { .g-cap { opacity: 1; } }
.g-play { position: absolute; top: 12px; left: 12px; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--lime); color: var(--pill-dark); font-size: 12px; padding-left: 2px; }
.g-dur { position: absolute; top: 14px; right: 12px; padding: 3px 8px; border-radius: 999px; background: rgba(13,15,28,.75); font-size: 11px; font-weight: 600; }
.g-count { text-align: center; color: var(--muted); font-size: 13px; margin-top: 22px; }
.g-more { text-align: center; margin-top: 12px; }
dialog.lightbox { width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; margin: 0; padding: clamp(56px, 8vh, 80px) clamp(12px, 5vw, 72px) 64px; border: 0; background: rgba(8, 9, 20, .94); color: #fff; overflow: hidden; }
dialog.lightbox[open] { display: flex; align-items: center; justify-content: center; animation: fadeIn .3s ease both; }
dialog.lightbox::backdrop { background: rgba(0,0,0,.85); }
.lb-stage { width: 100%; height: 100%; display: grid; place-items: center; }
.lb-stage img, .lb-stage video { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 18px; background: #000; }
.lb-btn { position: absolute; width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; background: rgba(0,13,79,.85); color: #fff; font-size: 16px; cursor: pointer; z-index: 3; transition: background .2s, color .2s; }
.lb-btn:hover { background: var(--lime); color: var(--pill-dark); }
.lb-close { top: 14px; right: 14px; }
.lb-nav { top: 50%; margin-top: -24px; }
.lb-prev { left: 12px; } .lb-next { right: 12px; }
.lb-cap { position: absolute; left: 0; right: 0; bottom: 12px; text-align: center; display: flex; flex-direction: column; gap: 2px; padding: 0 70px; }
.lb-cap b { font-size: 14px; font-weight: 600; } .lb-cap small { color: var(--muted); font-size: 12px; }
@media (max-width: 560px) { .g-grid { grid-template-columns: 1fr 1fr; gap: 10px; } .g-item { border-radius: 16px; } .g-cap b { font-size: 12px; } .lb-nav { top: auto; bottom: 8px; margin: 0; } .lb-cap { padding: 0 64px; bottom: 14px; } }
/* case-study modal: real video in place of the picture */
.modal-img { position: relative; overflow: hidden; }
.modal-img video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #000; }
.more-gallery { text-align: center; margin-top: 28px; }

/* ---- Service pages: selected work ---- */
.work-lead { color: var(--muted); max-width: 640px; margin: 0 0 28px; }
.work-lead b { color: var(--lime); font-weight: 600; }
.work-sub { font-family: var(--font-display); font-weight: 400; font-size: clamp(22px, 3vw, 32px); margin: 44px 0 16px; letter-spacing: -0.02em; }
.w-tile { position: relative; display: block; padding: 0; border: 1px solid rgba(255,255,255,.1); border-radius: 22px; overflow: hidden; background: #0d0f1f; cursor: pointer; color: #fff; transition: transform .35s ease, border-color .2s; }
.w-tile:hover { transform: translateY(-3px); border-color: var(--lime); }
.w-tile img, .w-tile video { width: 100%; height: 100%; object-fit: cover; display: block; }
.w-badge { position: absolute; left: 12px; bottom: 12px; padding: 5px 11px; border-radius: 999px; background: rgba(0,13,79,.82); font-size: 12px; font-weight: 600; backdrop-filter: blur(6px); }
.w-badge i { color: var(--lime); font-size: 10px; margin-right: 4px; }
.w-featured { aspect-ratio: 16 / 9; width: 100%; border-radius: 28px; }
.reel-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.reel-row .w-tall { aspect-ratio: 9 / 16; }
.reel-row .w-wide { aspect-ratio: 16 / 9; grid-column: span 2; }
.reel-row .w-sq { aspect-ratio: 1 / 1; }
.wall { columns: 3; column-gap: 14px; }
.wall .w-tile { width: 100%; margin: 0 0 14px; break-inside: avoid; border-radius: 18px; }
.wall .w-tile img { height: auto; }
@media (max-width: 760px) {
  .w-featured { border-radius: 20px; }
  .reel-row { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin: 0 -16px; padding: 0 16px 8px; }
  .reel-row .w-tile { flex: 0 0 62%; scroll-snap-align: start; }
  .reel-row .w-wide { flex-basis: 86%; }
  .wall { columns: 2; column-gap: 10px; }
}
.g-item.g-wide { grid-column: span 2; }
@media (max-width: 560px) { .g-grid { grid-template-columns: 1fr 1fr; gap: 10px; } .g-item.g-wide { grid-column: span 2; } }
.w-sound, .g-snd { position: absolute; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: rgba(0,13,79,.85); color: #fff; font-size: 14px; z-index: 2; }
.w-sound { right: 12px; bottom: 12px; cursor: pointer; transition: background .2s, color .2s; }
.w-sound:hover, .w-sound[aria-pressed="true"] { background: var(--lime); color: var(--pill-dark); }
.g-snd { right: 12px; bottom: 12px; width: 28px; height: 28px; font-size: 12px; }

/* ---- film player ---- */
dialog.lightbox { padding-bottom: 96px; }
.vp { position: relative; display: inline-block; max-width: 100%; line-height: 0; border-radius: 22px; overflow: hidden; background: #000; box-shadow: 0 30px 80px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.12); }
.vp video { display: block; max-width: 100%; max-height: calc(100dvh - 190px); width: auto; height: auto; border-radius: 0; background: #000; }
.vp:fullscreen { border-radius: 0; display: grid; place-items: center; }
.vp:fullscreen video { max-height: 100vh; max-width: 100vw; }
.vp-big { position: absolute; inset: 0; margin: auto; width: 84px; height: 84px; border: 0; border-radius: 50%; background: var(--lime); color: var(--pill-dark); font-size: 26px; padding-left: 5px; cursor: pointer; display: grid; place-items: center; box-shadow: 0 10px 40px rgba(227,255,59,.35); transition: transform .25s var(--ease), opacity .3s; opacity: 0; transform: scale(.8); pointer-events: none; }
.vp.is-paused .vp-big { opacity: 1; transform: none; pointer-events: auto; }
.vp.is-paused .vp-big:hover { transform: scale(1.08); }
.vp:not(.is-paused) .vp-big { pointer-events: auto; opacity: 0; width: 100%; height: 100%; border-radius: 0; background: none; box-shadow: none; }
.vp-bar { position: absolute; left: 12px; right: 12px; bottom: 12px; display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 999px; background: rgba(13,15,28,.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid rgba(255,255,255,.14); color: #fff; font: 600 12px/1 var(--font-sans); opacity: 0; transform: translateY(8px); transition: opacity .3s, transform .3s; z-index: 2; }
.vp.show .vp-bar, .vp.is-paused .vp-bar, .vp:focus-within .vp-bar { opacity: 1; transform: none; }
.vp-bar button { width: 32px; height: 32px; flex: none; display: grid; place-items: center; border: 0; border-radius: 50%; background: transparent; color: #fff; font-size: 13px; cursor: pointer; transition: background .2s, color .2s; }
.vp-bar button:hover { background: var(--lime); color: var(--pill-dark); }
.vp-bar .vp-play { background: var(--lime); color: var(--pill-dark); }
.vp-time { font-variant-numeric: tabular-nums; white-space: nowrap; opacity: .9; } .vp-time b { color: var(--lime); font-weight: 700; } .vp-time em { font-style: normal; opacity: .75; }
.vp-seek { position: relative; flex: 1; height: 18px; cursor: pointer; touch-action: none; min-width: 40px; }
.vp-seek::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 4px; border-radius: 4px; background: rgba(255,255,255,.25); }
.vp-fill { position: absolute; left: 0; top: 7px; height: 4px; width: 0; border-radius: 4px; background: linear-gradient(90deg, #3A4EFB, #33A4FA 55%, var(--lime)); }
.vp-knob { position: absolute; top: 3px; left: 0; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px rgba(227,255,59,.25); }
.vp-seek:focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; border-radius: 6px; }
@media (max-width: 560px) {
  dialog.lightbox { padding: 64px 10px 92px; }
  .vp { border-radius: 18px; }
  .vp-bar { left: 8px; right: 8px; bottom: 8px; gap: 6px; padding: 6px 8px; }
  .vp-big { width: 68px; height: 68px; font-size: 22px; }
}
/* pseudo full screen when the browser refuses real fullscreen */
dialog.lightbox.vp-max { padding: 0; }
dialog.lightbox.vp-max .lb-btn, dialog.lightbox.vp-max .lb-cap { display: none; }
.vp.is-max { position: fixed; inset: 0; z-index: 10; max-width: none; width: 100vw; height: 100dvh; border-radius: 0; display: grid; place-items: center; }
.vp.is-max video { max-height: 100dvh; max-width: 100vw; }
.modal-img .vp { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 0; box-shadow: none; display: grid; place-items: center; }
.modal-img .vp video { position: static; width: 100%; height: 100%; max-height: none; object-fit: contain; }
.modal-img .vp.is-max { position: fixed; z-index: 100; }

/* capsule always fits the frame, even on narrow portrait films */
.vp-bar { box-sizing: border-box; gap: 8px; padding: 6px 8px 6px 6px; overflow: hidden; max-width: calc(100% - 24px); }
.vp-bar button { width: 30px; height: 30px; }
.vp-seek { flex: 1 1 0; min-width: 0; }
.vp-time { flex: none; font-size: 11.5px; }
.vp:fullscreen video, .vp.is-max video { width: 100%; height: 100%; max-width: 100vw; max-height: 100dvh; object-fit: contain; }
.vp:fullscreen .vp-bar, .vp.is-max .vp-bar { left: 50%; right: auto; width: min(640px, calc(100% - 24px)); transform: translateX(-50%); bottom: max(16px, env(safe-area-inset-bottom)); }
.vp:fullscreen.show .vp-bar, .vp:fullscreen.is-paused .vp-bar, .vp.is-max.show .vp-bar, .vp.is-max.is-paused .vp-bar { transform: translateX(-50%); }
@media (max-width: 560px) { .vp-bar { left: 6px; right: 6px; max-width: calc(100% - 12px); gap: 6px; } .vp-time { font-size: 11px; } }

/* big player: fill the available height (portrait) or width (landscape) at the film's real shape */
dialog.lightbox { padding-top: 64px; padding-bottom: 84px; }
.vp.sized { --h: calc(100dvh - 150px); display: block; width: min(calc(var(--h) * var(--ar)), 100%, 1400px); aspect-ratio: var(--ar); height: auto; }
.vp.sized video { width: 100%; height: 100%; max-width: none; max-height: none; object-fit: cover; }
.vp.sized:fullscreen, .vp.sized.is-max { width: 100vw; height: 100dvh; aspect-ratio: auto; }
.vp.sized:fullscreen video, .vp.sized.is-max video { object-fit: contain; }
@media (max-width: 560px) { dialog.lightbox { padding: 60px 10px 84px; } .vp.sized { --h: calc(100dvh - 144px); } }

/* stills in the viewer: same framed, full-shape treatment as films */
.vp-img img { display: block; width: 100%; height: 100%; max-width: none; max-height: none; object-fit: cover; border-radius: 0; background: #0b0d1c; }

/* ---- Store stack: scroll-driven 3D deck of storefronts ---- */
.stk-track { height: 320vh; position: relative; }
.stk-stage { position: sticky; top: 0; height: 100vh; height: 100dvh; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: center; gap: clamp(20px, 4vw, 64px); padding: 72px clamp(16px, 5vw, 72px) 40px; max-width: 1280px; margin: 0 auto; overflow: hidden; }
.stk-deck { position: relative; perspective: 1500px; perspective-origin: 50% 30%; aspect-ratio: 16 / 11; width: 100%; transform-style: preserve-3d; }
.stk-card { position: absolute; inset: 0; border-radius: 22px; overflow: hidden; background: #f4f5fb; color: var(--pill-dark); border: 1px solid rgba(255,255,255,.18); box-shadow: 0 40px 80px rgba(0,0,0,.55); transform-origin: 50% 100%; will-change: transform, opacity; backface-visibility: hidden; cursor: pointer; }
.stk-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: var(--pill-dark); }
.stk-bar span { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.28); }
.stk-bar span:first-child { background: var(--lime); }
.stk-bar em { margin-left: 10px; font: 600 11px var(--font-sans); font-style: normal; color: rgba(255,255,255,.65); letter-spacing: .02em; }
.stk-site { padding: 14px 16px 16px; display: grid; gap: 12px; height: calc(100% - 33px); grid-template-rows: auto 1.25fr 1fr; }
.sk-nav { display: flex; align-items: center; gap: 10px; }
.sk-nav b { font: 400 15px var(--font-display); letter-spacing: -.02em; margin-right: auto; }
.sk-nav i { width: 34px; height: 6px; border-radius: 6px; background: #c8cbe0; }
.sk-nav u { width: 22px; height: 22px; border-radius: 50%; background: var(--pill-dark); }
.sk-hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 14px; min-height: 0; }
.sk-copy { display: flex; flex-direction: column; justify-content: center; gap: 8px; }
.sk-copy h4 { margin: 0; font: 400 clamp(20px, 2.6vw, 34px)/1 var(--font-display); letter-spacing: -.03em; }
.sk-copy p { margin: 0; height: 6px; border-radius: 6px; background: #c8cbe0; width: 80%; }
.sk-copy p + p { width: 58%; }
.sk-btn { width: 74px; height: 24px; border-radius: 999px; background: var(--pill-dark); margin-top: 4px; }
.sk-art { border-radius: 16px; min-height: 0; background: linear-gradient(135deg, #3A4EFB, #33A4FA); position: relative; overflow: hidden; }
.sk-art::after { content: ""; position: absolute; width: 56%; aspect-ratio: 1; right: 8%; bottom: -14%; border-radius: 50%; background: var(--lime); opacity: .95; }
.sk-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; min-height: 0; }
.sk-p { display: flex; flex-direction: column; gap: 6px; min-height: 0; }
.sk-p b { flex: 1; border-radius: 12px; background: #dfe1f0; min-height: 0; }
.sk-p u { height: 6px; width: 70%; border-radius: 6px; background: #c8cbe0; }
.v-a .sk-p b { background: linear-gradient(160deg, #e3ff3b, #c9e62a); }
.v-b .sk-art { background: linear-gradient(135deg, #000d4f, #3A4EFB); } .v-b .sk-art::after { background: #33A4FA; border-radius: 22% 78% 60% 40%; }
.v-b .sk-p b { background: linear-gradient(160deg, #cfd9ff, #8fb3ff); }
.v-c .sk-art { background: linear-gradient(135deg, #e3ff3b, #33A4FA); } .v-c .sk-art::after { background: var(--pill-dark); border-radius: 18%; }
.v-c .sk-p b { background: linear-gradient(160deg, #000d4f, #3A4EFB); }
.v-d .sk-art { background: linear-gradient(135deg, #33A4FA, #DEE0ED); } .v-d .sk-art::after { background: #3A4EFB; }
.v-d .sk-p b { background: linear-gradient(160deg, #DEE0ED, #a9b4ff); }
.stk-info { display: grid; gap: 12px; align-content: center; }
.stk-info small { font: 400 clamp(36px, 5vw, 64px) var(--font-display); color: var(--lime); letter-spacing: -.04em; }
.stk-info h3 { margin: 0; font: 400 clamp(26px, 3.4vw, 44px)/1.05 var(--font-display); letter-spacing: -.03em; }
.stk-info p { margin: 0; color: var(--muted); max-width: 46ch; }
.stk-pts { list-style: none; margin: 4px 0 8px; padding: 0; display: grid; gap: 8px; }
.stk-pts li { position: relative; padding-left: 24px; font-size: 14.5px; }
.stk-pts li::before { content: ""; position: absolute; left: 0; top: 4px; width: 12px; height: 12px; border-radius: 50%; background: var(--lime); }
.stk-info .btn { justify-self: start; }
.stk-info > * { transition: opacity .25s ease; }
.stk-info.swap > * { opacity: 0; }
.stk-dots { position: absolute; right: clamp(10px, 2vw, 28px); top: 50%; transform: translateY(-50%); display: grid; gap: 10px; }
.stk-dots button { width: 12px; height: 12px; padding: 0; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.55); background: transparent; cursor: pointer; transition: background .2s, transform .2s, border-color .2s; }
.stk-dots button.on { background: var(--lime); border-color: var(--lime); transform: scale(1.35); }
@media (max-width: 860px) {
  .stk-track { height: 300vh; }
  .stk-stage { grid-template-columns: 1fr; align-content: center; gap: 18px; padding: 70px 14px 28px; }
  .stk-deck { aspect-ratio: 16 / 12; max-width: 520px; margin: 0 auto; }
  .stk-info { text-align: left; gap: 8px; }
  .stk-info small { font-size: 34px; }
  .stk-info p { font-size: 14px; }
  .stk-pts li { font-size: 13.5px; }
  .stk-dots { right: 6px; }
}
@media (max-height: 640px) and (min-width: 861px) { .stk-info p, .stk-pts { display: none; } }
/* no motion: plain list instead of the scroll deck */
@media (prefers-reduced-motion: reduce) {
  .stk-track { height: auto; }
  .stk-stage { position: static; height: auto; display: block; padding: 0 16px; }
  .stk-deck { aspect-ratio: auto; display: grid; gap: 18px; perspective: none; }
  .stk-card { position: relative; inset: auto; aspect-ratio: 16 / 11; transform: none !important; opacity: 1 !important; }
  .stk-info, .stk-dots { display: none; }
}
.stk-deck { margin-top: 44px; }
@media (max-width: 860px) { .stk-deck { margin-top: 30px; } }

/* horizontal scrollbars (film reels, tab strips): slim brand-coloured pill instead of the grey system bar */
@supports not selector(::-webkit-scrollbar) { .reel-row, .wd-tablist { scrollbar-width: thin; scrollbar-color: var(--lime) rgba(255,255,255,.1); } }
.reel-row::-webkit-scrollbar, .wd-tablist::-webkit-scrollbar { height: 6px; }
.reel-row::-webkit-scrollbar-track, .wd-tablist::-webkit-scrollbar-track { background: rgba(255,255,255,.1); border-radius: 999px; margin: 0 16px; }
.reel-row::-webkit-scrollbar-thumb, .wd-tablist::-webkit-scrollbar-thumb { background: linear-gradient(90deg, #3A4EFB, #33A4FA 55%, var(--lime)); border-radius: 999px; }
.reel-row::-webkit-scrollbar-thumb:hover, .wd-tablist::-webkit-scrollbar-thumb:hover { background: var(--lime); }
.reel-row::-webkit-scrollbar-button, .wd-tablist::-webkit-scrollbar-button { display: none; width: 0; height: 0; }
.reel-row { padding-bottom: 16px; scroll-padding: 0 16px; }

/* reels: hide the plain scrollbar, show clear controls instead */
.reel-row { scrollbar-width: none !important; padding-bottom: 6px; }
.reel-row::-webkit-scrollbar { display: none; height: 0; }
@media (max-width: 760px) {
  .reel-row.is-scroll { -webkit-mask: linear-gradient(90deg, #000 0, #000 calc(100% - 40px), transparent); mask: linear-gradient(90deg, #000 0, #000 calc(100% - 40px), transparent); }
  .reel-row.is-scroll.at-end { -webkit-mask: none; mask: none; }
}
.reel-nav { display: flex; align-items: center; gap: 14px; margin: 14px 0 6px; }
.reel-nav[hidden] { display: none; }
.rn-hint { flex: none; display: inline-flex; align-items: center; gap: 8px; font: 600 12px var(--font-sans); letter-spacing: .02em; color: var(--light); }
.rn-hint i { color: var(--lime); font-size: 13px; animation: rnNudge 1.6s ease-in-out infinite; }
@keyframes rnNudge { 0%, 100% { transform: translateX(-3px); } 50% { transform: translateX(4px); } }
.rn-track { position: relative; flex: 1; height: 6px; border-radius: 6px; background: rgba(255,255,255,.12); overflow: hidden; min-width: 40px; }
.rn-fill { position: absolute; top: 0; bottom: 0; left: 0; width: 30%; border-radius: 6px; background: linear-gradient(90deg, #3A4EFB, #33A4FA 55%, var(--lime)); transition: left .15s linear, width .2s; }
.rn-btns { display: flex; gap: 8px; flex: none; }
.rn-btn { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255,255,255,.28); background: transparent; color: #fff; font-size: 15px; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s, opacity .2s; }
.rn-btn:hover:not(:disabled) { background: var(--lime); color: var(--pill-dark); border-color: var(--lime); transform: scale(1.06); }
.rn-btn:disabled { opacity: .3; cursor: default; }
@media (max-width: 520px) { .rn-hint { display: none; } }
@media (prefers-reduced-motion: reduce) { .rn-hint i { animation: none; } }

/* photo cards: full-bleed picture, frosted pill, title and two meta lines over a soft gradient */
.pc { position: relative; display: block; aspect-ratio: 3 / 4; border-radius: 28px; overflow: hidden; isolation: isolate; padding: 0; border: 0; background: #0d0f1c; color: #fff; text-align: left; cursor: pointer; font-family: var(--font-sans);
  transition: transform .35s var(--ease), box-shadow .35s; box-shadow: 0 18px 40px rgba(0,0,0,.28); }
.pc:hover, .pc:focus-visible { transform: translateY(-5px); box-shadow: 0 26px 52px rgba(0,0,0,.4); }
.pc:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; }
.pc > img, .pc > .pc-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; margin: 0; border-radius: 0; object-fit: cover; object-position: center; background-size: cover; background-position: center; transition: transform .7s var(--ease); }
.pc:hover > img, .pc:hover > .pc-bg { transform: scale(1.05); }
.pc::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8,10,24,.06) 0%, rgba(8,10,24,0) 38%, rgba(8,10,24,.82) 100%); pointer-events: none; }
.pc-pill { position: absolute; top: 16px; right: 16px; max-width: calc(100% - 32px); padding: 8px 16px; border-radius: 999px; background: rgba(255,255,255,.66); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: #1b1d2b; font: 500 13px/1.2 var(--font-sans); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pc-body { position: absolute; left: 20px; right: 20px; bottom: 20px; display: grid; gap: 6px; }
.pc-title { margin: 0; font: 600 clamp(20px, 2vw, 25px)/1.15 var(--font-sans); letter-spacing: -.02em; text-shadow: 0 2px 16px rgba(0,0,0,.35); }
.pc-line { display: flex; align-items: center; gap: 8px; font: 400 14px/1.35 var(--font-sans); color: rgba(255,255,255,.92); }
.pc-line b { font-weight: 400; opacity: .6; }
.pc-line i { color: var(--lime); font-size: 13px; transition: transform .25s var(--ease); }
.pc:hover .pc-line i.go { transform: translateX(4px); }
.pc-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.cases.pcs, .grid.pcs { gap: 20px; }
@media (max-width: 560px) { .pc { border-radius: 22px; } .pc-body { left: 14px; right: 14px; bottom: 14px; } .pc-pill { top: 12px; right: 12px; padding: 6px 12px; font-size: 12px; } .pc-title { font-size: 18px; } .pc-line { font-size: 12.5px; } }
@media (prefers-reduced-motion: reduce) { .pc, .pc > img, .pc > .pc-bg { transition: none; } .pc:hover { transform: none; } }
.pc > .pc-bg { background-size: cover !important; background-position: center !important; background-repeat: no-repeat !important; }
/* photo cards stay two across on phones, like the reference */
.cases, .grid.c3:has(.pc) { gap: 20px; }
@media (max-width: 960px) { .cases, .grid.c3:has(.pc) { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .cases, .grid.c3:has(.pc) { gap: 12px; } .pc .pc-line { flex-wrap: wrap; } }

/* photo cards v2: pictures keep their real shape (bento / masonry), just a title and one quiet line */
.pc { aspect-ratio: auto; display: block; border-radius: 22px; box-shadow: 0 14px 32px rgba(0,0,0,.25); }
.pc > img { position: static; z-index: auto; display: block; width: 100%; height: auto; transition: transform .7s var(--ease); }
.pc > .pc-bg { display: none; }
.pc::after { background: linear-gradient(180deg, rgba(8,10,24,0) 58%, rgba(8,10,24,.78) 100%); }
.pc-body { left: 18px; right: 18px; bottom: 16px; gap: 2px; }
.pc-title { font-size: clamp(16px, 1.5vw, 20px); text-shadow: 0 2px 14px rgba(0,0,0,.45); }
.pc-line { font-size: 12.5px; color: rgba(255,255,255,.8); }
.pc-line b { opacity: .5; }
.cases { display: block; column-count: 3; column-gap: 16px; }
.cases .case { width: 100%; margin: 0 0 16px; break-inside: avoid; }
.grid.c3:has(.pc) { align-items: start; }
.ab-team { display: block; column-count: 3; column-gap: 16px; }
.ab-team .ab-t.pc { width: 100%; margin: 0 0 16px; break-inside: avoid; aspect-ratio: auto; }
.ab-team .ab-t.pc .pc-line { font-size: 12.5px; line-height: 1.4; }
@media (max-width: 960px) { .cases, .ab-team { column-count: 2; } }
@media (max-width: 560px) {
  .cases, .ab-team { column-gap: 10px; }
  .cases .case, .ab-team .ab-t.pc { margin-bottom: 10px; border-radius: 16px; }
  .pc-body { left: 12px; right: 12px; bottom: 10px; }
  .pc-title, .ab-team .ab-t.pc .pc-title { font-size: 14.5px; }
  .pc-line, .ab-team .ab-t.pc .pc-line { font-size: 11.5px; }
}
.pc::after { background: linear-gradient(180deg, rgba(8,10,24,0) 30%, rgba(8,10,24,.55) 62%, rgba(8,10,24,.9) 100%); }
.pc-title { text-shadow: 0 1px 12px rgba(0,0,0,.7); }
/* blog cards: picture on top, text underneath (keeps long titles readable) */
.pc.post { background: none; box-shadow: none; overflow: visible; border-radius: 0; }
.pc.post::after { display: none; }
.pc.post > img { border-radius: 22px; box-shadow: 0 14px 32px rgba(0,0,0,.25); }
.pc.post:hover > img { transform: none; }
.pc.post .pc-body { position: static; padding: 14px 4px 0; gap: 6px; }
.pc.post .pc-title { text-shadow: none; font-size: clamp(16px, 1.6vw, 19px); }
.pc.post .pc-line { color: var(--muted); }
.pc.post:hover .pc-title { color: var(--lime); }

/* profile-style card (first used for the team) */
.pf { display: flex; flex-direction: column; padding: 14px 14px 16px; border-radius: 30px; background: #0b0c14; border: 1px solid rgba(255,255,255,.1); box-shadow: 0 24px 48px rgba(0,0,0,.35); color: #fff; }
.pf-pic { position: relative; overflow: hidden; border-radius: 22px; aspect-ratio: 1 / 1; background: #14172b; }
.pf-pic img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.pf-save { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(20,22,34,.72); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: #fff; font-size: 16px; cursor: pointer; transition: background .2s, color .2s, transform .2s; }
.pf-save:hover { transform: scale(1.06); }
.pf-save[aria-pressed="true"] { background: var(--lime); color: var(--pill-dark); }
.pf-name { margin: 18px 6px 0; display: flex; align-items: center; gap: 8px; font: 600 clamp(18px, 1.7vw, 21px)/1.2 var(--font-sans); letter-spacing: -.02em; }
.pf-name i { color: #33A4FA; font-size: 17px; flex: none; }
.pf-desc { margin: 8px 6px 0; color: rgba(255,255,255,.72); font-size: 14.5px; line-height: 1.55; }
.pf-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 18px 6px 0; padding: 0; }
.pf-stats div { display: grid; gap: 4px; justify-items: center; text-align: center; padding: 2px 6px; }
.pf-stats div + div { border-left: 1px solid rgba(255,255,255,.16); }
.pf-stats dd { margin: 0; order: -1; font: 600 15px/1.2 var(--font-sans); overflow-wrap: anywhere; }
.pf-stats dt { font: 400 12px var(--font-sans); color: rgba(255,255,255,.6); }
.pf-act { display: flex; gap: 10px; margin-top: auto; padding-top: 18px; }
.pf-btn { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; border-radius: 999px; background: #fff; color: #14161f; font: 600 15px var(--font-sans); transition: background .2s, transform .2s; }
.pf-btn:hover { background: var(--lime); transform: translateY(-1px); }
.pf-sq { display: grid; place-items: center; width: 52px; min-height: 52px; border-radius: 18px; background: #1b1d2b; color: #fff; transition: background .2s, color .2s; }
.pf-sq:hover { background: var(--lime); color: var(--pill-dark); }


.pf-pic { aspect-ratio: auto; }
.pf-pic img { height: auto; object-fit: initial; }
.pf-name { flex-wrap: wrap; }
.pf-name i { align-self: center; }
.pf-desc { flex: 0 0 auto; }
/* lists of profile cards flow as a masonry so every picture keeps its real shape */
.cases, .grid.c3:has(.pf) { display: block; column-count: 3; column-gap: 20px; }
.cases > *, .grid.c3:has(.pf) > .pf { break-inside: avoid; margin: 0 0 20px; width: 100%; }
@media (max-width: 960px) { .cases, .grid.c3:has(.pf) { column-count: 2; column-gap: 14px; } .cases > *, .grid.c3:has(.pf) > .pf { margin-bottom: 14px; } }
@media (max-width: 620px) {
  .cases, .grid.c3:has(.pf) { column-gap: 10px; }
  .cases > *, .grid.c3:has(.pf) > .pf { margin-bottom: 10px; }
  .pf { padding: 8px 8px 10px; border-radius: 20px; }
  .pf-pic { border-radius: 14px; }
  .pf-save { top: 6px; right: 6px; width: 34px; height: 34px; font-size: 13px; }
  .pf-name { margin: 12px 4px 0; font-size: 14px; gap: 5px; align-items: flex-start; } .pf-name i { font-size: 13px; margin-top: 2px; }
  .pf-desc { margin: 6px 4px 0; font-size: 12px; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .pf-stats { margin: 12px 2px 0; grid-template-columns: 1fr; gap: 6px; }
  .pf-stats div { grid-template-columns: 1fr auto; justify-items: stretch; text-align: left; align-items: baseline; padding: 0; }
  .pf-stats div + div { border-left: 0; border-top: 1px solid rgba(255,255,255,.12); padding-top: 6px; }
  .pf-stats dd { order: 0; font-size: 12px; } .pf-stats dt { font-size: 10.5px; order: 1; }
  .pf-act { gap: 6px; padding-top: 12px; }
  .pf-btn { min-height: 40px; font-size: 12.5px; gap: 6px; } .pf-sq { width: 40px; min-height: 40px; border-radius: 14px; font-size: 13px; }
}
/* short lists (guides, related services) keep their reading order: a normal grid, cards top-aligned */
.grid.c3:has(.pf) { display: grid; column-count: auto; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: start; }
.grid.c3:has(.pf) > .pf { margin: 0; }
@media (max-width: 960px) { .grid.c3:has(.pf) { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; } }
@media (max-width: 620px) { .grid.c3:has(.pf) { gap: 10px; } }

/* home: About the studio, decluttered (short lead, service chips, four quiet reasons) */
.st2-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.st2 .eyebrow { margin-bottom: 18px; }
.st2-title { margin: 0 0 18px; font: 600 clamp(28px, 4vw, 48px)/1.08 var(--font-sans); letter-spacing: -.035em; text-transform: none; }
.st2-title span { color: var(--lime); }
.st2-lead { margin: 0 0 24px; max-width: 52ch; color: var(--trust-text); opacity: .82; font-size: clamp(15px, 1.4vw, 17px); line-height: 1.65; }
.st2-links { list-style: none; margin: 0 0 24px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.st2-links a { display: inline-flex; align-items: center; min-height: 36px; padding: 6px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.2); color: var(--light); font: 500 13px var(--font-sans); transition: border-color .2s, color .2s, background .2s; }
.st2-links a:hover { border-color: var(--lime); color: var(--lime); }
.st2-more { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: #fff; font: 600 15px var(--font-sans); }
.st2-more i { color: var(--lime); transition: transform .25s var(--ease); }
.st2-more:hover i { transform: translateX(4px); }
.st2-why { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; border: 1px solid rgba(255,255,255,.1); border-radius: 24px; overflow: hidden; }
.st2-why li { display: grid; gap: 6px; align-content: start; padding: clamp(18px, 2.4vw, 28px); }
.st2-why li:nth-child(odd) { border-right: 1px solid rgba(255,255,255,.1); }
.st2-why li:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.1); }
.st2-why i { color: var(--lime); font-size: 18px; margin-bottom: 8px; }
.st2-why b { font: 600 15px/1.3 var(--font-sans); color: #fff; }
.st2-why span { color: var(--trust-text); opacity: .7; font-size: 13.5px; line-height: 1.5; }
@media (max-width: 860px) { .st2-grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .st2-why li { padding: 16px 14px; } .st2-why b { font-size: 14px; } .st2-why span { font-size: 12.5px; } }

/* service pages: intro block (picture + one lead sentence + three quiet points) */
.si-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.si-pic { margin: 0; overflow: hidden; border-radius: clamp(20px, 2.4vw, 28px); border: 1px solid rgba(255,255,255,.14); background: #0d0f1c; box-shadow: 0 24px 56px rgba(0,0,0,.35); }
.si-pic img { display: block; width: 100%; height: auto; }
.si-lead { margin: 0 0 clamp(20px, 3vw, 32px); font: 500 clamp(20px, 2.3vw, 28px)/1.35 var(--font-sans); letter-spacing: -.02em; color: #fff; }
.si-pts { list-style: none; margin: 0 0 clamp(20px, 3vw, 28px); padding: 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.si-pts li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 0 14px; align-items: start; padding: 16px 0; border-top: 1px solid rgba(255,255,255,.12); }
.si-pts li > i { grid-row: 1; margin-top: 3px; color: var(--lime); font-size: 18px; }
.si-pts li > div { display: grid; gap: 2px; }
.si-pts b { font: 600 16px/1.3 var(--font-sans); color: #fff; }
.si-pts span { color: var(--muted); font-size: 14.5px; line-height: 1.5; }
.si-note { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; max-width: 52ch; }
@media (max-width: 860px) { .si-grid { grid-template-columns: 1fr; } }

/* ===== service intro, cinematic version: sticky picture, words that light up as you read, numbered chapters ===== */
.svc-intro .si-grid { grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); align-items: start; gap: clamp(32px, 6vw, 96px); }
.svc-intro .si-pic { position: sticky; top: 104px; border-radius: clamp(24px, 3vw, 36px); box-shadow: 0 40px 90px rgba(0,0,0,.5); }
.svc-intro .si-pic img { transform-origin: 50% 50%; }
.si-lead { font: 600 clamp(26px, 3.4vw, 44px)/1.14 var(--font-sans); letter-spacing: -.035em; margin: 0 0 clamp(28px, 4vw, 48px); }
.si-lead .w { color: rgba(255,255,255,.2); transition: color .5s var(--spring, cubic-bezier(.16,1,.3,1)); }
.si-lead .w.on { color: #fff; }
.si-lead .w.on.hl { color: var(--lime); }
.svc-intro .si-pts { counter-reset: si; margin: 0 0 clamp(20px, 3vw, 32px); border-bottom: 0; }
.svc-intro .si-pts li { counter-increment: si; grid-template-columns: clamp(56px, 7vw, 84px) minmax(0, 1fr); gap: 0; padding: clamp(18px, 2.4vw, 28px) 0; border-top: 1px solid rgba(255,255,255,.16); align-items: baseline; transition: padding-left .5s var(--spring, cubic-bezier(.16,1,.3,1)); }
.svc-intro .si-pts li:last-child { border-bottom: 1px solid rgba(255,255,255,.16); }
.svc-intro .si-pts li > i { display: none; }
.svc-intro .si-pts li::before { content: "0" counter(si); font: 400 clamp(20px, 2.4vw, 30px)/1 var(--font-display); color: var(--lime); letter-spacing: -.04em; }
.svc-intro .si-pts b { font: 600 clamp(18px, 1.8vw, 22px)/1.25 var(--font-sans); letter-spacing: -.02em; }
.svc-intro .si-pts span { font-size: 15px; line-height: 1.55; }
@media (hover: hover) { .svc-intro .si-pts li:hover { padding-left: 10px; } }
.svc-intro .si-note { font-size: 13.5px; opacity: .9; }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .svc-intro .si-pic img { animation: siZoom linear both; animation-timeline: view(); animation-range: cover 0% cover 100%; }
    @keyframes siZoom { from { transform: scale(1.14); } to { transform: scale(1); } }
  }
}
@media (max-width: 860px) { .svc-intro .si-grid { grid-template-columns: 1fr; } .svc-intro .si-pic { position: static; } }

/* intro picture/video: no second border, no stray gap */
.si-pic .hero-img { border: 0; border-radius: 0; margin: 0; aspect-ratio: auto; max-height: none; }
.si-pic video, .si-pic .si-media { display: block; width: 100%; height: auto; margin: 0; border: 0; background: #0d0f1c; }

/* ===== What's included, redesigned: a quiet two-column ledger ===== */
html body .inc .wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); column-gap: clamp(32px, 6vw, 96px); align-items: start; }
html body .inc .section-title { grid-column: 1; grid-row: 1; margin: 0 0 20px; text-align: left; }
html body .inc .prose-p { grid-column: 1; grid-row: 2; margin: 0; text-align: left; max-width: 38ch; color: var(--muted); font-size: clamp(15px, 1.4vw, 17px); line-height: 1.65; }
html body .inc .checks.wide { grid-column: 2; grid-row: 1 / span 2; grid-template-columns: 1fr; gap: 0; max-width: none; margin: 0; border-bottom: 1px solid rgba(255,255,255,.14); }
html body .inc .checks.wide li { padding: clamp(16px, 2vw, 22px) 0 clamp(16px, 2vw, 22px) 44px; border-top: 1px solid rgba(255,255,255,.14); font: 600 clamp(17px, 1.9vw, 22px)/1.3 var(--font-sans); letter-spacing: -.02em; transition: padding-left .5s var(--spring, cubic-bezier(.16,1,.3,1)), color .3s; }
html body .inc .checks.wide li::before { left: 0; top: 50%; width: 22px; height: 22px; margin-top: -11px; transition: transform .5s var(--spring, cubic-bezier(.16,1,.3,1)); }
html body .inc .checks.wide li::after { left: 7.5px; top: 50%; margin-top: -6px; width: 5px; height: 9px; }
@media (hover: hover) { html body .inc .checks.wide li:hover { padding-left: 54px; color: var(--lime); } html body .inc .checks.wide li:hover::before { transform: scale(1.12); } }
@media (max-width: 860px) {
  html body .inc .wrap { grid-template-columns: 1fr; }
  html body .inc .section-title, html body .inc .prose-p, html body .inc .checks.wide { grid-column: 1; grid-row: auto; }
  html body .inc .checks.wide { margin: 24px 0; }
  html body .inc .prose-p { max-width: none; }
}

/* ===== service pages: Common use cases (2x2 colour cards) ===== */
.uc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 20px); margin-top: 8px; }
.uc { position: relative; display: flex; flex-direction: column; gap: 8px; min-height: clamp(220px, 22vw, 280px); padding: clamp(22px, 2.6vw, 32px); border-radius: clamp(22px, 2.6vw, 30px); overflow: hidden; color: #fff; background: #14172b; border: 1px solid rgba(255,255,255,.1); transition: transform .6s var(--spring, cubic-bezier(.16,1,.3,1)), box-shadow .6s var(--spring, cubic-bezier(.16,1,.3,1)); }
.uc::after { content: ""; position: absolute; right: -18%; bottom: -34%; width: 62%; aspect-ratio: 1; border-radius: 50%; background: rgba(255,255,255,.08); pointer-events: none; }
.uc-ico { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: auto; border-radius: 18px; background: rgba(255,255,255,.14); font-size: 22px; }
.uc h3 { margin: 24px 0 0; font: 600 clamp(19px, 2vw, 24px)/1.2 var(--font-sans); letter-spacing: -.02em; position: relative; z-index: 1; }
.uc p { margin: 0; max-width: 34ch; font-size: clamp(14px, 1.3vw, 15.5px); line-height: 1.55; opacity: .85; position: relative; z-index: 1; }
.uc-1 { background: linear-gradient(135deg, #3A4EFB, #33A4FA); border-color: transparent; }
.uc-2 { background: #F3FFB0; color: #000d4f; border-color: transparent; }
.uc-2 .uc-ico { background: #000d4f; color: var(--lime); } .uc-2::after { background: rgba(0,13,79,.07); }
.uc-3 { background: #DEE0ED; color: #000d4f; border-color: transparent; }
.uc-3 .uc-ico { background: #3A4EFB; color: #fff; } .uc-3::after { background: rgba(0,13,79,.07); }
.uc-4 { background: #14172b; }
.uc-4 .uc-ico { background: var(--lime); color: #000d4f; }
@media (hover: hover) { .uc:hover { transform: translateY(-6px); box-shadow: 0 28px 54px rgba(0,0,0,.4); } }
@media (max-width: 560px) {
  .uc { min-height: 0; padding: 16px; gap: 6px; }
  .uc-ico { width: 42px; height: 42px; font-size: 17px; border-radius: 14px; margin-bottom: 14px; }
  .uc h3 { margin-top: 0; font-size: 15.5px; }
  .uc p { font-size: 12.5px; line-height: 1.45; }
}

/* ===== service pages: Our process (a timeline you can read at a glance) ===== */
.proc { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2vw, 28px); counter-reset: none; position: relative; }
.proc::before { content: ""; position: absolute; left: 28px; right: 28px; top: 27px; height: 2px; background: linear-gradient(90deg, #3A4EFB, #33A4FA 55%, var(--lime)); opacity: .55; }
.proc-step { position: relative; display: grid; gap: 6px; align-content: start; padding: 0; }
.proc-n { position: relative; z-index: 1; display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 14px; border-radius: 50%; background: #0d0f1c; border: 2px solid var(--lime); color: var(--lime); font: 400 19px var(--font-display); letter-spacing: -.03em; box-shadow: 0 0 0 8px #0d0f1c; transition: background .4s, color .4s, transform .5s var(--spring, cubic-bezier(.16,1,.3,1)); }
.proc-step:hover .proc-n { background: var(--lime); color: #000d4f; transform: scale(1.08); }
.proc-step h3 { margin: 0; font: 600 clamp(17px, 1.7vw, 20px)/1.25 var(--font-sans); letter-spacing: -.02em; }
.proc-step p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.55; max-width: 28ch; }
.tools { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 16px; margin-top: clamp(28px, 4vw, 48px); padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); }
.tools-l { color: var(--muted); font: 600 13px var(--font-sans); letter-spacing: .08em; text-transform: uppercase; }
.tools .chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.tools .chips span { padding: 8px 16px; border-radius: 999px; border: 1px solid rgba(255,255,255,.18); font: 500 13.5px var(--font-sans); color: var(--light); }
@media (max-width: 860px) {
  .proc { grid-template-columns: 1fr; gap: 0; }
  .proc::before { left: 27px; right: auto; top: 28px; bottom: 28px; width: 2px; height: auto; background: linear-gradient(180deg, #3A4EFB, #33A4FA 55%, var(--lime)); }
  .proc-step { grid-template-columns: 56px minmax(0, 1fr); column-gap: 18px; padding-bottom: 28px; }
  .proc-step:last-child { padding-bottom: 0; }
  .proc-n { grid-row: 1 / span 2; margin: 0; }
  .proc-step h3 { align-self: end; padding-top: 4px; } .proc-step p { max-width: none; }
}

/* ===== polish: bolder use-case bento + process cards with a line that fills as you scroll ===== */
.uc-ico { box-shadow: 0 10px 24px rgba(0,0,0,.18); }
.uc .uc-ico i { transition: transform .6s var(--spring, cubic-bezier(.16,1,.3,1)); }
@media (hover: hover) { .uc:hover .uc-ico i { transform: scale(1.18) rotate(-8deg); } }
.uc::before { content: attr(data-n); position: absolute; right: clamp(18px, 2vw, 28px); top: clamp(14px, 1.6vw, 22px); font: 400 clamp(40px, 5vw, 72px)/1 var(--font-display); letter-spacing: -.05em; opacity: .12; pointer-events: none; }
.uc-1::before { content: "01"; } .uc-2::before { content: "02"; } .uc-3::before { content: "03"; } .uc-4::before { content: "04"; }
@media (min-width: 861px) {
  .uc-grid { grid-template-columns: 1.15fr 1fr 1fr; grid-template-rows: repeat(2, minmax(230px, auto)); }
  .uc-1 { grid-column: 1; grid-row: 1 / span 2; justify-content: flex-end; }
  .uc-1 .uc-ico { width: 84px; height: 84px; font-size: 34px; border-radius: 26px; }
  .uc-1 h3 { font-size: clamp(24px, 2.6vw, 34px); }
  .uc-1 p { font-size: 16px; max-width: 30ch; }
  .uc-2 { grid-column: 2 / span 2; grid-row: 1; }
  .uc-3 { grid-column: 2; grid-row: 2; } .uc-4 { grid-column: 3; grid-row: 2; }
}

/* process: each step is a soft card; the connecting line fills with scroll */
.proc-step { padding: 0; }
@media (min-width: 861px) {
  .proc::before { opacity: .22; }
  .proc::after { content: ""; position: absolute; left: 28px; right: 28px; top: 27px; height: 2px; background: linear-gradient(90deg, #3A4EFB, #33A4FA 55%, var(--lime)); transform-origin: 0 50%; transform: scaleX(1); }
  .proc-step { padding: 0 0 0; }
  .proc-step h3, .proc-step p { padding-left: 2px; }
  .proc-step::after { content: attr(data-n); position: absolute; right: 0; top: 72px; font: 400 64px/1 var(--font-display); color: rgba(255,255,255,.05); letter-spacing: -.05em; pointer-events: none; }
}
@supports (animation-timeline: view()) {
  @media (min-width: 861px) and (prefers-reduced-motion: no-preference) {
    .proc::after { animation: procFill linear both; animation-timeline: view(); animation-range: entry 20% cover 55%; }
    @keyframes procFill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
  }
  @media (max-width: 860px) and (prefers-reduced-motion: no-preference) {
    .proc::before { transform-origin: 50% 0; animation: procFillY linear both; animation-timeline: view(); animation-range: entry 20% cover 60%; opacity: .9; }
    @keyframes procFillY { from { transform: scaleY(0); } to { transform: scaleY(1); } }
  }
}
.proc-n { width: 60px; height: 60px; font-size: 20px; }
.proc-step h3 { font-size: clamp(18px, 1.9vw, 22px); }

.vis-7 { background-image: url("assets/work/graphics/group-2085664886-t.webp"); }
.vis-8 { background-image: url("assets/web/site-10.webp"); }
.vis-9 { background-image: url("assets/work/graphics/apple-pay.webp"); }
.vis-10 { background-image: url("assets/work/graphics/behind-the-phone.webp"); }

/* related services: four cards across on desktop, two across below that */
.grid.c3:has(.pf:nth-child(4)) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) { .grid.c3:has(.pf:nth-child(4)) { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- one video UI everywhere: duration pill + sound circle on tiles, floating pill player ---------- */
.w-badge, .g-dur { position: absolute; left: 8px; right: auto; top: auto; bottom: 8px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 11px 0 9px; border-radius: 99px; background: rgba(20,22,40,.82); color: #fff; font: 600 12px/1 var(--font-sans); font-variant-numeric: tabular-nums; backdrop-filter: none; transition: background .25s, color .25s; }
.w-badge i { margin: 0; font-size: 10px; color: var(--lime); }
.g-dur::before { content: "\f04b"; font: 900 10px/1 "Font Awesome 6 Free"; color: var(--lime); }
.g-play { display: none; }
.g-item.is-video .g-cap { padding-bottom: 50px; }
.w-sound, .g-snd { right: 8px; bottom: 8px; top: auto; width: 30px; height: 30px; font-size: 13px; background: rgba(20,22,40,.82); }
.g-snd { font-size: 12px; }
.w-tile:hover .w-badge, .g-item:hover .g-dur { background: var(--lime); color: var(--pill-dark); }
.w-tile:hover .w-badge i, .g-item:hover .g-dur::before { color: var(--pill-dark); }

.vp-bar { background: rgba(18,20,34,.86); border: 0; padding: 6px 8px 6px 6px; gap: 8px; }
.vp-bar button { width: 36px; height: 36px; font-size: 15px; }
.vp-bar .vp-play { width: 42px; height: 42px; font-size: 16px; }
.vp-time { font-size: 13px; opacity: 1; }
.vp-time em { opacity: 1; }
.vp-time b { font-weight: 600; }
.vp-fill { background: var(--lime); }
.vp-knob { width: 16px; height: 16px; margin-left: -8px; top: 1px; box-shadow: 0 0 0 5px rgba(227,255,59,.28); }
.vp-seek::before { height: 4px; }
.vp-seek, .vp-fill { }
.vp-big { width: 76px; height: 76px; }

/* intro video on service pages opens in the same player */
.si-pic.is-playable { position: relative; top: auto; cursor: zoom-in; }
.svc-intro .si-pic.is-playable { position: sticky; top: 104px; }
@media (max-width: 860px) { .svc-intro .si-pic.is-playable { position: relative; top: auto; } }
.si-pic.is-playable .vlb-pill { left: 12px; bottom: 12px; }
.si-pic.is-playable .vlb-snd { right: 12px; bottom: 12px; }
@media (max-width: 560px) { .vp-bar button { width: 32px; height: 32px; font-size: 13px; } .vp-bar .vp-play { width: 38px; height: 38px; } .vp-time { font-size: 12px; } .vp-bar { gap: 6px; } }

/* play triangle: drawn so its visual centre sits in the middle of the circle (no padding hacks) */
.vp .fa-play, .w-badge .fa-play { padding: 0 !important; }
.vp .fa-play::before, .w-badge .fa-play::before { content: ""; display: block; width: .62em; height: .74em; background: currentColor; clip-path: polygon(0 0, 100% 50%, 0 100%); border-radius: 0; transform: translateX(.1em); }
.vp-big, .vp-play { padding: 0 !important; display: grid; place-items: center; }
.vp-big .fa-play, .vp-play .fa-play { display: block; line-height: 1; }
/* play/pause buttons 15% smaller */
.vp-big { width: 65px; height: 65px; font-size: 22px; }
.vp-bar .vp-play { width: 36px; height: 36px; font-size: 14px; }
@media (max-width: 560px) { .vp-big { width: 58px; height: 58px; font-size: 19px; } .vp-bar .vp-play { width: 32px; height: 32px; font-size: 13px; } }

/* films & reels: cleaner control pill and an expandable grid */
.reel-nav { display: block; margin: 18px 0 8px; }
.rn-hint { display: none; }
.rn-pill { display: flex; align-items: center; gap: 12px; padding: 6px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); }
.rn-pill .rn-track { height: 4px; background: rgba(255,255,255,.16); }
.rn-pill .rn-fill { background: var(--lime); }
.rn-count { flex: none; min-width: 64px; text-align: center; font: 600 12px/1 var(--font-sans); font-variant-numeric: tabular-nums; color: var(--light); white-space: nowrap; }
.rn-pill .rn-btn { width: 40px; height: 40px; border: 0; background: rgba(255,255,255,.1); }
.rn-pill .rn-btn.rn-next { background: var(--lime); color: var(--pill-dark); }
.rn-pill .rn-btn:hover:not(:disabled) { background: #fff; color: var(--pill-dark); transform: scale(1.06); }
.rn-pill .rn-btn:disabled { opacity: .3; }
.reel-row.is-expanded { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); overflow: visible; margin: 0; padding: 0; scroll-snap-type: none; -webkit-mask: none; mask: none; gap: 12px; }
.reel-row.is-expanded .w-tile { flex: none; width: auto; }
@media (min-width: 900px) { .reel-row.is-expanded { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; } }
#svcReelsMore { min-height: 44px; }

/* featured case study (UI/UX page) */
.cs .eyebrow { display: table; margin: 0 auto 14px; }
.cs .section-title { margin-bottom: 18px; }
.cs-lead { max-width: 60ch; margin: 0 auto 26px; text-align: center; color: var(--muted); font-size: clamp(15px, 1.4vw, 17px); line-height: 1.7; }
.cs-meta { list-style: none; margin: 0 auto 28px; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.cs-meta li { padding: 10px 16px; border-radius: 12px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); display: flex; flex-direction: column; gap: 4px; }
.cs-meta small { font: 600 10.5px/1 var(--font-sans); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.cs-meta b { font: 600 14px/1.2 var(--font-sans); color: #fff; }
.cs-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, 1.6vw, 18px); margin-bottom: 28px; }
.cs-stat { padding: clamp(16px, 2vw, 24px); border-radius: 18px; background: #fff; color: var(--pill-dark); display: flex; flex-direction: column; gap: 6px; }
.cs-stat small { font: 600 11px/1.2 var(--font-sans); letter-spacing: .06em; text-transform: uppercase; color: rgba(0,13,79,.6); }
.cs-stat b { font: 600 clamp(30px, 4vw, 48px)/1 var(--font-sans); letter-spacing: -.04em; color: #3A4EFB; }
.cs-stat span { font-size: 13px; color: rgba(0,13,79,.72); }
.cs-body { max-width: 72ch; margin: 0 auto 32px; text-align: center; color: var(--light); font-size: clamp(14.5px, 1.3vw, 16.5px); line-height: 1.75; }
.cs-slides { display: flex; flex-direction: column; gap: clamp(12px, 2vw, 22px); max-width: 1100px; margin: 0 auto; }
.cs-slide { margin: 0; border-radius: clamp(14px, 2vw, 24px); overflow: hidden; border: 1px solid rgba(255,255,255,.12); background: #0d1612; }
.cs-slide img { display: block; width: 100%; height: auto; }
.cs-link { text-align: center; margin: 28px 0 0; }
@media (max-width: 700px) { .cs-stats { grid-template-columns: 1fr; } .cs-stat { flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; } .cs-stat small { flex-basis: 100%; } }

/* case studies: one section per project */
.cs-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0 auto 8px; }
.cs-nav a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 16px 8px 8px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); color: #fff; text-decoration: none; font: 600 14px/1.2 var(--font-sans); transition: background .25s, color .25s, transform .35s var(--ease); }
.cs-nav a b { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--lime); color: var(--pill-dark); font: 600 12px/1 var(--font-sans); }
.cs-nav a:hover { background: #fff; color: var(--pill-dark); transform: translateY(-2px); }
.cs-proj { margin-top: clamp(48px, 7vw, 88px); padding-top: clamp(32px, 5vw, 56px); border-top: 1px solid rgba(255,255,255,.12); scroll-margin-top: 96px; }
.cs-head { text-align: center; margin-bottom: 22px; }
.cs-head .cs-lead { margin: 12px auto 0; }
.cs-num { display: inline-block; padding: 6px 12px; border-radius: 999px; background: var(--lime); color: var(--pill-dark); font: 600 11px/1 var(--font-sans); letter-spacing: .08em; text-transform: uppercase; }
.cs-head h3 { margin: 14px 0 0; font: 600 clamp(26px, 4vw, 44px)/1.08 var(--font-sans); letter-spacing: -.04em; color: #fff; }
.cs-principles { list-style: none; margin: 0 auto 26px; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(10px, 1.6vw, 16px); }
.cs-principles li { padding: 16px; border-radius: 16px; background: #fff; color: var(--pill-dark); display: flex; flex-direction: column; gap: 10px; }
.cs-principles b { font: 600 22px/1 var(--font-sans); letter-spacing: -.03em; color: #3A4EFB; }
.cs-principles span { font: 600 14px/1.35 var(--font-sans); }
.cs-slide.tall { max-width: 820px; width: 100%; margin-inline: auto; }
@media (max-width: 820px) { .cs-principles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .cs-nav a { width: 100%; } }
