/* ===============================================================
   Kassako Property Services
   ===============================================================
   Type:   Montserrat (headings, nav, buttons) · Open Sans (body)
   Colour: navy primary, safety orange action, white / grey sections
   Build:  square corners, solid bands, photo-led — the conventions
           commercial facility-services companies actually use
   ============================================================= */

:root {
  --navy:       #1f2426;
  --navy-deep:  #15191a;
  --navy-mid:   #2e3639;
  --orange:     #2f5d50;
  --orange-dark:#24483f;
  --ink:        #1a1e20;
  --body:       #4a4f52;
  --muted:      #767b7e;
  --grey-bg:    #f0eee9;
  --grey-line:  #dedbd4;
  --white:      #ffffff;
  --bone:       #faf9f6;
  --accent-viz: #3f7a69;   /* lifted accent used by the hero canvas */

  --head: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
  --text: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --max: 1200px;
  --gutter: 24px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--text);
  font-size: 16px;
  line-height: 1.7;
  color: var(--body);
  background: var(--bone);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--orange); }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--navy); color: #fff; padding: 12px 18px; z-index: 300;
}
.skip-link:focus { left: 10px; top: 10px; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ============================================
   Headings
   ============================================ */
h1, h2, h3, h4 { font-family: var(--head); color: var(--navy); font-weight: 700; line-height: 1.18; }

h1 { font-size: clamp(30px, 4.4vw, 50px); line-height: 1.1; letter-spacing: -0.01em; }
h2 { font-size: clamp(25px, 3.1vw, 36px); }
h2 + p, h2 + ul, h2 + .table-wrap, h2 + .btn-row, h3 + p { margin-top: 16px; }
h3 { font-size: 19px; }

.eyebrow {
  display: inline-block;
  font-family: var(--head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 14px;
}
.eyebrow--light { color: #9dc4b6; }

.lede { font-size: 17.5px; line-height: 1.65; color: var(--body); max-width: 56ch; }
.section-head { margin-bottom: 52px; max-width: 680px; }
.section-head .lede { margin-top: 14px; }
.section-head h2::after {
  content: ""; display: block; width: 56px; height: 4px;
  background: var(--orange); margin-top: 18px;
}
.center { text-align: center; margin-left: auto; margin-right: auto; }
.center h2::after { margin-left: auto; margin-right: auto; }

p + p { margin-top: 1.1em; }
.prose p { max-width: 70ch; }

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--head);
  font-size: 14px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 16px 30px;
  border: 2px solid var(--orange);
  background: var(--orange);
  color: #fff;
  text-decoration: none;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.btn:hover { background: var(--orange-dark); border-color: var(--orange-dark); }

.btn-navy { background: var(--navy); border-color: var(--navy); }
.btn-navy:hover { background: var(--navy-deep); border-color: var(--navy-deep); }

.btn-outline { background: transparent; border-color: #fff; color: #fff; }
.btn-outline:hover { background: #fff; color: var(--navy); border-color: #fff; }

.btn-outline-navy { background: transparent; border-color: var(--navy); color: var(--navy); }
.btn-outline-navy:hover { background: var(--navy); color: #fff; }

.btn-sm { padding: 12px 20px; font-size: 13px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

.arrow-link {
  font-family: var(--head); font-size: 13px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--orange); text-decoration: none;
  display: inline-flex; align-items: center; gap: 7px;
}
.arrow-link:hover { color: var(--orange-dark); }
.arrow-link::after { content: "\2192"; font-size: 15px; }

/* ============================================
   Top utility bar + header
   ============================================ */
.topbar { background: var(--navy-deep); color: #a8a49c; font-size: 13.5px; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 42px; }
.topbar a { color: #fff; text-decoration: none; font-weight: 600; }
.topbar a:hover { color: var(--orange); }
.topbar-left { display: flex; gap: 26px; align-items: center; }

.site-header { background: #fff; border-bottom: 1px solid var(--grey-line); position: sticky; top: 0; z-index: 100; }
.header-inner { display: flex; align-items: center; gap: 22px; height: 82px; }

.logo { display: flex; align-items: center; gap: 11px; text-decoration: none; flex-shrink: 0; }
.logo-mark {
  width: 38px; height: 38px; background: var(--orange);
  display: grid; place-items: center;
  font-family: var(--head); font-weight: 700; font-size: 20px; color: #fff;
}
.logo-text { font-family: var(--head); font-weight: 700; font-size: 23px; color: var(--navy); letter-spacing: -0.01em; line-height: 1; }
.logo-sub { display: block; font-family: var(--text); font-size: 10.5px; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--muted); margin-top: 3px; }

.nav { display: flex; gap: 18px; margin-left: auto; }
.nav a {
  font-family: var(--head); font-size: 13px; font-weight: 600;
  letter-spacing: 0.03em; text-transform: uppercase;
  color: var(--navy); text-decoration: none;
  padding: 30px 0; border-bottom: 3px solid transparent;
  white-space: nowrap;
}
.nav a:hover { color: var(--orange); }
.nav a[aria-current="page"] { border-bottom-color: var(--orange); }

.header-cta { display: flex; align-items: center; gap: 18px; margin-left: 8px; flex-shrink: 0; }
.header-phone { text-decoration: none; line-height: 1.2; }
.header-phone small { display: block; font-size: 11px; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--muted); }
.header-phone strong { font-family: var(--head); font-size: 18px; color: var(--navy); }
.header-phone:hover strong { color: var(--orange); }

.nav-toggle {
  display: none; margin-left: auto;
  background: var(--navy); color: #fff; border: 0; border-radius: 2px;
  padding: 12px 16px; font-family: var(--head); font-size: 13px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; cursor: pointer;
}

/* ============================================
   Hero
   ============================================ */
.hero {
  position: relative;
  background: var(--navy);
  background-blend-mode: normal;
  color: #fff;
  padding: 96px 0 88px;
  background-size: cover;
  background-position: center;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(21,25,26,0.93) 0%, rgba(21,25,26,0.82) 38%, rgba(21,25,26,0.38) 100%);
}
.hero .container { position: relative; }
.hero h1 { color: #fff; max-width: 27ch; }
.hero .lede { color: #d6d3cc; margin-top: 20px; font-size: 18px; max-width: 58ch; }
.hero .btn-row { margin-top: 32px; }
.hero-sub { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 34px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,0.18); }
.hero-sub span { font-size: 14.5px; color: #d6d3cc; display: flex; align-items: center; gap: 9px; }
.hero-sub span::before {
  content: ""; width: 8px; height: 8px; background: var(--orange); flex-shrink: 0;
}

.hero--inner { padding: 54px 0 46px; }
.hero--inner h1 { max-width: 24ch; font-size: clamp(28px, 3.6vw, 40px); }
.hero--inner .lede { font-size: 16.5px; margin-top: 14px; max-width: 62ch; }
.hero--inner .btn-row { margin-top: 24px; }
.hero--inner .hero-sub { margin-top: 24px; padding-top: 18px; gap: 8px 22px; }
.hero--inner .hero-sub span { font-size: 13.5px; }
.hero--inner::before {
  background: linear-gradient(100deg, rgba(21,25,26,0.95) 0%, rgba(21,25,26,0.88) 45%, rgba(21,25,26,0.55) 100%);
}

/* Breadcrumb */
.crumbs { font-size: 13.5px; color: #a09c94; margin-bottom: 16px; }
.crumbs a { color: #d6d3cc; text-decoration: none; }
.crumbs a:hover { color: #fff; }

/* ============================================
   Credential strip
   ============================================ */
.creds { background: var(--grey-bg); border-bottom: 1px solid var(--grey-line); }
.creds-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.creds-item { padding: 34px 26px 34px 0; display: flex; gap: 14px; align-items: flex-start; }
.creds-item + .creds-item { border-left: 1px solid var(--grey-line); padding-left: 26px; }
.creds-item svg { flex-shrink: 0; margin-top: 3px; }
.creds-item strong { display: block; font-family: var(--head); font-size: 15px; color: var(--navy); }
.creds-item span { font-size: 14px; color: var(--muted); line-height: 1.5; display: block; margin-top: 2px; }

/* ============================================
   Sections
   ============================================ */
section { padding: 100px 0; }
.sec-grey { background: var(--grey-bg); }
.sec-navy { background: var(--navy); }
.sec-navy h2, .sec-navy h3 { color: #fff; }
.sec-navy p, .sec-navy .lede { color: #cbc8c1; }
.sec-tight { padding: 64px 0; }

/* ============================================
   Service cards
   ============================================ */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.cards-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: #fff; border: 1px solid var(--grey-line);
  color: var(--body);
  display: flex; flex-direction: column; text-decoration: none;
  transition: box-shadow 0.18s ease, transform 0.18s ease;
}
.card:hover { box-shadow: 0 14px 32px rgba(31,36,38,0.13); transform: translateY(-3px); }
.card-img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--grey-bg); }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-tag {
  position: absolute; left: 0; bottom: 0;
  background: var(--orange); color: #fff;
  font-family: var(--head); font-size: 11.5px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 7px 14px;
}
.card-body { padding: 22px 20px 24px; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { margin-bottom: 10px; }
.card-body p { font-size: 14.5px; line-height: 1.6; }
.card-body .arrow-link { margin-top: auto; padding-top: 20px; }

/* ============================================
   Buyer lanes
   ============================================ */
.lanes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.lane {
  background: #fff;
  border: 1px solid var(--grey-line);
  border-top: 4px solid var(--navy);
  padding: 26px 22px;
  display: flex; flex-direction: column;
  text-decoration: none; color: var(--body);
  transition: border-top-color 0.15s ease, box-shadow 0.18s ease, transform 0.18s ease;
}
.lane:hover { border-top-color: var(--orange); box-shadow: 0 12px 26px rgba(31,36,38,0.11); transform: translateY(-3px); }
.lane h3 { margin-bottom: 10px; font-size: 18px; }
.lane p { font-size: 14.5px; }
.lane .arrow-link { margin-top: auto; padding-top: 20px; }

/* ============================================
   Split feature (image + list)
   ============================================ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: stretch; }
.split-img { display: flex; }
.split-img img { width: 100%; height: 100%; min-height: 340px; max-height: 620px; object-fit: cover; }
.split--reverse .split-img { order: 2; }

.ticks { list-style: none; margin-top: 26px; }
.ticks li { position: relative; padding: 11px 0 11px 34px; font-size: 15.5px; border-bottom: 1px solid var(--grey-line); }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 17px;
  width: 17px; height: 17px; background: var(--orange);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 6L9 17l-5-5' fill='none' stroke='%23000' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 6L9 17l-5-5' fill='none' stroke='%23000' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
}
.sec-navy .ticks li { border-bottom-color: rgba(255,255,255,0.14); color: #cbc8c1; }
.hero .ticks li { border-bottom-color: rgba(255,255,255,0.16); color: #e2dfd8; font-size: 16px; }
.hero .ticks { margin-top: 22px; max-width: 760px; }
.ticks--2col { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 40px; }

/* ============================================
   Stats band
   ============================================ */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.stat-value { font-family: var(--head); font-weight: 700; font-size: clamp(30px, 3.6vw, 42px); color: #fff; line-height: 1; }
.stat-label { font-size: 14px; color: #a8a49c; margin-top: 10px; }

/* ============================================
   Process steps
   ============================================ */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; counter-reset: step; }
.step { counter-increment: step; }
.step::before {
  content: "0" counter(step);
  display: grid; place-items: center;
  width: 54px; height: 54px;
  background: var(--navy); color: #fff;
  font-family: var(--head); font-weight: 700; font-size: 17px;
  margin-bottom: 18px;
}
.step h3 { margin-bottom: 8px; }
.step p { font-size: 15px; }
.sec-navy .step::before { background: var(--orange); }

/* ============================================
   Table
   ============================================ */
.table-wrap { overflow-x: auto; border: 1px solid var(--grey-line); background: #fff; }
table.spec { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 660px; }
table.spec th {
  text-align: left; background: var(--navy); color: #fff;
  font-family: var(--head); font-size: 13px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 16px 20px; white-space: nowrap;
}
table.spec td { padding: 16px 20px; border-bottom: 1px solid var(--grey-line); vertical-align: top; }
table.spec tr:last-child td { border-bottom: 0; }
table.spec tr:nth-child(even) td { background: #faf9f6; }
table.spec td:first-child { color: var(--navy); font-weight: 600; font-family: var(--head); font-size: 14.5px; }
table.spec td.num { white-space: nowrap; font-weight: 600; color: var(--navy); }

/* ============================================
   Fact panel (sidebar box)
   ============================================ */
.panel { background: var(--grey-bg); border-top: 4px solid var(--orange); padding: 28px 26px 8px; }
.sec-navy .panel { background: var(--navy-deep); }
.panel h2, .panel h3 {
  font-size: 14px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--navy); padding-bottom: 14px; border-bottom: 1px solid var(--grey-line); margin-bottom: 4px;
}
.sec-navy .panel h3 { color: #fff; border-bottom-color: rgba(255,255,255,0.16); }
.panel-row { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--grey-line); font-size: 14.5px; }
.panel-row:last-child { border-bottom: 0; }
.panel-row dt { color: var(--muted); }
.panel-row dd { color: var(--navy); font-weight: 600; text-align: right; }
.sec-navy .panel-row { border-bottom-color: rgba(255,255,255,0.12); }
.sec-navy .panel-row dt { color: #a8a49c; }
.sec-navy .panel-row dd { color: #fff; }

/* ============================================
   Gallery
   ============================================ */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gallery figure { position: relative; overflow: hidden; aspect-ratio: 4 / 3; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: linear-gradient(transparent, rgba(21,25,26,0.86));
  color: #fff; font-family: var(--head); font-size: 13px; font-weight: 600;
  padding: 26px 14px 12px;
}

/* ============================================
   FAQ
   ============================================ */
.faq { max-width: 900px; }
.faq details { background: #fff; border: 1px solid var(--grey-line); margin-bottom: 12px; }
.faq summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 20px 56px 20px 22px;
  font-family: var(--head); font-weight: 600; font-size: 16.5px; color: var(--navy);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px; background: var(--orange); color: #fff;
  display: grid; place-items: center; font-size: 18px; font-family: var(--head);
}
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding: 0 22px 22px; font-size: 15.5px; }

/* ============================================
   Form
   ============================================ */
.form-card { background: #fff; border: 1px solid var(--grey-line); border-top: 5px solid var(--orange); padding: 34px 32px; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { font-family: var(--head); font-size: 13px; font-weight: 600; color: var(--navy); }
.field input, .field select, .field textarea {
  font-family: var(--text); font-size: 15px; color: var(--ink);
  background: #fff; border: 1px solid #cfccc5; border-radius: 2px; padding: 13px 14px; width: 100%;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--orange); outline: none; }
.form-note { font-size: 13.5px; color: var(--muted); margin-top: 14px; }
.hp { position: absolute; left: -9999px; }

/* ============================================
   CTA band
   ============================================ */
.cta-band { background: var(--orange); color: #fff; padding: 54px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 36px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; font-size: clamp(23px, 2.6vw, 31px); }
.cta-band p { color: #cfe3db; margin-top: 8px; }
.cta-band .btn { background: #fff; border-color: #fff; color: var(--navy); }
.cta-band .btn:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.cta-band .btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,0.7); }
.cta-band .btn-outline:hover { background: #fff; color: var(--orange); border-color: #fff; }

/* ============================================
   Areas
   ============================================ */
.areas { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--grey-line); list-style: none; }
.areas li {
  padding: 14px 16px 14px 0; border-bottom: 1px solid var(--grey-line);
  font-family: var(--head); font-size: 15px; font-weight: 600; color: var(--navy);
}

/* ============================================
   Footer
   ============================================ */
.site-footer { background: var(--navy-deep); color: #a09c94; padding: 66px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1.2fr; gap: 40px; }
.site-footer h3 {
  font-size: 14px; letter-spacing: 0.1em; text-transform: uppercase; color: #fff; margin-bottom: 20px;
  padding-bottom: 12px; border-bottom: 2px solid var(--orange); display: inline-block;
}
.site-footer a { color: #cbc8c1; text-decoration: none; font-size: 15px; }
.site-footer a:hover { color: var(--orange); }
.footer-links { list-style: none; display: grid; gap: 11px; }
.footer-brand p { font-size: 15px; margin-top: 16px; max-width: 36ch; }
.footer-brand .logo-text { color: #fff; }
.footer-brand .logo-sub { color: #8a8680; }
.footer-bottom {
  margin-top: 46px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,0.12);
  display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; font-size: 13.5px;
}

/* Mobile action bar */
.mobile-bar { display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 120;
  background: #fff; border-top: 1px solid var(--grey-line); padding: 9px 12px calc(9px + env(safe-area-inset-bottom)); gap: 10px; }
.mobile-bar .btn { flex: 1; padding: 14px 8px; font-size: 13px; }

/* ============================================
   Responsive
   ============================================ */

/* ============================================
   Primary nav dropdown
   ============================================ */
.nav .has-sub { position: relative; display: flex; }
.nav .has-sub > a::after { content: "\25BE"; margin-left: 7px; font-size: 9px; vertical-align: middle; }
.nav .sub {
  position: absolute; top: 100%; left: -20px; min-width: 264px;
  background: #fff; border: 1px solid var(--grey-line);
  box-shadow: 0 20px 38px rgba(31,36,38,0.16);
  padding: 8px 0; display: none; z-index: 60;
}
.nav .has-sub:hover .sub,
.nav .has-sub:focus-within .sub { display: block; }
.nav .sub a {
  display: block; padding: 11px 22px; border-bottom: 0;
  text-transform: none; letter-spacing: 0; font-size: 14px; white-space: nowrap;
}
.nav .sub a:hover { background: var(--grey-bg); color: var(--orange); }
.nav .sub a[aria-current="page"] { color: var(--orange); border-bottom: 0; }

@media (max-width: 1240px) {
  .nav { gap: 15px; }
  .nav a { font-size: 12.8px; }
  .header-cta { gap: 14px; }
}

/* Small laptops and tablets: menu button, but keep the phone and the CTA visible */
@media (max-width: 1200px) {
  .nav {
    display: none;
    position: absolute; top: 82px; left: 0; right: 0;
    background: #fff;
    border-bottom: 3px solid var(--orange);
    flex-direction: column; gap: 0;
    padding: 6px 24px 16px;
    box-shadow: 0 18px 30px rgba(31,36,38,0.14);
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; font-size: 14px; border-bottom: 1px solid var(--grey-line); }
  .nav a[aria-current="page"] { border-bottom-color: var(--grey-line); color: var(--orange); }
  .nav .has-sub { position: static; display: block; }
  .nav .has-sub > a::after { display: none; }
  .nav .sub {
    position: static; display: block; min-width: 0;
    border: 0; box-shadow: none; padding: 0 0 6px 14px;
  }
  .nav .sub a { padding: 11px 0; font-size: 13.5px; border-bottom: 1px solid var(--grey-line); text-transform: none; }
  .nav-toggle { display: inline-block; margin-left: auto; }
  .header-cta { margin-left: 16px; }
  .header-phone small { display: none; }
  .header-phone strong { font-size: 17px; }
}

@media (max-width: 940px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .cards-2 { grid-template-columns: repeat(2, 1fr); }
  .lanes { grid-template-columns: repeat(2, 1fr); }
  .creds-grid { grid-template-columns: repeat(2, 1fr); }
  .creds-item:nth-child(3) { border-left: 0; padding-left: 0; }
  .creds-item { border-top: 1px solid var(--grey-line); }
  .creds-item:nth-child(1), .creds-item:nth-child(2) { border-top: 0; }
  .stats, .steps { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .split--reverse .split-img { order: 0; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .areas { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  section { padding: 56px 0; }
  .topbar-left span { display: none; }
  .header-inner { height: 68px; }
  .nav { top: 68px; }
  .header-cta { display: none; }
  .cards, .cards-2, .lanes { grid-template-columns: 1fr; }
  .creds-grid { grid-template-columns: 1fr; }
  .creds-item { border-left: 0 !important; padding-left: 0 !important; }
  .stats, .steps { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .areas { grid-template-columns: 1fr; }
  .form-grid, .ticks--2col { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { padding: 62px 0 56px; }
  .hero--inner { padding: 40px 0 34px; }
  .mobile-bar { display: flex; }
  body { padding-bottom: 88px; }
  .site-footer { padding-bottom: 86px; }
  .form-card { padding: 26px 20px; }
}

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

@media print { .site-header, .topbar, .mobile-bar, .btn { display: none; } }

/* ===============================================================
   AI Automation page
   Same navy / orange system. The hero splits into copy + a live
   canvas visualisation of the automation desk.
   ============================================================= */

.ai-hero { padding: 74px 0 78px; overflow: hidden; }
.ai-hero::before {
  background: linear-gradient(100deg, rgba(21,25,26,0.96) 0%, rgba(21,25,26,0.90) 46%, rgba(21,25,26,0.74) 100%);
}
.ai-hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 54px;
  align-items: center;
}
.ai-hero-copy h1 { max-width: 20ch; font-size: clamp(30px, 3.9vw, 46px); }
.ai-hero-copy .crumbs { margin-bottom: 18px; }
.ai-hero-copy .hero-sub { margin-top: 30px; }

/* --- Visualisation frame --- */
.viz-frame {
  background: rgba(17,20,21,0.72);
  border: 1px solid rgba(168,164,156,0.22);
  box-shadow: 0 26px 60px rgba(0,0,0,0.34);
  backdrop-filter: blur(2px);
}
.viz-head {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(168,164,156,0.18);
  font-family: var(--head); font-size: 12px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: #d6d3cc;
}
.viz-dot { width: 8px; height: 8px; background: var(--orange); flex-shrink: 0; }
.viz-title { flex: 1; }
.viz-live {
  font-size: 10.5px; letter-spacing: 0.14em; color: #9dc4b6;
  display: inline-flex; align-items: center; gap: 7px;
}
.viz-live::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--orange); animation: viz-blink 2s ease-in-out infinite;
}
@keyframes viz-blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }

#ai-canvas { display: block; width: 100%; height: 322px; }

.viz-foot {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(168,164,156,0.18);
}
.viz-stat { padding: 15px 16px; }
.viz-stat + .viz-stat { border-left: 1px solid rgba(168,164,156,0.14); }
.viz-stat strong {
  display: block; font-family: var(--head); font-weight: 700;
  font-size: 22px; color: #fff; line-height: 1;
  font-variant-numeric: tabular-nums;
}
.viz-stat span {
  display: block; margin-top: 6px;
  font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase;
  color: #918d85;
}
.viz-note {
  margin-top: 12px; font-size: 12.5px; color: #918d85; text-align: right;
}

/* Panel variant used on white sections of this page */
.ai-panel { align-self: start; }

@media (max-width: 1080px) {
  .ai-hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .ai-hero-copy h1 { max-width: 24ch; }
  .viz-note { text-align: left; }
}

@media (max-width: 760px) {
  .ai-hero { padding: 48px 0 54px; }
  #ai-canvas { height: 268px; }
  .viz-foot { grid-template-columns: 1fr 1fr; }
  .viz-stat:nth-child(3) { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .viz-live::before { animation: none; }
}

/* ===============================================================
   Polish pass — motion, focus, and the small stuff that reads
   as "made by a professional" rather than "assembled"
   ============================================================= */

/* Nav: a quiet underline that grows, instead of a hard border flip */
.nav > a, .nav .has-sub > a { position: relative; }
.nav > a::after, .nav .has-sub > a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 26px;
  height: 2px; background: var(--orange);
  transform: scaleX(0); transform-origin: 50% 50%;
  transition: transform .22s cubic-bezier(.22,.61,.36,1);
}
.nav .has-sub > a::after { content: "\25BE"; position: static; height: auto; background: none; transform: none; }
.nav > a:hover::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--orange); }

/* Cards: lift a touch less, and let the image breathe on hover */
.card { transition: box-shadow .22s ease, transform .22s ease, border-color .22s ease; }
.card:hover { border-color: #cfccc5; }
.card-img img { transition: transform .5s cubic-bezier(.22,.61,.36,1); }
.card:hover .card-img img { transform: scale(1.035); }
.card .arrow-link::after { transition: transform .22s ease; }
.card:hover .arrow-link::after { transform: translateX(4px); }

/* Buttons: subtle rise, no bounce */
.btn { transition: background .16s ease, border-color .16s ease, color .16s ease, transform .16s ease, box-shadow .16s ease; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(31,36,38,0.14); }
.btn-outline:hover { box-shadow: none; }

/* Focus: visible on every interactive thing, not just links */
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 1px;
}

/* Section headings: tighter tracking reads more considered at large sizes */
h1 { letter-spacing: -0.018em; }
h2 { letter-spacing: -0.012em; }

/* FAQ rows: give the open state somewhere to sit */
.faq details { transition: border-color .18s ease; }
.faq details[open] { border-color: #cfccc5; }
.faq summary { transition: color .16s ease; }
.faq summary:hover { color: var(--orange); }

/* Tables and panels: soften the hard edge */
.table-wrap, .form-card, .card { border-radius: 2px; }

/* Footer links: same growing underline as the nav */
.site-footer a { transition: color .16s ease; }

/* Anything that moves, stops moving for people who ask */
@media (prefers-reduced-motion: reduce) {
  .card:hover .card-img img,
  .card:hover .arrow-link::after,
  .btn:hover { transform: none !important; }
  .nav > a::after { transition: none; }
}
