/* Whpitz Digital — studio-white base for all mockups */
:root {
  --ink: #0e0e10;
  --ink-2: #4b4b52;
  --ink-3: #9a9aa3;
  --line: #e9e9ec;
  --paper: #ffffff;
  --paper-2: #f6f6f7;
  --accent: #2b5cff;
  --head: Futura, "Futura PT", "Avenir Next", sans-serif;
  --body: Inter, -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: auto; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
.wrap { width: min(1240px, 92vw); margin: 0 auto; }
.wm { font-family: var(--head); font-weight: 700; letter-spacing: -0.035em; line-height: .85; }
.wm small { display: block; font-size: .235em; letter-spacing: .32em; text-align: right; margin-top: .14em; }
.eyebrow { font: 500 12px/1 var(--body); letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3); }
h2 { font: 700 clamp(28px, 4vw, 44px)/1.05 var(--head); letter-spacing: -0.02em; margin: 0 0 20px; }
p.lede { font: 400 clamp(17px, 1.6vw, 21px)/1.5 var(--body); color: var(--ink-2); max-width: 56ch; margin: 0; }
nav.top { position: fixed; inset: 0 0 auto 0; height: 64px; display: flex; align-items: center; justify-content: space-between; padding: 0 4vw; z-index: 50; background: rgba(255,255,255,.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s; }
nav.top.scrolled { border-bottom-color: var(--line); }
nav.top .brand { font-family: var(--head); font-weight: 700; font-size: 20px; letter-spacing: -0.03em; opacity: 0; transition: opacity .3s; }
nav.top.scrolled .brand { opacity: 1; }
nav.top ul { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; font: 500 13px/1 var(--body); color: var(--ink-2); }
nav.top .cta { font: 600 13px/1 var(--body); padding: 10px 16px; border: 1px solid var(--ink); border-radius: 999px; }
section { padding: 120px 0; }
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.svc { background: var(--paper); padding: 34px 30px 38px; min-height: 220px; display: flex; flex-direction: column; justify-content: space-between; transition: background .25s; }
.svc:hover { background: var(--paper-2); }
.svc .n { font: 500 12px/1 var(--body); color: var(--ink-3); letter-spacing: .1em; }
.svc h3 { font: 700 22px/1.1 var(--head); letter-spacing: -0.02em; margin: 40px 0 10px; }
.svc p { margin: 0; font: 400 14px/1.55 var(--body); color: var(--ink-2); }
.marquee { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 26px 0; }
.marquee .track { display: flex; gap: 64px; white-space: nowrap; width: max-content; animation: mq 28s linear infinite; font: 700 22px/1 var(--head); letter-spacing: -0.02em; color: var(--ink-3); }
.marquee .track span b { color: var(--ink); }
@keyframes mq { to { transform: translateX(-50%); } }
footer { border-top: 1px solid var(--line); padding: 48px 0 60px; font: 400 13px/1.6 var(--body); color: var(--ink-3); display: flex; justify-content: space-between; align-items: flex-end; }
footer .big { font: 700 44px/1 var(--head); letter-spacing: -0.03em; color: var(--ink); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.about { padding: 48px 0 24px; }
.about-more { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.about-more summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 18px; padding: 18px 0; }
.about-more summary::-webkit-details-marker { display: none; }
.about-more .sum-line { font: 700 clamp(16px, 1.6vw, 20px)/1.2 var(--head); letter-spacing: -0.01em; color: var(--ink); }
.about-more .chev { margin-left: auto; width: 10px; height: 10px; border-right: 1.5px solid var(--ink-3); border-bottom: 1.5px solid var(--ink-3); transform: rotate(45deg); transition: transform .25s; flex: none; }
.about-more[open] .chev { transform: rotate(-135deg); }
.about-more .lede { max-width: 70ch; padding: 0 0 22px; font-size: 16px; }
@media (max-width: 640px) { .about-more summary { gap: 12px; } .about-more .sum-line { font-size: 15px; } }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.tag { position: fixed; left: 14px; bottom: 14px; z-index: 60; font: 600 11px/1 var(--body); letter-spacing: .12em; padding: 8px 10px; background: var(--ink); color: #fff; border-radius: 4px; }
@media (max-width: 800px) { .services { grid-template-columns: 1fr 1fr; } nav.top ul { display: none; } }
@media (max-width: 640px) {
  nav.top { height: 56px; padding: 0 5vw; }
  nav.top .brand { font-size: 18px; }
  nav.top .cta { padding: 9px 13px; font-size: 12px; }
  section { padding: 64px 0; }
  .wrap { width: 90vw; }
  h2 { font-size: clamp(26px, 8vw, 34px); }
  p.lede { font-size: 16px; }
  .services { grid-template-columns: 1fr; }
  .svc { min-height: 0; padding: 22px 20px 24px; }
  .svc h3 { margin-top: 18px; font-size: 20px; }
  .marquee { padding: 18px 0; } .marquee .track { font-size: 17px; gap: 40px; animation-duration: 22s; }
  footer { flex-direction: column; align-items: flex-start; gap: 18px; padding: 36px 0 44px; }
  footer .big { font-size: 34px; }
  .tag { left: 10px; bottom: 10px; font-size: 10px; }
  .grid2, .list, .cards, .two { grid-template-columns: 1fr !important; gap: 28px !important; }
  .grid2 > *, .list > *, .cards > *, .two > * { min-width: 0; }
  h2, p.lede, .svc p, footer div { overflow-wrap: anywhere; }
}
/* ── Platform logos — G2 clear glass chips on white ─────────────── */
.platforms { position: relative; }
.platforms h2 { margin-bottom: 28px; }
.platforms .tint { position: absolute; inset: -320px -14vw -360px; pointer-events: none; z-index: -1;
  background:
    radial-gradient(38% 42% at 18% 45%, rgba(120,160,255,.16), transparent 72%),
    radial-gradient(34% 40% at 78% 38%, rgba(190,150,255,.15), transparent 72%),
    radial-gradient(40% 38% at 55% 70%, rgba(140,230,210,.16), transparent 72%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 32%, #000 68%, transparent 100%);
          mask-image: linear-gradient(to bottom, transparent 0%, #000 32%, #000 68%, transparent 100%); }
.logo-grid { display: flex; flex-wrap: wrap; gap: 14px; }
.glass { position: relative; isolation: isolate; border-radius: 999px;
  background: linear-gradient(135deg, rgba(255,255,255,.85), rgba(255,255,255,.45));
  -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%);
  box-shadow: 0 1px 0 rgba(255,255,255,.9) inset, 0 -1px 0 rgba(0,0,0,.04) inset, 0 10px 30px -14px rgba(14,14,16,.25), 0 2px 6px -2px rgba(14,14,16,.08);
  transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s; }
.glass::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(135deg, rgba(255,255,255,.95), rgba(255,255,255,.25) 40%, rgba(255,255,255,.05) 60%, rgba(255,255,255,.7));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.glass::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(120% 80% at 20% 0%, rgba(255,255,255,.9), rgba(255,255,255,0) 45%), linear-gradient(160deg, rgba(255,255,255,0) 55%, rgba(255,255,255,.35) 70%, rgba(255,255,255,0) 80%); }
.glass:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 1px 0 rgba(255,255,255,.9) inset, 0 -1px 0 rgba(0,0,0,.04) inset, 0 22px 44px -18px rgba(14,14,16,.35), 0 4px 10px -4px rgba(14,14,16,.1); }
.chip { display: flex; align-items: center; gap: 12px; padding: 10px 18px 10px 10px; }
.chip .ic { width: 36px; height: 36px; border-radius: 999px; display: grid; place-items: center; position: relative; z-index: 1;
  background: radial-gradient(circle at 30% 25%, #fff, rgba(235,236,240,.9)); box-shadow: inset 0 1px 0 #fff, inset 0 -1px 2px rgba(0,0,0,.06), 0 2px 6px -2px rgba(0,0,0,.15); }
.chip .ic img { width: 18px; height: 18px; display: block; }
.chip > span:last-child { position: relative; z-index: 1; font: 500 13px/1 var(--body); color: var(--ink); }
@media (max-width: 640px) { .logo-grid { gap: 10px; } .chip { padding: 8px 14px 8px 8px; gap: 10px; } .chip .ic { width: 32px; height: 32px; } .chip > span:last-child { font-size: 12px; } }

/* ── Enquiry form (shared) ─────────────────────────────────────── */
.cform { border: 1px solid var(--line); padding: 34px 32px 30px; border-radius: 6px; background: var(--paper); }
.cf-head h3 { font: 700 clamp(24px, 3vw, 34px)/1.1 var(--head); letter-spacing: -0.02em; margin: 12px 0 8px; }
.cf-head p { margin: 0 0 26px; font: 400 14px/1.5 var(--body); color: var(--ink-2); }
.cf-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 18px 20px; }
.f { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.f.wide { grid-column: 1 / -1; }
.f > span { font: 500 12px/1 var(--body); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.f > span i { font-style: normal; text-transform: none; letter-spacing: 0; color: var(--ink-3); margin-left: 6px; }
.f select { font: 400 16px/1.3 var(--body); color: var(--ink); background: var(--paper) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' fill='none' stroke='%234b4b52' stroke-width='1.6'/></svg>") no-repeat right 14px center; border: 1px solid #d9d9de; border-radius: 6px; padding: 13px 38px 13px 14px; outline: none; width: 100%; -webkit-appearance: none; appearance: none; transition: border-color .15s, box-shadow .15s; }
.f select:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(14,14,16,.06); }
.f select:invalid { color: var(--ink-3); }
.f input, .f textarea { font: 400 16px/1.3 var(--body); color: var(--ink); background: var(--paper); border: 1px solid #d9d9de; border-radius: 6px; padding: 13px 14px; outline: none; width: 100%; transition: border-color .15s, box-shadow .15s; }
.f input:focus, .f textarea:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(14,14,16,.06); }
.f input.bad { border-color: #d92d20; }
.f textarea { resize: vertical; min-height: 96px; }
.hint { font: 400 12px/1.4 var(--body); color: var(--ink-3); font-style: normal; }
.drop { display: flex; align-items: center; gap: 14px; border: 1px dashed #cfcfd6; border-radius: 6px; padding: 14px 16px; cursor: pointer; position: relative; transition: border-color .15s, background .15s; }
.drop:hover, .drop.over { border-color: var(--ink); background: var(--paper-2); }
.drop.has { border-style: solid; }
.drop img { width: 56px; height: 56px; object-fit: contain; border-radius: 4px; background: #fff; border: 1px solid var(--line); }
.drop-txt { font: 400 14px/1.4 var(--body); color: var(--ink-2); } .drop-txt b { color: var(--ink); font-weight: 600; }
.drop-clear { margin-left: auto; width: 28px; height: 28px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font: 500 16px/1 var(--body); color: var(--ink-2); cursor: pointer; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { position: relative; }
.chips input { position: absolute; inset: 0; opacity: 0; }
.chips b { display: inline-block; font: 500 13px/1 var(--body); padding: 10px 14px; border: 1px solid #d9d9de; border-radius: 999px; color: var(--ink-2); cursor: pointer; transition: all .15s; }
.chips input:checked + b { background: var(--ink); color: #fff; border-color: var(--ink); }
.chips input:focus-visible + b { box-shadow: 0 0 0 3px rgba(14,14,16,.12); }
.cf-ts { margin-top: 18px; min-height: 0; } .cf-ts iframe { max-width: 100%; }
.cf-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 24px; flex-wrap: wrap; }
.cf-btn { font: 600 15px/1 var(--body); color: #fff; background: var(--ink); border: 0; border-radius: 999px; padding: 15px 22px; cursor: pointer; }
.cf-btn:disabled { opacity: .5; cursor: default; }
.cf-note { font: 400 13px/1.4 var(--body); color: var(--ink-3); } .cf-note a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.cf-err { margin-top: 18px; padding: 14px 16px; border-radius: 6px; background: #fef3f2; color: #b42318; font: 500 14px/1.4 var(--body); } .cf-err a { color: inherit; text-decoration: underline; }
.cf-ok { margin-top: 18px; padding: 14px 16px; border-radius: 6px; background: #ecfdf3; color: #067647; font: 500 14px/1.4 var(--body); }
@media (max-width: 640px) { .cform { padding: 24px 18px 22px; } .cf-grid { grid-template-columns: 1fr; gap: 14px; } .f select { font: 400 16px/1.3 var(--body); color: var(--ink); background: var(--paper) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' fill='none' stroke='%234b4b52' stroke-width='1.6'/></svg>") no-repeat right 14px center; border: 1px solid #d9d9de; border-radius: 6px; padding: 13px 38px 13px 14px; outline: none; width: 100%; -webkit-appearance: none; appearance: none; transition: border-color .15s, box-shadow .15s; }
.f select:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(14,14,16,.06); }
.f select:invalid { color: var(--ink-3); }
.f input, .f textarea { font-size: 16px; } .cf-foot { flex-direction: column; align-items: stretch; } .cf-btn { width: 100%; text-align: center; } }

/* long single tokens (emails) must never widen the page on phones */
.email { overflow-wrap: anywhere; word-break: break-word; }
