/* Gradient-signature minimal: strictly grayscale, the logo gradient used only
   as a signature rule + one emphasized word per headline. Light blue is the
   single interactive highlight. */
:root {
  --paper: #ffffff;
  --ink: #0d0d0d;
  --muted: #6e6e73;
  --line: rgba(13, 13, 13, 0.14);
  --grid: rgba(13, 13, 13, 0.055);
  --field: #f5f5f6;
  --panel: #0d0d0d;
  --panel-ink: #f6f6f7;
  --panel-line: rgba(246, 246, 247, 0.2);
  --panel-muted: rgba(246, 246, 247, 0.66);
  --hi: #8cc4f5;
  --hi-strong: #5aa8ef;
  --hi-ink: #0b1b2a;
  --sig: linear-gradient(90deg, #e03a2f 0%, #e8802a 16%, #e6c534 32%, #4aa851 48%, #3a83d6 64%, #6a45c2 82%, #b13cae 100%);
  --color-text: var(--ink);
  --color-bg: var(--paper);
  --color-surface: var(--field);
  --color-accent: var(--hi-strong);
  --color-divider: var(--line);
  --font-heading: "Montserrat", system-ui, sans-serif;
  --font-body: "Montserrat", system-ui, sans-serif;
}
html[data-theme="dark"] {
  --paper: #0b0b0c;
  --ink: #f4f4f5;
  --muted: #9d9da3;
  --line: rgba(244, 244, 245, 0.18);
  --grid: rgba(244, 244, 245, 0.06);
  --field: #17171a;
  --panel: #16161a;
  --panel-ink: #f4f4f5;
  --panel-line: rgba(244, 244, 245, 0.18);
  --panel-muted: rgba(244, 244, 245, 0.62);
  --hi: #7cbcff;
  --hi-strong: #7cbcff;
  --hi-ink: #06131f;
}
html, body { background: var(--paper); }
body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.6;
  font-family: "Montserrat", system-ui, sans-serif;
  transition: background .45s ease, color .45s ease;
}
body, h1, h2, h3, h4, h5, h6, p, a, span, div, button, input, textarea, select, label, li, td, th {
  font-family: "Montserrat", system-ui, sans-serif;
}
/* Clear the fixed header (135px when the nav wraps) on anchor jumps. */
section[id], article[id], div[id] { scroll-margin-top: 150px; }
input, select, textarea, button { box-sizing: border-box; }
a { color: var(--hi-strong); }
a:hover { color: var(--ink); }
::selection { background: var(--hi); color: var(--hi-ink); }
:focus-visible { outline: 2px solid var(--hi-strong); outline-offset: 2px; }
@keyframes riseIn { from { opacity: 0; transform: translateY(34px); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes chipFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@keyframes chipPulse { 0%, 100% { opacity: .45; transform: translateY(0) scale(1); } 50% { opacity: 1; transform: translateY(3px) scale(1.06); } }
@keyframes pulseDot { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }

/* ---------- Phone layout ---------- */
[data-nav-burger] { display: none; }
@media (max-width: 860px) {
  [data-nav-burger] { display: inline-flex !important; }
  [data-nav-links] { display: none !important; }
  [data-nav-links][data-open="true"] {
    display: flex !important; flex-direction: column; align-items: stretch !important; gap: 0 !important;
    position: absolute; top: 100%; left: 0; right: 0; max-height: calc(100vh - 80px); overflow-y: auto;
    background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px 20px 22px; box-shadow: 0 18px 40px rgba(0,0,0,.14);
  }
  [data-nav-links] > a, [data-nav-links] > div > a { padding: 15px 0 !important; border-bottom: 1px solid var(--line); font-size: 18px !important; }
  [data-nav-links] > a[href$="#enquire"] { margin-top: 16px; justify-content: center; border-bottom: 1px solid var(--hi); }
  [data-nav-links] > button { margin-top: 12px; padding: 14px !important; }
  [data-nav-sub] { display: block !important; position: static !important; padding: 0 0 6px 16px !important; }
  [data-nav-sub] > div { min-width: 0 !important; border: 0 !important; box-shadow: none !important; background: transparent !important; }
  [data-nav-sub] > div > div { display: none; }
  [data-nav-sub] a { padding: 12px 0 !important; font-size: 16px !important; color: var(--muted) !important; border-bottom: 0 !important; }
  [data-nav-caret] { display: none; }
  [data-nav-logo] img { height: 40px !important; }
  section[id], article[id], div[id] { scroll-margin-top: 90px; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  section[style*="padding"], article[style*="padding"], footer[style*="padding"] { padding-left: 20px !important; padding-right: 20px !important; }
  section[style*="padding: 1"], article[style*="padding: 1"] { padding-top: 72px !important; padding-bottom: 72px !important; }
  section[style*="padding: 190px"], article[style*="padding: 190px"], section[style*="padding: 1"]:first-of-type { padding-top: 120px !important; }
  section[style*="min-height: 100vh"] { min-height: 0 !important; padding-bottom: 72px !important; }
  [style*="grid-template-columns: repeat(auto-fit"], [style*="grid-template-columns: 170px"], [style*="grid-template-columns: 1fr 1fr"], [style*="grid-template-columns: repeat(2"], [style*="grid-template-columns: repeat(3"], [style*="grid-template-columns: repeat(4"] { grid-template-columns: minmax(0, 1fr) !important; }
  [style*="grid-template-columns: 170px"] { gap: 10px !important; }
  [style*="grid-template-columns: 150px 1fr 96px"] { grid-template-columns: 92px minmax(0, 1fr) 62px !important; gap: 10px !important; }
  [style*="grid-template-columns: 150px 1fr 96px"] > span:first-child { font-size: 12px !important; }
  [style*="grid-template-columns: 150px 1fr 96px"] > span:last-child { font-size: 15px !important; }
  [style*="justify-content: space-between"][style*="align-items: baseline"] { flex-wrap: wrap; gap: 6px 16px; }
  [style*="gap: 76px"], [style*="gap: 44px"] { gap: 36px !important; }
  [style*="margin-bottom: 70px"], [style*="margin-bottom: 76px"] { margin-bottom: 40px !important; }
  [style*="margin-top: 100px"], [style*="margin-top: 76px"] { margin-top: 48px !important; }
  [style*="grid-template-columns: 58px 74px minmax(120px, 1fr) 74px"] { grid-template-columns: 44px 58px minmax(0, 1fr) 58px !important; gap: 8px 8px !important; font-size: 14px; }
  [style*="grid-template-columns: 58px 74px minmax(120px, 1fr) 74px"] > div { font-size: 14px !important; }
  [style*="position: sticky"] { position: static !important; }
  [style*="min-height: 260px"] { min-height: 0 !important; gap: 28px; }
  [style*="position: absolute"][style*="bottom: 36px"] { display: none !important; }
  h1 { font-size: clamp(36px, 11vw, 54px) !important; overflow-wrap: break-word; }
  h2 { font-size: clamp(30px, 8.6vw, 40px) !important; overflow-wrap: break-word; }
  h3 { overflow-wrap: break-word; }
  form[style*="padding"] { padding: 24px 18px !important; }
  img, svg, video, iframe { max-width: 100%; }
  footer img { height: 56px !important; }
  footer nav { gap: 14px 22px !important; }
}
