@font-face {
  font-family: Geist;
  src: url('/fonts/geist-latin.woff2') format('woff2');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  font-family: Geist, Arial, Helvetica, sans-serif;
  font-synthesis: none;
  color: #151d35;
  background: #fff;
  --cobalt: #1646f5;
  --deep: #1037c6;
  --ink: #151d35;
  --slate: #58647b;
  --line: #d9e1f0;
  --ice: #eaf0ff;
  --canvas: #f7f9fe;
  --film-ink: #101629;
  --content-width: 1320px;
  --page-gutter: clamp(24px, 4.5vw, 80px);
  --section-space: clamp(76px, 8vw, 128px);
  font-size: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; }
button, input, textarea, select { font: inherit; }
button, a, input, textarea, select { -webkit-tap-highlight-color: transparent; }
button, a { touch-action: manipulation; }
button { cursor: pointer; color: inherit; border: 0; }
button:disabled { cursor: default; }
button, a { transition: background-color 180ms, color 180ms, border-color 180ms; }
a { color: inherit; text-decoration: none; }
svg { width: 24px; height: 24px; flex-shrink: 0; }
h1, h2, h3, p { margin: 0; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, summary:focus-visible {
  outline: 3px solid var(--cobalt);
  outline-offset: 4px;
}
::selection { background: #ccd9ff; color: var(--ink); }
.skip-link { position: fixed; top: -90px; left: 20px; padding: 16px 20px; background: var(--ink); color: #fff; z-index: 100; }
.skip-link:focus { top: 12px; }
.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }
.page-top { height: 0; scroll-margin-top: 0; }

/* Shared project intake. Every validation and production state remains visible. */
.project-dialog {
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  width: min(760px, calc(100vw - 40px));
  max-height: calc(100dvh - 48px);
  margin: auto;
  overflow: auto;
  overscroll-behavior: contain;
  color: var(--ink);
  background: #fff;
  box-shadow: 0 30px 100px #10162933;
}
.project-dialog::backdrop { background: #101629b8; }
.dialog-surface { padding: 28px 40px 40px; position: relative; }
.dialog-close { position: sticky; top: 0; float: right; z-index: 4; display: grid; place-items: center; width: 44px; height: 44px; margin: 0 0 8px 16px; border: 1px solid var(--line); border-radius: 4px; background: #fff; box-shadow: 0 0 0 5px #fff; }
.dialog-close:hover { background: var(--ice); }
.dialog-close svg { width: 20px; height: 20px; }
.planner-label { padding-top: 15px; margin-bottom: 28px; font-size: 12px; font-weight: 550; letter-spacing: .12em; color: var(--deep); }
.dialog-surface h2 { clear: both; font-size: clamp(30px, 3vw, 42px); font-weight: 550; letter-spacing: -.045em; line-height: 1.08; }
.planner-intro { font-size: 16px; line-height: 1.6; color: var(--slate); margin-top: 18px; }
.enquiry-form { margin-top: 28px; }
.dialog-surface fieldset { padding: 0; border: 0; margin: 20px 0 24px; min-width: 0; }
.dialog-surface legend { font-size: 14px; font-weight: 600; margin-bottom: 14px; line-height: 1.5; }
.needs-options { display: flex; flex-wrap: wrap; gap: 8px; }
.needs-options label { display: flex; align-items: center; gap: 7px; border: 1px solid #c8d2e3; background: #fff; border-radius: 4px; padding: 11px 13px; font-size: 13px; line-height: 1.4; min-height: 44px; cursor: pointer; }
.needs-options label:has(input:focus-visible), .contact-preference label:has(input:focus-visible) { outline: 3px solid var(--cobalt); outline-offset: 3px; }
.needs-options input, .contact-preference input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.needs-options .chosen { background: var(--ice); border-color: var(--cobalt); color: var(--deep); }
.needs-options svg { width: 14px; height: 14px; }
.contact-field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.field-label { display: block; font-size: 14px; font-weight: 550; margin: 10px 0 16px; line-height: 1.5; }
.field-label > span { font-weight: 400; color: var(--slate); }
.field-label input, .field-label textarea { display: block; width: 100%; border: 1px solid #b8c4d9; border-radius: 4px; padding: 12px 13px; margin-top: 8px; line-height: 1.5; font-size: 16px; color: var(--ink); background: #fff; resize: vertical; }
.field-label textarea::placeholder { color: #68758b; }
.required-mark { color: #b42335 !important; font-weight: 600 !important; }
.optional-details { border-top: 1px solid var(--line) !important; padding-top: 18px !important; }
.optional-details legend { padding-right: 12px; color: var(--slate); }
.contact-preference > div { display: flex; flex-wrap: wrap; gap: 8px; }
.contact-preference label { position: relative; display: flex; align-items: center; min-height: 44px; padding: 10px 14px; border: 1px solid #c8d2e3; border-radius: 4px; cursor: pointer; font-size: 14px; }
.contact-preference label:has(input:checked) { border-color: var(--cobalt); background: var(--ice); color: var(--deep); }
.enquiry-privacy { font-size: 13px; line-height: 1.6; color: var(--slate); margin-top: 24px; }
.consent-field { display: flex; align-items: flex-start; gap: 11px; margin: 20px 0; font-size: 13px; line-height: 1.6; color: var(--slate); cursor: pointer; }
.consent-field input { width: 18px; height: 18px; flex: 0 0 18px; margin: 2px 0 0; accent-color: var(--cobalt); }
.website-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.turnstile-wrap { min-height: 65px; margin: 12px 0; }
.submit-button { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 15px 18px; border-radius: 4px; background: var(--cobalt); color: #fff; width: 100%; min-height: 54px; font-size: 15px; font-weight: 550; }
.submit-button:hover { background: var(--deep); }
.submit-button:disabled { cursor: wait; opacity: .65; }
.submit-button svg { width: 20px; height: 20px; }
.submit-status { font-size: 14px; line-height: 1.6; color: var(--slate); margin-top: 12px; min-height: 22px; }
.submit-status.success { color: #17643a; }
.submit-status.preview { color: #46526a; }
.submit-status.error, .form-error { color: #b42335; }
.form-error { font-size: 14px; line-height: 1.6; margin: 16px 0; }
.selected-service-context { padding: 14px 16px; background: var(--ice); border-left: 3px solid var(--cobalt); font-size: 14px; line-height: 1.6; margin-bottom: 22px; }
.remove-service { display: block; min-height: 44px; background: transparent; color: var(--deep); text-decoration: underline; text-underline-offset: 3px; font-size: 13px; text-align: left; padding: 6px 0; }
body:has(.project-dialog[open]), body:has(.pts-service-sheet[open]) { overflow: hidden; }

/* Search landing pages share the same editorial scale and control language. */
.seo-service-page { background: var(--canvas); color: var(--ink); }
.seo-service-header, .seo-service-footer { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 22px var(--page-gutter); background: #fff; border-bottom: 1px solid var(--line); }
.seo-service-header img { display: block; width: min(200px, 54vw); height: auto; }
.seo-service-header a:last-child, .seo-service-footer a { color: var(--deep); font-weight: 550; min-height: 44px; display: inline-flex; align-items: center; }
.seo-service-page main { width: min(1200px, calc(100% - 2 * var(--page-gutter))); margin: 0 auto; padding: clamp(32px, 6vw, 88px) 0; }
.seo-breadcrumb { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: clamp(32px, 5vw, 64px); font-size: 14px; line-height: 1.5; color: var(--slate); }
.seo-breadcrumb a { min-height: 32px; display: inline-flex; align-items: center; }
.seo-service-article { padding: clamp(24px, 5vw, 72px); background: #fff; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--line); }
.seo-service-article h1 { max-width: 18ch; margin: 16px 0 28px; font-size: clamp(44px, 7vw, 94px); font-weight: 520; line-height: 1.02; letter-spacing: -.055em; overflow-wrap: anywhere; }
.seo-service-lead { max-width: 760px; font-size: clamp(18px, 2vw, 24px); line-height: 1.55; color: var(--slate); }
.seo-service-columns { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 72px); margin: clamp(40px, 7vw, 80px) 0; padding-top: 32px; border-top: 1px solid var(--line); }
.seo-service-columns h2, .seo-related h2 { font-size: 15px; font-weight: 600; letter-spacing: .02em; margin-bottom: 16px; }
.seo-service-columns ul { padding-left: 20px; line-height: 1.85; color: var(--slate); margin: 0; }
.seo-service-columns p { line-height: 1.75; color: var(--slate); }
.seo-service-cta { display: inline-flex; gap: 32px; align-items: center; justify-content: space-between; min-height: 54px; padding: 15px 20px; border-radius: 4px; background: var(--cobalt); color: #fff; font-weight: 550; }
.seo-service-cta:hover { background: var(--deep); }
.seo-service-cta svg { width: 20px; height: 20px; }
.seo-related { padding: clamp(40px, 5vw, 64px) 0; }
.seo-related div { display: flex; flex-wrap: wrap; gap: 10px; }
.seo-related a { padding: 12px 16px; min-height: 44px; border: 1px solid #cbd5e7; border-radius: 4px; background: #fff; color: var(--ink); font-size: 14px; }
.seo-related a:hover { border-color: var(--cobalt); color: var(--cobalt); }
.seo-service-footer { border-top: 1px solid var(--line); border-bottom: 0; font-size: 14px; line-height: 1.6; color: var(--slate); }

@media (max-width: 650px) {
  :root { --page-gutter: 22px; --section-space: 72px; }
  html { scroll-padding-top: 86px; }
  .project-dialog { width: calc(100vw - 20px); max-height: calc(100dvh - 20px); border-radius: 8px; }
  .dialog-surface { padding: 16px 22px 28px; }
  .planner-label { padding-top: 15px; font-size: 11px; margin-bottom: 24px; }
  .dialog-surface h2 { font-size: 32px; }
  .planner-intro { font-size: 15px; margin-top: 16px; }
  .enquiry-form { margin-top: 22px; }
  .contact-field-grid { grid-template-columns: 1fr; gap: 0; }
  .contact-preference > div { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); }
  .contact-preference label { justify-content: center; font-size: 12px; padding: 9px 5px; }
  .seo-service-columns { grid-template-columns: 1fr; }
  .seo-service-header { gap: 18px; padding-top: 16px; padding-bottom: 16px; }
  .seo-service-header a:last-child { font-size: 13px; }
  .seo-service-footer { align-items: flex-start; flex-direction: column; gap: 12px; }
}
@media (max-width: 360px) { :root { --page-gutter: 18px; } .dialog-surface { padding-left: 18px; padding-right: 18px; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
