/* =====================================================================
   Venus IT Solutions — site.css
   One stylesheet for the whole static site. Rebuilt from the staging
   Divi design (no Divi CSS carried over).
   ===================================================================== */

/* ---------- Fonts (self-hosted, latin subset) ---------- */
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/bricolage-grotesque-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/bricolage-grotesque-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/bricolage-grotesque-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Hanken Grotesk"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/hanken-grotesk-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Hanken Grotesk"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/hanken-grotesk-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Hanken Grotesk"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/hanken-grotesk-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Hanken Grotesk"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/hanken-grotesk-latin-700-normal.woff2") format("woff2"); }

/* ---------- Tokens ---------- */
:root {
  --bg: #000;
  --panel: #262423;
  --panel-2: #2f2d2c;
  --border: rgba(255, 255, 255, .08);
  --rule: #2a2a2a;
  --white: #fff;
  --text: #b5b5b5;
  --muted: #8f8f8f;
  --accent: #f4851c;
  --accent-hover: #ff9a3d;
  --on-accent: #2b2a29;
  --radius: 20px;
  --radius-sm: 10px;
  --font-head: "Bricolage Grotesque", "Arial Narrow", Arial, sans-serif;
  --font-body: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
  --container: 1200px;
  --header-h: 88px;
  --section-y: 64px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 {
  margin: 0 0 .5em;
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
}
h1 { font-size: 64px; line-height: 1.02; }
h2 { font-size: 46px; }
h3 { font-size: 20px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.25; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
a { color: var(--white); text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 5px; transition: color .2s, text-decoration-color .2s; }
a:hover { color: var(--accent); }
strong { color: var(--white); font-weight: 600; }
ul, ol { margin: 0 0 1em; padding-left: 1.3em; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--accent); color: var(--on-accent); padding: 8px 16px; border-radius: 999px; font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 12px; }

.container { width: 90%; max-width: var(--container); margin: 0 auto; }
.section { padding: var(--section-y) 0; }
.section-tight { padding: calc(var(--section-y) * .6) 0; }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 28px;
  border: 0; border-radius: 999px;
  background: var(--accent); color: var(--on-accent);
  font-family: var(--font-body); font-size: 16px; font-weight: 600; line-height: 1.3;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color .2s, transform .2s;
}
.btn:hover, .btn:focus-visible { background: var(--accent-hover); color: var(--on-accent); }
.btn:active { transform: translateY(1px); }
.text-link { font-weight: 600; color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 32px; }

