/* Control tokens and primitives: shared owner for website + workspace. */
:root{--ui-space-1:4px;--ui-space-2:8px;--ui-space-3:12px;--ui-space-4:16px;--ui-space-6:24px;--ui-space-8:32px;--ui-control-height:48px;--ui-icon-size:20px;--ui-control-radius:10px;--ui-color-surface:#fff;--ui-color-text:#182540;--ui-color-muted:#5b6b82;--ui-color-border:#c9d3e2;--ui-color-action:#2559ef;--ui-color-action-hover:#1948cc;--ui-color-danger:#a32020;--ui-color-focus:#2559ef33;--ui-type-label:13px;--ui-type-control:16px;--ui-type-small:12px;--ui-shadow-control:0 1px 2px #14243b06}
/* Shared Vishtik identity for the public website and authenticated workspace. */
:root{--brand-navy:#10213f;--brand-blue:var(--ui-color-action);--brand-lime:#baf264;--brand-ink:var(--ui-color-text);--brand-muted:var(--ui-color-muted);--brand-paper:#f6f8fc;--brand-line:#dce4ef;--brand-radius:12px;--brand-font:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
body[data-surface]{font-family:var(--brand-font);color:var(--brand-ink);background:var(--brand-paper)}
body[data-surface] h1,body[data-surface] h2,body[data-surface] h3,body[data-surface] button,body[data-surface] input,body[data-surface] select,body[data-surface] textarea{font-family:var(--brand-font)}
body[data-surface] .btn{border-radius:var(--brand-radius);min-height:46px;font-weight:700}
body[data-surface] .btn.primary{background:var(--brand-blue);border-color:var(--brand-blue);color:#fff}
body[data-surface] .btn.primary:hover{background:#1948cc;border-color:#1948cc}
body[data-surface] .btn:disabled{cursor:not-allowed;opacity:.55}
body[data-surface] a:focus-visible,body[data-surface] button:focus-visible{outline:3px solid var(--brand-blue);outline-offset:4px}
body[data-surface="website"]{--ink:var(--brand-ink);--muted:var(--brand-muted);--paper:var(--brand-paper);--line:var(--brand-line);--green:var(--brand-lime);--deep:var(--brand-navy)}
body[data-surface="website"] .nav{background:#f6f8fcf5}
body[data-surface="website"] .hero h1 em{color:var(--brand-blue);font-family:inherit;font-style:normal;font-weight:650}
body[data-surface="website"] h1,body[data-surface="website"] h2{letter-spacing:-.045em;font-weight:700}
body[data-surface="website"] .board,body[data-surface="website"] .dark{background:var(--brand-navy)}
body[data-surface="website"] .service,body[data-surface="website"] .formcard{border-radius:var(--brand-radius)}
body[data-surface="website"] .service .num{color:var(--brand-blue)}
body[data-surface="website"] .service:last-child,body[data-surface="website"] .checklist,body[data-surface="website"] .enquiry{background:#edf2ff!important;border-color:var(--brand-line)}
body[data-surface="website"] .checklist li{border-color:var(--brand-line)}
body[data-surface="website"] .checklist li:before{color:var(--brand-blue)}
body[data-surface="website"] .steps .current{border-color:var(--brand-blue);color:var(--brand-blue)}
body[data-surface="website"] .field input:focus,body[data-surface="website"] .field select:focus,body[data-surface="website"] .field textarea:focus{border-color:var(--brand-blue);box-shadow:0 0 0 3px #2559ef20}
body[data-surface="workspace"]{--nav:var(--brand-navy);--purple:var(--brand-blue);--ink:var(--brand-ink);--muted:var(--brand-muted);--line:var(--brand-line);--bg:var(--brand-paper);--rad:var(--brand-radius)}
body[data-surface="workspace"] .nav,body[data-surface="workspace"] .login-art{background:var(--brand-navy)}
body[data-surface="workspace"] .hero{background:linear-gradient(120deg,var(--brand-navy),#193768)}
body[data-surface="workspace"] .step.active{color:var(--brand-blue);border-color:var(--brand-blue);background:#edf2ff}
body[data-surface="workspace"] .option:has(input:checked){border-color:var(--brand-blue);background:#edf2ff}
body[data-surface="workspace"] .field input:focus,body[data-surface="workspace"] .field select:focus,body[data-surface="workspace"] .field textarea:focus{border-color:var(--brand-blue);box-shadow:0 0 0 3px #2559ef20}
body[data-surface="workspace"] .notice{background:#edf2ff;color:#244778;border-color:#cddafb}
body[data-surface="workspace"] .tag.green{background:#eef6df;color:#36570e}
body[data-surface="workspace"] .tag:not(.amber):not(.green){color:#244778;background:#edf2ff}
body[data-surface] section[id],body[data-surface] div[id="caseEvidence"],body[data-surface] div[id="technical-v13"]{scroll-margin-top:110px}

body[data-surface="website"] .hero h1{font-size:clamp(42px,5.1vw,68px)}
body[data-surface="website"] .hero{padding-top:52px;padding-bottom:48px}

.home-focus{padding:32px;border:1px solid #cbd8fa;border-radius:16px;background:linear-gradient(135deg,#edf2ff,#fff);margin-bottom:22px}.home-focus h2{font-size:clamp(24px,3vw,34px);margin:14px 0;max-width:750px}.home-focus p{max-width:720px;line-height:1.7;margin-bottom:22px}.home-secondary{display:inline-block;margin:12px 0 12px 18px;font-size:13px;font-weight:700}.home-checklist{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:24px}.home-checklist h3{font-size:17px;margin:16px 0 10px}.home-checklist p{font-size:13px;line-height:1.65;margin:0}.home-step{display:inline-grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#edf2ff;color:#2559ef;font-weight:800}.outcome-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.outcome-grid article{background:#fff;padding:26px;border:1px solid var(--brand-line);border-radius:12px}.outcome-grid svg,.service svg{width:30px;height:30px;color:var(--brand-blue);margin-bottom:18px}.outcome-grid p{font-size:14px;margin-top:14px}@media(max-width:780px){.home-checklist,.outcome-grid{grid-template-columns:1fr}.home-focus{padding:24px}.home-secondary{margin-left:0;display:block}}

.workspace-skip{position:fixed;left:16px;top:-90px;padding:12px 18px;z-index:120;background:#fff;color:#182540;border:2px solid #2559ef;border-radius:8px}.workspace-skip:focus{top:12px}.workspace-shade{position:fixed;inset:0;z-index:40;background:#10213f80;border:0}.workspace-shade[hidden]{display:none!important}

/* Shared workspace icons and onboarding controls. */
.workspace-icon{width:var(--ui-icon-size);height:var(--ui-icon-size);flex:0 0 var(--ui-icon-size);vertical-align:middle;display:inline-block}.nav button{display:flex;align-items:center;gap:12px}.nav button .workspace-icon{opacity:.9}.field-optional{font-weight:400;color:var(--ui-color-muted);font-size:var(--ui-type-small);margin-left:5px}.field input:not([type="checkbox"]):not([type="radio"]),.field select,.field textarea{min-height:var(--ui-control-height);border:1px solid var(--ui-color-border);border-radius:var(--ui-control-radius);padding:var(--ui-space-3) 14px;background:var(--ui-color-surface);color:var(--ui-color-text);font-size:var(--ui-type-control);line-height:1.4;font-weight:400;width:100%;box-sizing:border-box;box-shadow:var(--ui-shadow-control)}.field textarea{min-height:112px;resize:vertical}.field input:focus-visible,.field select:focus-visible,.field textarea:focus-visible{outline:3px solid var(--ui-color-focus);outline-offset:2px;border-color:var(--ui-color-action)}.field .hint{display:block;line-height:1.5;margin-top:7px}.form-error{color:var(--ui-color-danger);font-weight:600;line-height:1.5}.form-error:empty{display:none}.steps{overflow-x:auto}.step{min-width:0}@media(max-width:600px){.steps{display:flex!important;gap:8px}.step{min-width:130px}.formfoot .btn{min-height:48px}}

/* Shared controls own dimensions, state and typography; page CSS owns layout. */
body[data-surface] .field label{display:block;font-size:var(--ui-type-label);font-weight:700;line-height:1.5;margin-bottom:var(--ui-space-2);color:var(--ui-color-text)}
body[data-surface] .btn{display:inline-flex;align-items:center;justify-content:center;gap:var(--ui-space-2);min-height:var(--ui-control-height);padding:var(--ui-space-3) 18px;border:1px solid var(--ui-color-border);border-radius:var(--ui-control-radius);background:var(--ui-color-surface);color:var(--ui-color-text);font-size:14px;font-weight:700;line-height:1.4;text-decoration:none;cursor:pointer;white-space:normal;text-align:center}
body[data-surface] .btn.primary{background:var(--ui-color-action);border-color:var(--ui-color-action);color:#fff}body[data-surface] .btn:hover:not(:disabled){border-color:var(--ui-color-action)}body[data-surface] .btn.primary:hover:not(:disabled){background:var(--ui-color-action-hover)}body[data-surface] .btn:disabled{cursor:not-allowed;opacity:.55}
body[data-surface] .field :is(input,select,textarea)[aria-invalid="true"]{border-color:var(--ui-color-danger)}
body[data-surface] .field :is(input,select,textarea):disabled{background:var(--brand-paper);color:var(--ui-color-muted);cursor:not-allowed}
@media(prefers-reduced-motion:reduce){body[data-surface] *{scroll-behavior:auto;transition:none!important}}

body[data-surface] :is(.field,.option,.consent) input:is([type="checkbox"],[type="radio"]){width:18px;height:18px;min-height:18px;flex:0 0 18px;margin:0;accent-color:var(--ui-color-action)}

/* Auth screens retain identity when the existing art column collapses. */
.auth-brand{display:none}.auth-back{display:inline-flex;align-items:center;min-height:44px;font-size:var(--ui-type-small);color:var(--brand-muted);margin-bottom:var(--ui-space-4)}
@media(max-width:780px){.auth-brand{display:block}.auth-brand .brand{padding:0;margin:0 0 var(--ui-space-4)}.auth-brand .brand small{color:var(--brand-muted)}}

/* Keep the shared workspace header inside narrow phone viewports. */
@media(max-width:600px){body[data-surface="workspace"] .top{height:auto;min-height:74px;flex-wrap:wrap;gap:8px;padding-top:12px;padding-bottom:12px}body[data-surface="workspace"] .top>div{min-width:0;flex-wrap:wrap}}

/* A quieter workspace: primary actions first, supporting tools on demand. */
.nav-group{margin-bottom:18px}.nav-group h2{font:700 10px system-ui;letter-spacing:.12em;text-transform:uppercase;color:#a3b6c3;padding:8px 14px;margin:0}.nav-more{margin:6px 0 14px;border-top:1px solid #ffffff18;padding-top:10px}.nav-more summary{padding:10px 14px;font-weight:700;color:#c9d3ed;cursor:pointer;list-style-position:inside}.nav-more[open] summary{color:white}.nav-more button{font-size:13px}.home-focus-organised{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(180px,1fr);align-items:center;gap:28px;background:#fff;padding:30px}.home-focus-copy{min-width:0}.home-focus-copy h2{font-size:clamp(24px,2.4vw,32px);max-width:640px}.home-focus-copy p{max-width:600px;line-height:1.65}.home-connection-art{width:100%;height:auto;max-height:245px;object-fit:contain;border-radius:12px}.home-summary{display:flex;flex-wrap:wrap;gap:14px 26px;align-items:center;margin:0 0 24px;color:var(--muted);font-size:13px}.home-summary strong{color:var(--ink);font-size:17px;margin-right:4px}.home-summary-link{border:0;background:none;padding:0;color:var(--purple);font:inherit;text-align:left}.home-journey-details{margin-top:24px;color:var(--muted)}.home-journey-details>summary{cursor:pointer;font-weight:700;padding:12px 0}.home-journey-details .home-checklist{padding:18px 0 0;gap:24px}.home-journey-details article{padding:0 10px 0 0}.home-focus-organised .btn{white-space:normal}summary:focus-visible{outline:3px solid #6c94ff;outline-offset:3px;border-radius:4px}@media(max-width:720px){.home-focus-organised{grid-template-columns:1fr;padding:22px;gap:14px}.home-connection-art{max-height:150px;order:-1}.home-focus-copy h2{margin-top:10px}.home-summary{gap:12px 18px}.home-journey-details .home-checklist{grid-template-columns:1fr}.home-journey-details article{padding:6px 0}}

.case-section>summary{cursor:pointer;font-weight:700;font-size:16px;color:var(--ink);padding:4px 0;list-style-position:inside}.case-section[open]>summary{margin-bottom:20px}.case-section .formgrid{padding-top:8px}.case-section.card{box-shadow:none}

.home-project-figure{margin:0;align-self:center;min-width:0}.home-project-figure .home-connection-art{display:block;object-fit:contain;max-height:220px;border-radius:0;background:transparent}.home-project-figure figcaption{font-size:10px;color:var(--muted);margin-top:10px;text-align:center}.home-focus-without-art{grid-template-columns:1fr}.home-focus-without-art .home-focus-copy{max-width:820px}@media(max-width:720px){.home-project-figure{order:1;max-width:280px;justify-self:center}.home-project-figure .home-connection-art{max-height:145px}.home-focus-organised .home-focus-copy{order:0}}

/* Distinct GridConnect form system: purposeful icons, clear groups and native choices. */
.intake-form-sections{display:flex;flex-direction:column;gap:26px}.intake-type-group,.intake-group{border:0;margin:0;padding:0;min-width:0}.intake-type-group>legend,.intake-group>legend{display:flex;align-items:center;gap:10px;font:700 18px 'Plus Jakarta Sans',sans-serif;letter-spacing:-.025em;color:var(--ink);padding:0;margin-bottom:10px}.intake-group>legend svg{color:#2559ef;width:21px;height:21px}.intake-group>.hint{margin-bottom:18px}.intake-group+.intake-group{border-top:1px solid var(--line);padding-top:25px}.project-choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.project-choice{display:block;position:relative;cursor:pointer;min-width:0}.project-choice input{position:absolute;width:1px;height:1px;overflow:hidden;opacity:0}.choice-content{display:flex;position:relative;flex-direction:column;padding:20px;border:1px solid #d7dfeb;border-radius:13px;min-height:150px;background:#fff;transition:border-color .12s,background .12s}.choice-icon{width:40px;height:40px;display:grid;place-items:center;border-radius:11px;background:#f0f4fb;color:#43628b;margin-bottom:13px}.choice-icon svg{width:25px;height:25px}.choice-content strong{font-size:15px}.choice-content small{font-size:12px;color:var(--muted);margin-top:5px;line-height:1.5}.choice-tick{position:absolute;right:14px;top:14px;width:21px;height:21px;border-radius:50%;background:#2559ef;color:white;display:none;text-align:center;font-size:13px;line-height:21px}.project-choice input:checked+.choice-content{border:2px solid #2559ef;padding:19px;background:#f5f8ff}.project-choice input:checked+.choice-content .choice-tick{display:block}.project-choice input:checked+.choice-content .choice-icon{background:#e4edff;color:#2559ef}.project-choice input:focus-visible+.choice-content{outline:3px solid #7ea4ff;outline-offset:3px}.project-choice:hover .choice-content{border-color:#6b8bba}.intake-other-types{margin-top:16px}.intake-other-types>summary,.intake-extra>summary{cursor:pointer;font-weight:700;font-size:13px;color:#526684;padding:12px 0}.intake-other-types[open]>.project-choice-grid{margin-top:12px}.intake-extra>.formgrid{padding-top:16px}.intake-extra{border-top:1px solid var(--line);padding-top:6px}.intake-progress{list-style:none;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:0 0 26px}.intake-progress li{display:flex;align-items:center;gap:10px;color:#7d8ca3;border-bottom:3px solid #e3e9f2;padding:0 0 17px;min-width:0;font-size:12px}.intake-progress li>span{display:grid;place-items:center;flex:0 0 28px;height:28px;border-radius:50%;background:#eaf0f7;font-weight:800}.intake-progress li.active{color:#183971;border-color:#2559ef}.intake-progress li.active>span{background:#2559ef;color:white}.intake-progress li.complete{color:#16836d;border-color:#7cc7b1}.intake-progress li.complete>span{background:#e2f4ed;color:#16836d}.intake-form-sections .field label{line-height:1.5}.intake-form-sections input:focus,.intake-form-sections select:focus,.intake-form-sections textarea:focus{border-color:#2559ef;box-shadow:0 0 0 3px #2559ef12}.intake-form-sections~.formfoot{margin-top:26px}#projectForm .formfoot{flex-wrap:wrap;gap:12px}#companyForm>.intake-group{margin-bottom:8px}#ownerProfileForm .intake-group{margin-bottom:16px}@media(max-width:720px){.intake-progress{gap:8px;margin-bottom:22px}.intake-progress li{flex-direction:column;align-items:flex-start;gap:8px;font-size:10px;padding-bottom:12px}.intake-progress li strong{overflow-wrap:anywhere;line-height:1.4}.project-choice-grid{gap:10px}.choice-content{padding:16px;min-height:155px}.project-choice input:checked+.choice-content{padding:15px}.choice-content strong{font-size:13px}.choice-content small{font-size:11px}.choice-icon{width:34px;height:34px}.intake-group>legend{font-size:17px}.intake-form-sections{gap:22px}.intake-progress li>span{flex-basis:26px;width:26px;height:26px}#projectForm .formfoot>button[type=submit]{width:100%;order:-1}.intake-group .formgrid{grid-template-columns:1fr}}@media(max-width:350px){.project-choice-grid{grid-template-columns:1fr}.choice-content{min-height:130px}}

@media(max-width:560px){.project-choice-grid{grid-template-columns:1fr}.choice-content{display:grid;grid-template-columns:38px 1fr;grid-template-areas:"icon title" "icon description";gap:4px 13px;min-height:92px;padding:16px 42px 16px 16px}.project-choice input:checked+.choice-content{padding:15px 41px 15px 15px}.choice-icon{grid-area:icon;align-self:center;margin:0}.choice-content strong{grid-area:title;font-size:14px}.choice-content small{grid-area:description;margin:0;font-size:12px}.choice-tick{right:12px;top:16px}}

@media(max-width:560px){#projectForm .formfoot>button[type=submit]{flex:1 1 100%;min-width:100%;width:100%;order:-1}#projectForm .formfoot>button:not([type=submit]){flex:1 1 calc(50% - 6px);min-width:0;white-space:normal}#companyForm .actions,#ownerProfileForm .actions{display:flex;flex-wrap:wrap;gap:12px}#companyForm .actions>.btn.primary,#ownerProfileForm .actions>.btn.primary{flex:1 1 100%;width:100%;order:-1}#companyForm .actions>.btn:not(.primary),#ownerProfileForm .actions>.btn:not(.primary){flex:1 1 100%;width:100%}}

@media(max-width:560px){body[data-surface="workspace"] .top>.tag{display:none}#projectForm .formfoot>button:not([type=submit]){font-size:13px;padding:12px 8px;white-space:nowrap;min-height:44px}}