/* ---------- Eyebrow ---------- */
.eyebrow { display: flex; align-items: center; gap: 12px; margin: 0 0 18px; color: var(--text); font-size: 15px; font-weight: 500; line-height: 1.3; }
.eyebrow::before { content: ""; flex: 0 0 auto; width: 30px; height: 3px; border-radius: 2px; background: var(--accent); }
.dash::before { content: ""; display: block; width: 26px; height: 3px; margin-bottom: 22px; background: var(--accent); border-radius: 2px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: #000; border-bottom: 1px solid #1c1c1c; }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.logo { display: block; flex: 0 0 auto; text-decoration: none; }
.logo img { width: auto; height: 64px; }
.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: 34px; list-style: none; margin: 0; padding: 0; }
.main-nav a { color: var(--white); text-decoration: none; font-size: 16px; font-weight: 500; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--accent); }
.btn-header { margin-left: 18px; padding: 11px 24px; font-size: 15px; }
.nav-toggle { display: none; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid #1c1c1c; padding: 34px 0; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px 48px; flex-wrap: wrap; }
.footer-name { margin: 0; color: var(--white); font-weight: 700; font-size: 15px; }
.footer-tagline { margin: 0; color: var(--white); font-size: 15px; line-height: 1.6; max-width: 340px; }
.footer-nav ul { display: flex; flex-wrap: wrap; gap: 8px 28px; list-style: none; margin: 0; padding: 0; }
.footer-nav a { color: var(--white); text-decoration: none; font-size: 15px; font-weight: 500; }
.footer-nav a:hover { color: var(--accent); }

/* ---------- Grids ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.split-40 { grid-template-columns: 2fr 3fr; }
.split-center { align-items: center; }
.cols-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cols-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }

/* ---------- Hero ---------- */
.hero { padding: 72px 0 56px; }
.hero-home { grid-template-columns: 5fr 6fr; }
.hero h1 { margin-bottom: 26px; }
.hero .lead { font-size: 18px; color: var(--text); }
.hero .small { font-size: 16px; }
.hero-graphic { display: flex; justify-content: center; }
.triangle-mark { width: 100%; max-width: 440px; }
/* Hero animation (partials/hero-lottie.njk). Box keeps its shape before the animation loads. */
.hero-lottie { position: relative; width: 100%; max-width: 520px; aspect-ratio: 1 / 1; }
.hero-lottie > svg, .hero-lottie > img, .hero-lottie noscript img { display: block; width: 100% !important; height: 100% !important; object-fit: contain; }
.hero-lottie--services-digital-hands { aspect-ratio: 1500 / 1300; }
.hero-lottie--white-label-partnership { aspect-ratio: 2475 / 1650; }
.hero-lottie--about-remote-team { aspect-ratio: 1 / 1; }
.hero-lottie--home-web-development { aspect-ratio: 1 / 1; }
.hero-simple > * { max-width: 780px; }

/* Home hero mock card */
.mock-wrap { position: relative; }
.mock {
  background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: 0 30px 60px rgba(0, 0, 0, .45);
}
.mock-bar { display: flex; align-items: center; gap: 7px; padding: 13px 20px; border-bottom: 1px solid var(--border); color: var(--text); font-size: 13px; }
.mock-bar .dot { width: 9px; height: 9px; border-radius: 50%; background: #4a4847; }
.mock-bar .mock-title { margin-left: 14px; }
.mock-body { padding: 28px 28px 22px; }
.mock-body h2 { font-size: 30px; letter-spacing: -0.02em; margin-bottom: 14px; }
.mock-body > p { font-size: 15px; }
.chips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 24px 0; }
.chip { min-height: 78px; padding: 14px 14px; border-radius: 8px; background: var(--accent); color: var(--on-accent); line-height: 1.3; }
.chip strong { display: block; color: var(--on-accent); font-family: var(--font-head); font-size: 15px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 3px; }
.chip span { font-size: 13px; }
.chip.is-muted { background: #3a3837; color: var(--text); }
.chip.is-muted strong { color: var(--text); }
.mock-status { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 18px; border-top: 1px solid var(--border); font-size: 14px; }
.status-pill { display: inline-flex; align-items: center; gap: 7px; padding: 7px 16px; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-weight: 600; font-size: 14px; }
.status-pill svg { width: 13px; height: 13px; }
.note-card {
  position: relative; z-index: 2; margin: -22px 0 0 -28px; width: 64%;
  padding: 20px 22px; border-radius: 12px;
  background: var(--accent); color: var(--on-accent);
  box-shadow: 0 24px 48px rgba(0, 0, 0, .5); line-height: 1.5;
}
.note-card p { margin: 0; font-size: 14px; }
.note-card .note-title { font-family: var(--font-head); font-weight: 700; font-size: 17px; letter-spacing: -0.01em; margin-bottom: 6px; color: var(--on-accent); }

/* ---------- Rule-separated list (services) ---------- */
.rule-list { border-bottom: 1px solid var(--rule); }
.rule-item { display: grid; grid-template-columns: 1fr 1.15fr; gap: 24px; padding: 30px 0; border-top: 1px solid var(--rule); }
.rule-item h3 { margin: 0; font-size: 19px; }
.rule-item p { font-size: 16px; }
.section-intro h2 { margin-bottom: 22px; }
.sticky { position: sticky; top: calc(var(--header-h) + 32px); }

/* ---------- Numbered steps ---------- */
.steps { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; list-style: none; margin: 48px 0 0; padding: 0; }
.steps::before { content: ""; position: absolute; top: 18px; left: 0; right: 0; height: 1px; background: var(--rule); }
.step { position: relative; }
.step-num, .tl-num {
  position: relative; z-index: 1;
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--accent); color: var(--on-accent);
  font-family: var(--font-head); font-size: 14px; font-weight: 700;
}
.step h3 { margin: 22px 0 10px; }
.step p { font-size: 16px; }

/* Vertical numbered timeline (white-label) */
.timeline { position: relative; list-style: none; margin: 0; padding: 0; }
.timeline::before { content: ""; position: absolute; top: 18px; bottom: 18px; left: 18px; width: 1px; background: var(--rule); }
.timeline li { position: relative; display: grid; grid-template-columns: 36px 1fr; gap: 24px; padding-bottom: 40px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline .tl-body { padding-top: 5px; max-width: 560px; }
.timeline h3 { margin: 0 0 8px; }
.timeline p { font-size: 16px; }

/* ---------- Recent work ---------- */
.work-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 56px; margin-top: 40px; border-top: 1px solid var(--rule); padding-top: 8px; }
.work-item { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--rule); color: var(--white); text-decoration: none; }
.work-name { font-family: var(--font-head); font-weight: 700; font-size: 17px; letter-spacing: -0.01em; }
.work-cta { color: var(--text); font-size: 14px; font-weight: 500; white-space: nowrap; }
.work-cta::after { content: " \2192"; color: var(--accent); }
.work-item:hover .work-name { color: var(--accent); }

/* ---------- Cards ---------- */
.card {
  position: relative; background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px 30px 32px;
}
.card-accent { overflow: hidden; padding-top: 34px; }
.card-accent::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--accent); }
.card h3 { margin-bottom: 14px; }
.card p { font-size: 16px; }
.quote-card { display: flex; flex-direction: column; }
.quote-card blockquote { margin: 0 0 28px; color: var(--white); font-size: 15px; line-height: 1.75; flex: 1; }
.quote-card blockquote p { color: #e6e6e6; }
.quote-by { margin: 0; line-height: 1.4; }
.quote-by strong { display: block; font-family: var(--font-head); font-weight: 700; font-size: 15px; }
.quote-by span { color: var(--text); font-size: 13px; }
.section-head { margin-bottom: 44px; }

/* ---------- Panels / bands ---------- */
.panel { background: var(--panel); border: 1px solid var(--border); border-radius: 24px; padding: 64px 64px; }
.panel .split { gap: 56px; }
.inner-card { background: var(--panel-2); border: 1px solid rgba(255, 255, 255, .1); border-radius: 14px; padding: 22px 22px 8px; }
.inner-card h3 { font-size: 16px; margin: 0; padding-bottom: 14px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.tick-list { list-style: none; margin: 0; padding: 0; }
.tick-list li { display: flex; gap: 14px; padding: 15px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); color: var(--white); font-size: 16px; line-height: 1.5; }
.tick-list li:last-child { border-bottom: 0; }
.tick { flex: 0 0 auto; width: 16px; height: 16px; margin-top: 3px; color: var(--accent); }
.inner-card.no-title { padding-top: 8px; }
.dash-line { color: var(--text); font-size: 16px; }

/* ---------- CTA band ---------- */
.cta-band { text-align: left; }
.cta-band .panel { display: flex; justify-content: space-between; align-items: center; gap: 32px 48px; flex-wrap: wrap; }
.cta-band h2 { margin-bottom: 12px; }
.cta-band .cta-copy { max-width: 680px; }
.cta-quote { margin: 18px 0 0; color: var(--white); font-style: italic; font-size: 16px; }

/* ---------- About ---------- */
.founder { display: grid; grid-template-columns: 120px 1fr; gap: 36px; align-items: center; padding: 48px 52px; }
.avatar { display: flex; align-items: center; justify-content: center; width: 112px; height: 112px; border-radius: 50%; background: var(--accent); color: var(--on-accent); font-family: var(--font-head); font-weight: 800; font-size: 32px; letter-spacing: -0.02em; }
.founder h3 { font-size: 30px; font-weight: 800; letter-spacing: -0.03em; margin-bottom: 4px; }
.founder .role { color: var(--white); font-weight: 600; margin-bottom: 14px; }
.stack-p p { font-size: 18px; margin-bottom: 1.1em; }

/* ---------- Pricing ---------- */
.plans { margin-top: 40px; }
.plan { display: flex; flex-direction: column; }
.plan h3 { font-size: 26px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 18px; }
.plan ul { list-style: none; margin: 0 0 24px; padding: 0; flex: 1; }
.plan li { padding: 13px 0; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 15px; }
.plan li:last-child { border-bottom: 1px solid rgba(255, 255, 255, .1); }
.plan li strong { font-weight: 600; }
.price { margin: 0 0 22px; color: var(--white); font-size: 16px; }
.price b { font-family: var(--font-head); font-size: 34px; font-weight: 800; letter-spacing: -0.03em; margin-right: 4px; }
.plan .btn { align-self: flex-start; }

/* ---------- Contact ---------- */
.contact-list { margin: 28px 0 0; display: grid; grid-template-columns: auto 1fr; gap: 12px 22px; align-items: baseline; }
.contact-list dt { color: var(--text); font-size: 14px; }
.contact-list dd { margin: 0; }
.contact-list a { font-weight: 700; font-size: 17px; display: inline-block; padding: 4px 0; }
.contact-lines .contact-row { margin-bottom: 18px; }
.contact-lines .label { display: block; color: var(--text); font-size: 14px; margin-bottom: 2px; }
.contact-lines a { font-weight: 700; font-size: 20px; }
.small-print { font-size: 15px; color: var(--muted); }

/* ---------- Form ---------- */
.form-card { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 40px 32px 44px; }
.form-card > h3 { font-size: 22px; margin-bottom: 26px; }
.enquiry-form .field { margin: 0 0 22px; }
.enquiry-form label, .enquiry-form legend { display: block; color: var(--white); font-size: 14px; font-weight: 500; line-height: 1.4; margin-bottom: 8px; }
.enquiry-form fieldset { border: 0; padding: 0; min-width: 0; }
.enquiry-form legend { padding: 0; }
.req { color: #ff5b5b; margin-left: 3px; }
.enquiry-form input[type="text"], .enquiry-form input[type="email"], .enquiry-form input[type="tel"],
.enquiry-form input[type="url"], .enquiry-form select, .enquiry-form textarea {
  display: block; width: 100%;
  padding: 11px 14px;
  background: #2e2c2b; color: var(--white);
  border: 1px solid rgba(255, 255, 255, .14); border-radius: 7px;
  font: inherit; font-size: 15px; line-height: 1.4;
  transition: border-color .2s, background-color .2s;
}
.enquiry-form textarea { min-height: 110px; resize: vertical; }
.enquiry-form ::placeholder { color: #8b8988; opacity: 1; }
.enquiry-form input:focus, .enquiry-form select:focus, .enquiry-form textarea:focus { outline: none; border-color: var(--accent); background: #33302f; }
.enquiry-form select {
  appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23ffffff' stroke-width='1.8'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
.enquiry-form select option { background: #2e2c2b; color: #fff; }
.choice-group .choice { display: flex; align-items: center; gap: 9px; margin: 0 0 7px; font-size: 14px; font-weight: 500; color: var(--white); cursor: pointer; }
.choice input { width: 16px; height: 16px; margin: 0; accent-color: var(--accent); flex: 0 0 auto; }
.field-error { color: #ff8a7a; font-size: 14px; margin: 6px 0 0; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.enquiry-form .btn { margin-top: 6px; font-size: 16px; padding: 14px 30px; }
.form-note { margin: 18px 0 0; font-size: 14px; color: var(--text); }

/* ---------- Policies / prose ---------- */
.prose > * { max-width: 780px; }
.prose h1 { font-size: 56px; margin-bottom: 16px; }
.prose h2 { font-size: 26px; letter-spacing: -0.02em; margin: 44px 0 12px; }
.prose .effective { color: var(--muted); font-size: 15px; margin-bottom: 28px; }
.prose li { margin-bottom: 8px; }
.prose li::marker { color: var(--accent); }

/* ---------- Thank you / 404 ---------- */
.message-page { min-height: 52vh; display: flex; align-items: center; }

/* =====================================================================
   Responsive
   ===================================================================== */
@media (max-width: 1100px) {
  .main-nav ul { gap: 24px; }
  h1 { font-size: 56px; }
}

@media (max-width: 980px) {
  :root { --header-h: 76px; --section-y: 72px; }
  h1 { font-size: 48px; }
  h2 { font-size: 38px; }
  .logo img { height: 54px; }

  /* Mobile menu */
  .header-inner { gap: 14px; flex-wrap: wrap; min-height: 0; padding: 12px 0; }
  .menu-open .header-inner { padding-bottom: 0; }
  .btn-header { margin-left: auto; }
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 46px; height: 46px; padding: 0; margin-right: -8px;
    background: transparent; border: 0; border-radius: 8px; color: var(--white); cursor: pointer;
  }
  .nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
    display: block; width: 24px; height: 2px; border-radius: 2px; background: currentColor;
    transition: transform .25s, opacity .2s;
  }
  .nav-toggle-bars { position: relative; }
  .nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
  .nav-toggle-bars::before { top: -7px; }
  .nav-toggle-bars::after { top: 7px; }
  .menu-open .nav-toggle-bars { background: transparent; }
  .menu-open .nav-toggle-bars::before { transform: translateY(7px) rotate(45deg); }
  .menu-open .nav-toggle-bars::after { transform: translateY(-7px) rotate(-45deg); }

  .main-nav { display: none; order: 10; flex: 1 0 100%; margin: 0 -5.6%; padding: 0 5.6%; border-top: 1px solid #1c1c1c; background: #000; }
  .menu-open .main-nav { display: block; }
  .main-nav ul { flex-direction: column; gap: 0; padding: 8px 0 18px; }
  .main-nav li { border-bottom: 1px solid #161616; }
  .main-nav li:last-child { border-bottom: 0; }
  .main-nav a { display: block; padding: 14px 0; font-size: 18px; }

  .split, .split-40, .panel .split { grid-template-columns: 1fr; gap: 44px; }
  .sticky { position: static; }
  .hero { padding: 48px 0 40px; }
  .hero-home { grid-template-columns: 1fr; }
  .hero-graphic { justify-content: flex-start; }
  .triangle-mark { max-width: 340px; }
  .hero-lottie { max-width: 400px; }
  .mock-wrap { max-width: 620px; }
  .note-card { margin-left: 0; }
  .cols-3 { grid-template-columns: 1fr; }
  .plans.cols-3 { grid-template-columns: 1fr; max-width: 560px; margin-left: auto; margin-right: auto; }
  .panel { padding: 48px 36px; }
  .founder { padding: 40px 36px; }
}

@media (max-width: 767px) {
  :root { --section-y: 60px; }
  body { font-size: 16px; }
  h1 { font-size: 40px; }
  h2 { font-size: 32px; }
  .hero .lead { font-size: 17px; }
  .logo img { height: 48px; }
  .btn-header { padding: 10px 18px; font-size: 14px; }
  .rule-item { grid-template-columns: 1fr; gap: 8px; padding: 24px 0; }
  .steps { grid-template-columns: 1fr; gap: 32px; }
  .steps::before { top: 18px; bottom: 18px; left: 18px; right: auto; width: 1px; height: auto; }
  .step { display: grid; grid-template-columns: 36px 1fr; column-gap: 20px; }
  .step .step-num { grid-row: span 2; }
  .step h3 { margin: 6px 0 8px; }
  .step > p:first-of-type:last-child, .step .step-text { grid-column: 2; }
  .work-grid { grid-template-columns: 1fr; }
  .cols-2 { grid-template-columns: 1fr; }
  .chips { grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
  .chip { padding: 10px; min-height: 70px; }
  .chip span { font-size: 12px; }
  .mock-body { padding: 22px 18px 18px; }
  .mock-body h2 { font-size: 24px; }
  .note-card { width: auto; margin: -20px 14px 0; }
  .mock-wrap { padding-bottom: 0; }
  .panel { padding: 36px 22px; border-radius: 20px; }
  .founder { grid-template-columns: 1fr; gap: 22px; padding: 32px 24px; }
  .avatar { width: 88px; height: 88px; font-size: 26px; }
  .form-card { padding: 30px 20px 34px; }
  .prose h1 { font-size: 40px; }
  .prose h2 { font-size: 22px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .contact-list { grid-template-columns: 1fr; gap: 2px; }
  .contact-list dd { margin-bottom: 12px; }
}

@media (max-width: 380px) {
  .btn-header { padding: 9px 14px; }
  .logo img { height: 44px; }
}

/* ---------- Mobile polish (Nov 2026) ----------
   Desktop (>980px) is untouched; everything below only applies on
   tablets and phones, except the two safety nets in the first rule. */
html { overflow-x: clip; }                       /* safety net: never side-scroll (clip keeps the sticky header working) */
body { overflow-wrap: break-word; }              /* long emails / URLs wrap instead of pushing the page wider */

@media (max-width: 980px) {
  /* Never let a no-wrap button push past the screen edge */
  .btn { max-width: 100%; white-space: normal; text-align: center; }
  .nav-toggle { flex: 0 0 auto; }
  .main-nav a { min-height: 48px; display: flex; align-items: center; }
}

@media (max-width: 767px) {
  :root { --section-y: 52px; }

  /* Fluid headings: scale with the screen instead of jumping */
  h1, .prose h1 { font-size: clamp(32px, 7.5vw + 9px, 40px); line-height: 1.05; }
  h2 { font-size: clamp(26px, 5.5vw + 9px, 32px); line-height: 1.1; }
  .mock-body h2 { font-size: clamp(21px, 4vw + 7px, 24px); }
  .founder h3 { font-size: clamp(24px, 4vw + 10px, 30px); }
  .contact-h2 { font-size: clamp(26px, 5.5vw + 9px, 34px); }
  .topics-h { font-size: clamp(22px, 3vw + 11px, 26px); margin: 44px 0 20px; }
  .hero { padding: 36px 0 32px; }
  .hero h1 { margin-bottom: 20px; }
  .section-head { margin-bottom: 32px; }
  .split, .split-40, .panel .split { gap: 36px; }

  /* Header: comfortable tap targets */
  .header-inner { gap: 10px; }
  .btn-header { min-height: 44px; }

  /* Buttons and stand-alone links: at least 44px tall */
  .btn { min-height: 48px; }
  .btn-row { gap: 12px 24px; margin-top: 28px; }
  .btn-row .text-link, .text-link { display: inline-flex; align-items: center; min-height: 44px; }
  .contact-list a, .contact-lines a { display: inline-flex; align-items: center; min-height: 44px; }
  .contact-lines .contact-row { margin-bottom: 12px; }
  .contact-lines a { font-size: 19px; }

  /* Hero graphics: smaller so the copy stays above the fold */
  .triangle-mark, .hero-lottie { max-width: 220px; }
  .chip strong { font-size: 14px; }
  .chip span { font-size: 12px; line-height: 1.35; display: block; }
  .mock-bar { padding: 11px 16px; }
  .mock-status { flex-wrap: wrap; }
  .note-card { margin-top: -14px; padding: 18px; }

  /* Cards and pricing */
  .card { padding: 26px 22px 28px; }
  .plan h3 { font-size: 23px; }
  .price b { font-size: 30px; }
  .plan .btn { align-self: stretch; }
  .quote-card blockquote { margin-bottom: 22px; }

  /* Form: 16px text stops iPhones zooming in on tap; bigger tick boxes */
  .enquiry-form input[type="text"], .enquiry-form input[type="email"], .enquiry-form input[type="tel"],
  .enquiry-form input[type="url"], .enquiry-form select, .enquiry-form textarea { font-size: 16px; min-height: 48px; padding: 12px 14px; }
  .enquiry-form select { padding-right: 40px; }
  .enquiry-form textarea { min-height: 120px; }
  .choice-group .choice { min-height: 44px; margin: 0; font-size: 15px; gap: 12px; }
  .choice input { width: 20px; height: 20px; }
  .enquiry-form .btn { width: 100%; }

  /* Footer: stacked, with tappable links */
  .site-footer { padding: 30px 0 26px; }
  .footer-inner { gap: 16px; }
  .footer-tagline { max-width: none; }
  .footer-nav ul { gap: 0 24px; }
  .footer-nav a { display: inline-flex; align-items: center; min-height: 44px; }

  /* Policy pages */
  .prose h2 { margin: 36px 0 10px; }
  .prose ul, .prose ol { padding-left: 1.15em; }
  .prose table { display: block; max-width: 100%; overflow-x: auto; }
}

@media (max-width: 380px) {
  .header-inner { gap: 8px; }
  .chips { gap: 6px; }
  .chip { padding: 9px 8px; }
  .panel { padding: 30px 18px; }
  .card { padding: 24px 18px 26px; }
  .form-card { padding: 26px 16px 30px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* small helpers */
.quote-card { margin: 0; }
.h-narrow { max-width: 620px; }
.topics-h { font-size: 26px; font-weight: 800; letter-spacing: -0.02em; margin: 56px 0 26px; }
.contact-h2 { font-size: 34px; margin-top: 40px; }

.nowrap { white-space: nowrap; }

/* Jump target for "Start a project" buttons: clear the sticky header */
#enquiry { scroll-margin-top: calc(var(--header-h) + 16px); }

/* ---------- Blog: article list + posts ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 36px; }
.post-narrow { max-width: 820px; }
.post-body > * { max-width: none; }
.post-body p, .post-body li { font-size: 18px; line-height: 1.7; }
.post-body h2 { margin-top: 48px; }
.post-body h3 { font-size: 21px; margin: 30px 0 10px; }
.post-body ul, .post-body ol { padding-left: 1.3em; margin: 0 0 22px; }
.post-body code { font-size: .9em; background: var(--panel-2); padding: 1px 6px; border-radius: 6px; color: var(--white); }
.post-body .table-wrap { overflow-x: auto; margin: 24px 0 28px; border: 1px solid var(--border); border-radius: var(--radius-sm); }
.post-body table { width: 100%; border-collapse: collapse; font-size: 16px; min-width: 520px; }
.post-body th, .post-body td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--border); vertical-align: top; }
.post-body th { background: var(--panel-2); color: var(--white); font-weight: 600; }
.post-body td { background: var(--panel); }
.post-body tr:last-child td { border-bottom: 0; }
.post-cta { margin: 36px 0 8px; }
.post-body .post-cta .btn { text-decoration: none; }
.related-h { font-size: 22px !important; }
.post-tags { list-style: none; padding: 0 !important; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 40px !important; }
.post-tags li { font-size: 13px !important; line-height: 1.4 !important; margin: 0 !important; padding: 6px 12px; border-radius: 999px; background: var(--panel-2); color: var(--text); }
@media (max-width: 980px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) {
  .post-grid { grid-template-columns: 1fr; }
  .post-body p, .post-body li { font-size: 17px; }
  .post-body table { min-width: 460px; font-size: 15px; }
}

/* ---------- Blog (WordPress-style list, archives, single post) — 28 Nov 2026 ---------- */
.blog-band { background: var(--panel); border-bottom: 1px solid var(--border); padding: 56px 0 40px; text-align: center; }
.blog-band .eyebrow { justify-content: center; }
.blog-band h1 { font-size: clamp(36px, 3vw + 20px, 58px); margin: 0 0 12px; }
.blog-band-intro { max-width: 640px; margin: 0 auto 26px; font-size: 18px; }
.blog-search { display: flex; gap: 10px; max-width: 560px; margin: 0 auto; }
.blog-search input { flex: 1; min-width: 0; padding: 13px 20px; border-radius: 999px; border: 1px solid var(--border); background: #000; color: var(--white); font: inherit; font-size: 16px; }
.blog-search input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.blog-cats { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 24px; }
.blog-cats a { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--border); color: var(--text); text-decoration: none; font-size: 14px; }
.blog-cats a span { color: var(--muted); margin-left: 4px; }
.blog-cats a:hover, .blog-cats a[aria-current] { border-color: var(--accent); color: var(--white); }
.blog-list .post-grid { margin-top: 0; }
.post-card { display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: border-color .2s; }
.post-card[hidden] { display: none; }
.post-card:hover { border-color: rgba(244, 133, 28, .55); }
.post-card-img img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; display: block; transition: transform .3s; }
.post-card-img { display: block; overflow: hidden; }
.post-card:hover .post-card-img img { transform: scale(1.03); }
.post-card-body { display: flex; flex-direction: column; gap: 10px; padding: 22px 24px 26px; flex: 1; }
.post-card-title { margin: 0; font-family: var(--font-head); font-weight: 700; font-size: 20px; line-height: 1.25; letter-spacing: -0.01em; }
.post-card-title a { color: var(--white); text-decoration: none; }
.post-card-title a:hover { color: var(--accent); }
.post-card-meta { margin: 0; font-size: 13px; font-weight: 600; letter-spacing: .03em; color: var(--accent); }
.post-card-meta a { color: var(--accent); text-decoration: none; }
.post-card-meta a:hover { text-decoration: underline; }
.post-card-meta span { margin: 0 4px; color: var(--muted); }
.post-card-excerpt { margin: 0; font-size: 15px; line-height: 1.6; color: var(--text); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.btn-sm { padding: 9px 20px; font-size: 14px; }
.post-card-more { align-self: flex-start; margin-top: auto; }
.post-card-excerpt + .post-card-more { margin-top: 8px; }
.blog-noresults { text-align: center; margin: 24px 0 0; }
.blog-cta { border-top: 1px solid var(--border); }
.blog-cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.blog-cta-inner h2 { margin: 0; font-size: clamp(24px, 2vw + 12px, 34px); }

.post-head { padding-bottom: 0; text-align: center; }
.post-crumb { font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.post-crumb a { color: var(--accent); text-decoration: none; display: inline-block; padding: 6px 2px; }
.post-crumb a:hover { text-decoration: underline; }
.post-head h1 { font-size: clamp(32px, 3.2vw + 14px, 52px); line-height: 1.1; margin: 0 auto 16px; }
.post-meta { font-size: 14px; color: var(--muted); margin: 0; }
.post-meta a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.post-meta span { margin: 0 6px; }
.post-hero-img { margin-top: 30px; }
.post-hero-img img { width: 100%; height: auto; border-radius: var(--radius); display: block; }
.post-main { padding-top: 8px; }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.share a, .share button { font: inherit; font-size: 13px; font-weight: 600; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--border); background: transparent; color: var(--text); text-decoration: none; cursor: pointer; }
.share a:hover, .share button:hover { border-color: var(--accent); color: var(--white); }
.share-sm { justify-content: center; margin-top: 20px; padding-bottom: 22px; border-bottom: 1px solid var(--rule); }
.share-label { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-right: 4px; }
.post-share-panel { margin-top: 44px; padding: 26px 28px; background: var(--panel); border-top: 3px solid var(--accent); border-radius: var(--radius-sm); }
.post-body .post-share-title { margin: 0 0 14px; font-family: var(--font-head); font-weight: 700; font-size: 21px; color: var(--white); }
.post-share-panel .share a, .post-share-panel .share button { font-size: 14px; padding: 9px 16px; }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 36px; }
.post-body .post-nav a { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px; border: 1px solid var(--border); border-radius: var(--radius-sm); color: var(--white); text-decoration: none; font-family: var(--font-head); font-weight: 700; font-size: 17px; line-height: 1.3; }
.post-body .post-nav a span { font-family: var(--font-body); font-size: 13px; font-weight: 600; color: var(--accent); }
.post-body .post-nav a:hover { border-color: var(--accent); }
.post-nav-next { text-align: right; grid-column: 2; }
.related-band { background: #0c0c0c; border-top: 1px solid var(--border); }
.related-h { text-align: center; margin: 0 0 32px; }
@media (max-width: 640px) {
  .blog-band { padding: 40px 0 30px; }
  .blog-search .btn { padding: 12px 18px; }
  .post-nav { grid-template-columns: 1fr; }
  .post-nav-next { grid-column: 1; }
  .post-share-panel { padding: 22px 18px; }
}
.post-body .table-wrap:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.post-card-meta a { display: inline-block; padding: 4px 0; }

/* Formaloo enquiry form embed (Home + Contact) */
.form-embed { margin: 0; }
.form-embed iframe { display: block; width: 100%; height: 2120px; border: 0; border-radius: 10px; background: transparent; }
.form-embed-fallback[hidden] { display: none; }
.form-embed-fallback { margin: 14px 0 0; font-size: 14px; color: var(--text); }
.form-embed-fallback a { color: var(--accent); }
@media (max-width: 767px) { .form-embed iframe { height: 2320px; } }

/* Blog email signup (Brevo) */
.subscribe-band { padding: 0 0 var(--section-y, 80px); }
.subscribe-card { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 36px 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; }
.subscribe-copy h2 { font-size: clamp(24px, 2vw + 12px, 32px); margin: 0 0 10px; }
.subscribe-copy p { margin: 0; color: var(--text); }
.subscribe-form { display: flex; flex-wrap: wrap; gap: 12px; }
.subscribe-form input[type="email"] { flex: 1 1 220px; min-width: 0; background: #2f2d2c; border: 1px solid #3a3836; border-radius: 999px; color: var(--white); font: inherit; padding: 13px 20px; }
.subscribe-form input[type="email"]::placeholder { color: #a9a4a0; }
.subscribe-form input[type="email"]:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.subscribe-form .btn { flex: 0 0 auto; }
.subscribe-form .btn[disabled] { opacity: .6; cursor: wait; }
.subscribe-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.subscribe-msg { flex-basis: 100%; margin: 4px 0 0; font-size: 15px; color: #8fd9a8; }
.subscribe-msg.is-error { color: #ff9a8a; }
.subscribed-note { margin: 24px 0 0; padding: 14px 18px; border: 1px solid var(--accent); border-radius: 10px; color: var(--white); background: #2f2d2c; }
@media (max-width: 767px) { .subscribe-card { grid-template-columns: 1fr; padding: 28px 20px; } }

/* Home: proof strip, care teaser, section link (Home draft 2, 30 Nov 2026) */
.proof-strip { padding: 22px 0; border-top: 1px solid var(--line, #3a3836); border-bottom: 1px solid var(--line, #3a3836); }
.proof-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; color: #cfcac6; font-size: 15px; font-weight: 500; }
.proof-list li { display: flex; align-items: center; gap: 10px; }
.proof-list li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex: 0 0 auto; }
.section-link { margin-top: 28px; }
.care-teaser { display: flex; align-items: center; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap; padding: 40px; border-radius: 24px; background: #262423; }
.care-teaser h2 { margin-top: 0; }
.care-teaser p { margin-bottom: 0; max-width: 60ch; }
@media (max-width: 767px) { .care-teaser { padding: 28px 22px; } .proof-list { justify-content: flex-start; } }

/* Cookie banner (shown only when site.analytics.gaId is set) */
.cookie-banner { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60; max-width: 720px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; padding: 16px 20px; border-radius: 18px; background: #2f2d2c; border: 1px solid #3a3836; box-shadow: 0 10px 30px rgba(0,0,0,.5); }
.cookie-banner[hidden] { display: none; }
.cookie-banner p { margin: 0; font-size: 15px; color: #cfcac6; }
.cookie-banner a { color: #fff; }
.cookie-actions { display: flex; gap: 10px; }
.btn-small { padding: 10px 18px; font-size: 15px; min-height: 44px; }
.btn-ghost { background: transparent; color: #fff; border: 1px solid #cfcac6; }

.post-hero-caption { margin: 8px 0 0; font-size: 14px; color: #a8a29e; text-align: center; }
