/* Kichele Group public site. Google palette, square blocks, no radius. */
:root {
  --blue: #1A73E8;
  --green: #188038;
  --red: #D93025;
  --yellow: #F9AB00;
  --ink: #202124;
  --grey: #5F6368;
  --mist: #F1F3F4;
  --white: #FFFFFF;
  --gap: 4px;
  --max: 80rem;
  --pad: clamp(1.25rem, 3.2vw, 2.5rem);
}
*, *::before, *::after { box-sizing: border-box; border-radius: 0; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--white); color: var(--ink);
  font-family: "Roboto Flex", "Roboto", system-ui, sans-serif;
  font-size: 1.0625rem; line-height: 1.6;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
h1, h2, h3 { font-family: "Roboto Flex", "Roboto", system-ui, sans-serif; margin: 0; }
.shell { max-width: var(--max); margin: 0 auto; padding: 0 var(--gap); }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: var(--white); padding: .7rem 1rem; z-index: 20; }
.skip:focus { left: 0; }

/* Header */
.bar { display: flex; align-items: stretch; justify-content: space-between; gap: var(--gap); background: var(--white); }
.logo { display: flex; align-items: center; gap: .7rem; padding: 1rem var(--pad) 1rem calc(var(--pad) - var(--gap)); text-decoration: none; font-weight: 700; font-size: 1.2rem; letter-spacing: -.01em; }


.menu { display: flex; gap: var(--gap); }
.menu a { display: flex; align-items: center; padding: 0 clamp(.8rem, 1.6vw, 1.4rem); text-decoration: none; font-weight: 500; font-size: .95rem; }
.menu a:hover { background: var(--mist); }
.menu .menu-cta { background: var(--ink); color: var(--white); }
.menu .menu-cta:hover { background: #3C4043; }

/* Grid of blocks */
.blocks { display: grid; gap: var(--gap); }
.blocks > * { min-width: 0; }
.block { padding: var(--pad); }
.photo { position: relative; overflow: hidden; background: var(--mist); min-height: 16rem; }
.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.on-blue { background: var(--blue); color: var(--white); }
.on-green { background: var(--green); color: var(--white); }
.on-red { background: var(--red); color: var(--white); }
.on-yellow { background: var(--yellow); color: var(--ink); }
.on-ink { background: var(--ink); color: var(--white); }
.on-mist { background: var(--mist); }

/* Hero */
.hero { grid-template-columns: 7fr 5fr; grid-template-rows: auto auto; margin-top: var(--gap); }
.hero-text { background: var(--mist); display: flex; flex-direction: column; justify-content: flex-end; min-height: clamp(20rem, 46vw, 34rem); }
.hero h1 { font-size: clamp(2.1rem, 5vw, 4rem); line-height: 1.05; letter-spacing: -.03em; font-weight: 700; max-width: 16ch; }
.hero-text p { margin: 1.25rem 0 0; max-width: 44ch; color: var(--grey); font-size: 1.125rem; }
.hero .photo { grid-row: span 1; }
.tiles { grid-column: 1 / -1; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tile { display: flex; flex-direction: column; justify-content: space-between; gap: 2.5rem; min-height: 11rem; text-decoration: none; }
.tile strong { font-size: clamp(1.4rem, 2.4vw, 1.9rem); font-weight: 700; letter-spacing: -.02em; line-height: 1.1; }
.tile span { font-size: .95rem; max-width: 26ch; }
.tile:hover { filter: brightness(.92); }

/* Divisions */
.division { margin-top: var(--gap); scroll-margin-top: var(--gap); }
.division-head { grid-template-columns: 5fr 7fr; }
.division-head .block { display: flex; flex-direction: column; justify-content: space-between; gap: 3rem; min-height: 22rem; }
.division-head h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); line-height: 1; letter-spacing: -.03em; font-weight: 700; }
.division-head p { margin: 0; font-size: 1.15rem; line-height: 1.5; max-width: 34ch; }
.division.flip .division-head { grid-template-columns: 7fr 5fr; }
.division.flip .division-head .photo { order: -1; }
.services { margin-top: var(--gap); grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); list-style: none; padding: 0; margin-bottom: 0; }
.services li { background: var(--mist); display: flex; flex-direction: column; gap: .5rem; }
.services h3 { font-size: 1.1rem; font-weight: 700; }
.services p { margin: 0; color: var(--grey); font-size: .975rem; }
.proof { margin-top: var(--gap); }
.proof p { margin: 0; max-width: 62ch; font-size: 1.1rem; }

/* Steps */
.steps { margin-top: var(--gap); grid-template-columns: 4fr 9fr; }
.steps-list { grid-template-columns: repeat(3, minmax(0, 1fr)); list-style: none; padding: 0; margin: 0; counter-reset: step; }
.steps-title { display: flex; align-items: flex-end; }
.steps-title h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); line-height: 1.1; letter-spacing: -.02em; }
.steps-list li { counter-increment: step; background: var(--mist); }
.steps-list li::before { content: counter(step); display: block; font-size: 3rem; font-weight: 700; line-height: 1; margin-bottom: 1.5rem; }
.steps-list li:nth-of-type(1)::before { color: var(--blue); }
.steps-list li:nth-of-type(2)::before { color: var(--green); }
.steps-list li:nth-of-type(3)::before { color: var(--red); }
.steps h3 { font-size: 1.1rem; margin-bottom: .4rem; }
.steps p { margin: 0; color: var(--grey); }

/* Contact */
.contact { margin-top: var(--gap); grid-template-columns: 5fr 7fr; scroll-margin-top: var(--gap); }
.contact-info { display: flex; flex-direction: column; gap: 2rem; }
.contact-info h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); line-height: 1; letter-spacing: -.03em; }
.contact-info > p { margin: 0; font-size: 1.1rem; max-width: 32ch; }
.direct { margin: 0; display: grid; gap: 1rem; }
.direct dt { font-size: .9rem; }
.direct dd { margin: 0; font-weight: 700; font-size: 1.15rem; word-break: break-word; }
.direct a { text-underline-offset: 4px; }
.form { background: var(--mist); display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1rem; align-content: start; }
.field { display: grid; gap: .35rem; }
.field.full, .notice, .actions { grid-column: 1 / -1; }
label { font-size: .9rem; font-weight: 600; }
label .opt { font-weight: 400; color: var(--grey); }
input, select, textarea {
  font: inherit; font-size: 1rem; color: var(--ink); background: var(--white);
  border: 2px solid var(--white); padding: .75rem .85rem; width: 100%; appearance: none;
}
select { background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M0 0h12L6 8z' fill='%23202124'/%3E%3C/svg%3E") no-repeat right 14px center; padding-right: 2.5rem; }
textarea { min-height: 9rem; resize: vertical; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: none; border-color: var(--blue); }
[aria-invalid="true"] { border-color: var(--red); }
.err { color: var(--red); font-size: .875rem; font-weight: 500; }
.notice { padding: 1rem 1.1rem; font-weight: 500; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
button { font: inherit; font-weight: 700; cursor: pointer; background: var(--blue); color: var(--white); border: 0; padding: 1rem 2rem; }
button:hover { background: #1765CC; }

/* Footer */
.foot { margin-top: var(--gap); margin-bottom: var(--gap); grid-template-columns: 5fr 7fr; }
.foot p { margin: 0; font-size: .875rem; }
.foot .credits { color: #BDC1C6; }
.foot a { text-underline-offset: 3px; }

/* Tablet */
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; }
  .hero .photo { min-height: 18rem; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .division-head, .division.flip .division-head { grid-template-columns: 1fr; }
  .division.flip .division-head .photo { order: 0; }
  .division-head .block { min-height: 0; }
  .steps { grid-template-columns: 1fr; }
  .contact, .foot { grid-template-columns: 1fr; }
}

/* Phone */
@media (max-width: 640px) {
  :root { --pad: 1.25rem; }
  .bar { flex-direction: column; }
  .logo { padding: 1rem var(--pad) .5rem; }
  .menu { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .menu a { justify-content: center; padding: .85rem .25rem; font-size: .85rem; background: var(--mist); }
  .hero-text { min-height: 0; padding-top: 2.5rem; }
  .tile { min-height: 8.5rem; gap: 1.25rem; }
  .services, .steps-list { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; }
  button { width: 100%; }
}

/* Utilities */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Footer subscribe */
.foot-title { font-size: clamp(1.5rem, 2.6vw, 2rem); letter-spacing: -.02em; line-height: 1.1; }
.foot-sub { margin: .6rem 0 1.25rem !important; color: #BDC1C6; font-size: 1rem !important; max-width: 40ch; }
.foot-meta { display: flex; flex-direction: column; justify-content: flex-end; gap: .75rem; }
.subscribe-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--gap); }
.subscribe input[type=email] { border-color: var(--white); }
.subscribe-msg { min-height: 1.5em; margin: .6rem 0 0; font-size: .95rem; font-weight: 500; }
.subscribe-msg.is-ok { color: #81C995; }
.subscribe-msg.is-error { color: #F28B82; }
.popup .subscribe-msg.is-ok { color: var(--green); }
.popup .subscribe-msg.is-error { color: var(--red); }
.subscribe button[disabled] { opacity: .6; cursor: progress; }

/* Popup */
.popup { padding: 0; border: 0; width: min(44rem, calc(100vw - 2rem)); max-height: calc(100dvh - 2rem); background: var(--white); color: var(--ink); overflow: auto; }
.popup::backdrop { background: rgba(32, 33, 36, .6); }
.popup-grid { display: grid; grid-template-columns: 9rem minmax(0, 1fr); }
.popup-swatch { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); padding: var(--gap); background: var(--white); }
.popup-swatch i { display: block; min-height: 4rem; }
.popup-body { padding: 2.25rem var(--pad) 1.5rem; }
.popup h2 { font-size: clamp(1.35rem, 3vw, 1.75rem); line-height: 1.15; letter-spacing: -.02em; padding-right: 2rem; }
.popup-body > p { margin: .8rem 0 1.4rem; color: var(--grey); }
.popup .subscribe input[type=email] { border-color: var(--ink); }
.popup-close-form { position: absolute; top: 0; right: 0; margin: 0; }
.popup-close { background: var(--ink); color: var(--white); width: 2.75rem; height: 2.75rem; padding: 0; font-size: 1.5rem; line-height: 1; }
.popup-close:hover { background: #3C4043; }
.popup[open] { animation: pop-in .25s ease-out; }
@keyframes pop-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .popup[open] { animation: none; } }
@media (max-width: 640px) {
  .popup { margin: auto 0 0; width: 100vw; max-width: 100vw; }
  .popup-grid { grid-template-columns: 1fr; }
  .popup-swatch { grid-template-columns: repeat(4, 1fr); }
  .popup-swatch i { min-height: .6rem; }
  .subscribe-row { grid-template-columns: 1fr; }
}

/* Status pages */
.status { margin-top: var(--gap); grid-template-columns: 7fr 5fr; }
.status .block { min-height: 22rem; display: flex; flex-direction: column; justify-content: flex-end; gap: 1rem; }
.status h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); line-height: 1.05; letter-spacing: -.03em; }
.status p { margin: 0; font-size: 1.15rem; max-width: 46ch; }
.status a.button { display: inline-block; align-self: flex-start; background: var(--ink); color: var(--white); padding: .9rem 1.5rem; font-weight: 700; text-decoration: none; }
@media (max-width: 640px) { .status { grid-template-columns: 1fr; } .status .block { min-height: 0; } }

/* Logo */
.logo img { width: 36px; height: 36px; flex: none; }

/* Links inside coloured blocks */
.more { color: inherit; font-weight: 700; text-underline-offset: 5px; text-decoration-thickness: 2px; align-self: flex-start; }
.h3 { font-size: 1.1rem; font-weight: 700; margin: 0; }
.menu a[aria-current="page"] { background: var(--mist); }

/* Breadcrumbs */
.crumbs ol { list-style: none; margin: var(--gap) 0 0; padding: .7rem var(--pad); background: var(--mist); display: flex; flex-wrap: wrap; gap: .4rem; font-size: .9rem; }
.crumbs li + li::before { content: "/"; margin-right: .4rem; color: var(--grey); }
.crumbs a { color: var(--blue); }
.division.page h1 { font-size: clamp(2rem, 4.4vw, 3.4rem); line-height: 1; letter-spacing: -.03em; font-weight: 700; }
.other-teams { margin-top: var(--gap); grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* FAQ */
.faq { margin-top: var(--gap); grid-template-columns: 4fr 9fr; }
.faq-head h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); line-height: 1.1; letter-spacing: -.02em; }
.faq-list { align-content: start; }
.faq-list details { background: var(--mist); padding: 0; }
.faq-list summary { cursor: pointer; list-style: none; padding: 1.1rem var(--pad); display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; font-size: 1.6rem; font-weight: 400; line-height: 1; flex: none; }
.faq-list details[open] summary::after { content: "\2212"; }
.faq-list summary h3 { font-size: 1.05rem; font-weight: 700; margin: 0; }
.faq-list details p { margin: 0; padding: 0 var(--pad) 1.25rem; color: var(--grey); max-width: 70ch; }
.faq-list summary:hover { background: #E8EAED; }

/* Footer links */
.foot-links { display: flex; flex-wrap: wrap; gap: .4rem 1.25rem; font-size: .9rem; }
.foot-links a { color: var(--white); }

/* Legal pages */
.legal { margin-top: var(--gap); grid-template-columns: 3fr 9fr; align-items: start; }
.legal-nav nav { display: grid; gap: var(--gap); }
.legal-nav a { display: block; padding: .7rem .9rem; background: var(--white); text-decoration: none; font-weight: 500; }
.legal-nav a[aria-current="page"] { background: var(--ink); color: var(--white); }
.prose { max-width: 52rem; }
.prose h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); line-height: 1.05; letter-spacing: -.03em; }
.prose .updated { color: var(--grey); margin: .5rem 0 2rem; }
.prose h2 { font-size: 1.3rem; margin: 2.25rem 0 .6rem; }
.prose p, .prose li { max-width: 70ch; }
.prose li { margin-bottom: .35rem; }
.prose a { color: var(--blue); }
.prose table { width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: .95rem; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: .7rem .8rem; border: 2px solid var(--white); background: var(--mist); }
.prose th { background: var(--ink); color: var(--white); }
.prose code { font-size: .9em; background: var(--mist); padding: .1rem .3rem; }

/* Help widget */
.hw { position: fixed; right: 16px; bottom: 16px; z-index: 50; }
.hw-launch { display: flex; align-items: center; gap: .6rem; background: var(--ink); color: var(--white); padding: .65rem 1rem .65rem .65rem; box-shadow: none; }
.hw-launch:hover { background: #3C4043; }
.hw-launch-icon { display: grid; grid-template-columns: 12px 12px; gap: 3px; }
.hw-launch-icon i { width: 12px; height: 12px; display: block; }
.hw-launch-icon i:nth-child(1) { background: var(--blue); }
.hw-launch-icon i:nth-child(2) { background: var(--red); }
.hw-launch-icon i:nth-child(3) { background: var(--yellow); }
.hw-launch-icon i:nth-child(4) { background: var(--green); }
.hw.is-open .hw-launch-icon { transform: rotate(45deg); transition: transform .2s; }
.hw-panel { position: absolute; right: 0; bottom: calc(100% + var(--gap)); width: min(24rem, calc(100vw - 32px)); height: min(36rem, calc(100dvh - 100px)); background: var(--white); outline: 2px solid var(--ink); display: flex; flex-direction: column; }
.hw-panel[hidden] { display: none; }
.hw-head { display: flex; justify-content: space-between; align-items: center; background: var(--ink); color: var(--white); padding: .8rem 0 .8rem 1rem; }
.hw-head h2 { font-size: 1.05rem; }
.hw-x { background: transparent; color: var(--white); padding: .2rem 1rem; font-size: 1.5rem; line-height: 1; }
.hw-x:hover { background: #3C4043; }
.hw-tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); padding: var(--gap); background: var(--white); }
.hw-tabs button { background: var(--mist); color: var(--ink); padding: .6rem .2rem; font-size: .85rem; font-weight: 700; position: relative; }
.hw-tabs button::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; }
.hw-tabs .t-blue::before { background: var(--blue); }
.hw-tabs .t-green::before { background: var(--green); }
.hw-tabs .t-red::before { background: var(--red); }
.hw-tabs .t-yellow::before { background: var(--yellow); }
.hw-tabs button[aria-selected="true"] { background: var(--ink); color: var(--white); }
.hw-pane { flex: 1; overflow-y: auto; padding: .9rem; display: flex; flex-direction: column; gap: .75rem; font-size: .95rem; }
.hw-pane[hidden] { display: none; }
.hw-lead { margin: 0; }
.hw-note { margin: 0; font-size: .82rem; color: var(--grey); }
.hw-note a { color: var(--blue); }
.hw-log { display: flex; flex-direction: column; gap: .5rem; }
.hw-msg { margin: 0; padding: .6rem .8rem; max-width: 88%; line-height: 1.45; }
.hw-msg.from-bot { background: var(--mist); align-self: flex-start; }
.hw-msg.from-user { background: var(--blue); color: var(--white); align-self: flex-end; }
.hw-chips { display: flex; flex-wrap: wrap; gap: var(--gap); }
.hw-chip { background: var(--white); color: var(--ink); outline: 2px solid var(--ink); outline-offset: -2px; padding: .5rem .7rem; font-size: .85rem; font-weight: 600; text-decoration: none; display: inline-block; }
.hw-chip:hover { background: var(--mist); }
.hw-chip.blue { background: var(--blue); color: var(--white); outline-color: var(--blue); }
.hw-chip.green { background: var(--green); color: var(--white); outline-color: var(--green); }
.hw-chip.red { background: var(--red); color: var(--white); outline-color: var(--red); }
.hw-input { display: grid; grid-template-columns: 1fr auto; gap: var(--gap); margin-top: auto; position: sticky; bottom: -0.9rem; background: var(--white); padding: .5rem 0 0; }
.hw-pane input, .hw-pane select, .hw-pane textarea { border-color: var(--mist); background: var(--mist); padding: .6rem .7rem; }
.hw-pane input:focus-visible, .hw-pane select:focus-visible, .hw-pane textarea:focus-visible { border-color: var(--blue); background: var(--white); }
.hw-pane button[type=submit] { padding: .7rem 1rem; }
.hw-leave, #hw-callback { display: grid; gap: .5rem; }
#hw-callback label { font-size: .85rem; }
.hw-slots { border: 0; padding: 0; margin: .25rem 0; display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.hw-slots legend { font-size: .85rem; font-weight: 600; margin-bottom: .35rem; padding: 0; }
.hw-slots label { display: flex; align-items: center; gap: .45rem; background: var(--mist); padding: .55rem .6rem; font-weight: 500; cursor: pointer; }
.hw-slots input { width: auto; appearance: auto; accent-color: var(--blue); }
.hw-status { margin: 0; font-size: .875rem; font-weight: 500; min-height: 1.2em; }
.hw-status.is-ok { color: var(--green); }
.hw-status.is-error { color: var(--red); }
.hw-wa-grid { display: grid; gap: var(--gap); }
.hw-wa-btn { display: block; background: var(--mist); padding: .8rem .9rem; text-decoration: none; font-weight: 600; }
.hw-wa-btn:hover { background: #E8EAED; }
.hw-wa-btn.main { background: var(--green); color: var(--white); text-align: center; font-weight: 700; }
.hw-wa-btn.main:hover { background: #137333; }
.hw-dates { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--gap); }
.hw-dates li { display: grid; grid-template-columns: 4.5rem 1fr; gap: var(--gap); }
.hw-days { background: var(--yellow); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: .5rem; }
.hw-days b { font-size: 1.6rem; line-height: 1; }
.hw-days small { font-size: .75rem; }
.hw-dates li.soon .hw-days { background: var(--red); color: var(--white); }
.hw-what { background: var(--mist); padding: .6rem .75rem; display: flex; flex-direction: column; }
.hw-what small { color: var(--grey); font-size: .8rem; }
.hw-kra-actions { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.hw-kra-actions button, .hw-kra-actions a { padding: .75rem .6rem; font-size: .9rem; text-align: center; }
.hw-kra-actions a { background: var(--mist); font-weight: 700; text-decoration: none; }
@media (max-width: 640px) {
  .hw { right: 12px; bottom: 12px; }
  .hw.is-open { left: 0; right: 0; bottom: 0; }
  .hw.is-open .hw-launch { display: none; }
  .hw-panel { position: fixed; inset: 0; width: 100%; height: 100dvh; outline: 0; }
  .faq, .legal, .other-teams { grid-template-columns: 1fr; }
}
@media (max-width: 960px) {
  .faq, .legal { grid-template-columns: 1fr; }
}
/* Keep the floating button from covering the footer text on phones */
@media (max-width: 640px) { .foot { padding-bottom: 4.5rem; } }

/* Savings calculator */
.hw-calc { display: grid; gap: .45rem; }
.hw-calc label { font-size: .85rem; }
.hw-calc-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.hw-calc-row > div { display: grid; gap: .45rem; }
.hw-result { display: grid; gap: var(--gap); }
.hw-total { background: var(--yellow); padding: .8rem .9rem; display: flex; flex-direction: column; }
.hw-total small { font-size: .8rem; font-weight: 600; }
.hw-total b { font-size: 1.7rem; line-height: 1.1; letter-spacing: -.02em; }
.hw-bar { display: flex; height: 14px; background: var(--mist); }
.hw-bar span { display: block; height: 100%; transition: width .25s; }
.hw-bar .dep, .hw-split i.dep { background: var(--blue); }
.hw-bar .gro, .hw-split i.gro { background: var(--green); }
.hw-split { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.hw-split div { background: var(--mist); padding: .55rem .7rem; }
.hw-split dt { font-size: .8rem; color: var(--grey); display: flex; align-items: center; gap: .4rem; }
.hw-split i { width: 10px; height: 10px; display: inline-block; }
.hw-split dd { margin: 0; font-weight: 700; }
.hw-plan { background: var(--green) !important; color: var(--white); }

/* ---------- Motion & liveliness ---------- */
/* Hero photo rotator with colour-block wipe */
.hero-rotator img { opacity: 0; transition: opacity 0s linear .45s; }
.hero-rotator img.is-active { opacity: 1; transition-delay: 0s; }
.hero-rotator img.is-active { animation: slow-zoom 7s ease-out both; }
.hero-rotator .wipe { position: absolute; inset: 0; background: var(--blue); transform: scaleX(0); transform-origin: left; z-index: 2; }
.hero-rotator .wipe.go { animation: wipe .9s cubic-bezier(.7,0,.3,1) both; }
.rotator-label { position: absolute; left: 0; bottom: 0; z-index: 3; background: var(--white); color: var(--ink); font-weight: 700; padding: .55rem .9rem; font-size: .9rem; }
.rotator-label:empty { display: none; }
@keyframes wipe { 0% { transform: scaleX(0); transform-origin: left; } 49% { transform: scaleX(1); transform-origin: left; } 51% { transform: scaleX(1); transform-origin: right; } 100% { transform: scaleX(0); transform-origin: right; } }
@keyframes slow-zoom { from { transform: scale(1.08); } to { transform: scale(1); } }

/* Hero entrance: tiles assemble once on load */
.tiles .tile { animation: tile-in .6s cubic-bezier(.2,.8,.2,1) both; }
.tiles .tile:nth-child(1) { animation-delay: .05s; }
.tiles .tile:nth-child(2) { animation-delay: .15s; }
.tiles .tile:nth-child(3) { animation-delay: .25s; }
.tiles .tile:nth-child(4) { animation-delay: .35s; }
.hero-text h1 { animation: rise .7s cubic-bezier(.2,.8,.2,1) both; }
.hero-text p { animation: rise .7s .12s cubic-bezier(.2,.8,.2,1) both; }
@keyframes tile-in { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes rise { from { transform: translateY(18px); opacity: 0; } to { transform: none; opacity: 1; } }

/* Tactile hover: lift onto a solid offset block */
.tile, .services li, .hw-wa-btn, button, .status a.button { transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease; }
.tile:hover, .tile:focus-visible { transform: translate(-5px, -5px); box-shadow: 5px 5px 0 var(--ink); filter: none; }
.tile strong::after { content: ""; display: inline-block; width: .55em; height: .55em; margin-left: .45em; background: currentColor; transform: translateY(-.05em) scale(0); transition: transform .18s ease; }
.tile:hover strong::after, .tile:focus-visible strong::after { transform: translateY(-.05em) scale(1); }
.services li:hover { transform: translate(-4px, -4px); box-shadow: 4px 4px 0 var(--c, var(--ink)); background: var(--white); outline: 2px solid var(--c, var(--ink)); outline-offset: -2px; }
.division.sec, #security { --c: var(--blue); }
#finance { --c: var(--green); }
#technology { --c: var(--red); }
button:not(.hw-x):not(.popup-close):not([role=tab]):hover { transform: translate(-3px, -3px); box-shadow: 3px 3px 0 var(--ink); }

/* Service ticker */
.ticker { margin-top: var(--gap); overflow: hidden; background: var(--ink); padding: var(--gap) 0; }
.ticker-track { display: flex; gap: var(--gap); width: max-content; animation: ticker 60s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker span { padding: .55rem 1rem; font-weight: 700; font-size: .95rem; white-space: nowrap; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* Scroll reveal */
[data-reveal].pre > * { opacity: 0; transform: translateY(28px); }
[data-reveal].in > * { opacity: 1; transform: none; transition: opacity .55s ease, transform .55s cubic-bezier(.2,.8,.2,1); }
[data-reveal].in > *:nth-child(2) { transition-delay: .08s; }
[data-reveal].in > *:nth-child(3) { transition-delay: .16s; }
[data-reveal].in > *:nth-child(4) { transition-delay: .24s; }
[data-reveal].in > *:nth-child(5) { transition-delay: .32s; }
[data-reveal].in > *:nth-child(6) { transition-delay: .40s; }

/* Section photos: slow zoom while in view */
.division-head .photo img { transition: transform 6s ease-out; transform: scale(1.06); }
.division-head.in .photo img, .division.page .photo img { transform: scale(1); }

/* Help launcher: gentle attention pulse until first opened */
.hw:not(.seen) .hw-launch-icon i { animation: blink 3.2s ease-in-out infinite; }
.hw:not(.seen) .hw-launch-icon i:nth-child(2) { animation-delay: .2s; }
.hw:not(.seen) .hw-launch-icon i:nth-child(4) { animation-delay: .4s; }
.hw:not(.seen) .hw-launch-icon i:nth-child(3) { animation-delay: .6s; }
@keyframes blink { 0%, 70%, 100% { transform: none; } 80% { transform: scale(.55); } 90% { transform: scale(1.1); } }
.hw-msg { animation: rise .25s ease-out both; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  [data-reveal].pre > * { opacity: 1; transform: none; }
  .ticker-track { width: auto; flex-wrap: wrap; }
  .division-head .photo img { transform: none; }
}

/* ===== Restrained palette + photo-led layout (overrides above) ===== */
/* Team colour appears only as a small square marker */
.sq { display: inline-block; width: .55em; height: .55em; margin-right: .5em; vertical-align: .08em; flex: none; }
.tone-blue { background: var(--blue); }
.tone-green { background: var(--green); }
.tone-red { background: var(--red); }
.tone-yellow { background: var(--yellow); }

/* Nav: current page is the solid block; Contact is an outlined button */
.menu a { gap: .1rem; }
.menu a .sq { width: 8px; height: 8px; margin-right: .5rem; opacity: 0; transition: opacity .15s; }
.menu a:hover .sq, .menu a[aria-current="page"] .sq { opacity: 1; }
.menu a[aria-current="page"] { background: var(--ink); color: var(--white); }
.menu .menu-cta { background: var(--white); color: var(--ink); outline: 2px solid var(--ink); outline-offset: -2px; }
.menu .menu-cta:hover { background: var(--ink); color: var(--white); }

/* Photo tiles */
.photo-tile { position: relative; overflow: hidden; color: var(--white); background: var(--ink); min-height: 13rem; padding: 0; }
.photo-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.photo-tile::after { content: ""; position: absolute; inset: 0; background: rgba(32, 33, 36, .58); transition: background-color .25s; }
.photo-tile:hover img, .photo-tile:focus-visible img { transform: scale(1.06); }
.photo-tile:hover::after, .photo-tile:focus-visible::after { background: rgba(32, 33, 36, .42); }
.photo-tile .tile-body { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: space-between; gap: 2rem; height: 100%; padding: var(--pad); }
.photo-tile strong { display: flex; align-items: center; }
.photo-tile strong::after { display: none; }
.tile:hover, .tile:focus-visible { box-shadow: 5px 5px 0 var(--ink); }

/* Ticker: neutral strip with small markers */
.ticker span { background: transparent; color: var(--white); padding: .55rem 1.1rem .55rem 0; font-weight: 600; display: inline-flex; align-items: center; }
.ticker span .sq { width: 8px; height: 8px; margin-right: .6rem; }

/* Division intros: light block, ink text */
.division-intro { background: var(--mist); color: var(--ink); }
.division-intro h2, .division-intro h1 { display: flex; align-items: baseline; }
.division-intro h2 .sq, .division-intro h1 .sq { width: .4em; height: .4em; flex: none; }
.division-intro p { color: var(--ink-2, #3C4043); }

/* Service blocks with photos */
.services li { padding: 0; background: var(--white); outline: 1px solid #E8EAED; outline-offset: -1px; }
.svc-photo { aspect-ratio: 3 / 2; overflow: hidden; background: var(--mist); }
.svc-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.services li:hover .svc-photo img { transform: scale(1.05); }
.svc-body { padding: 1.1rem var(--pad) 1.4rem; display: flex; flex-direction: column; gap: .45rem; }
.services li:hover { outline: 2px solid var(--ink); outline-offset: -2px; box-shadow: 4px 4px 0 var(--ink); background: var(--white); }

/* Notes */
.proof.note p { display: flex; gap: .6rem; }
.proof.note p::before { content: ""; width: 10px; height: 10px; background: var(--yellow); flex: none; margin-top: .45em; }

/* Contact block: photo with dark tint */
.photo-bg { position: relative; overflow: hidden; background: var(--ink); color: var(--white); }
.photo-bg > .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo-bg::before { content: ""; position: absolute; inset: 0; background: rgba(32, 33, 36, .72); }
.photo-bg > *:not(.bg) { position: relative; z-index: 1; }
.contact-info.photo-bg > p, .contact-info.photo-bg dt { color: #DADCE0; }
.contact-info.photo-bg a { color: var(--white); }

/* Popup photo */
.popup-photo { position: relative; min-height: 100%; background: var(--mist); }
.popup-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 640px) { .popup-photo { min-height: 8rem; } }

/* Neutral primary buttons; blue kept for links and focus */
button { background: var(--ink); }
button:hover { background: #3C4043; }

/* Widget: neutral chat colours */
.hw-msg.from-user { background: var(--ink); }
.hw-chip.blue, .hw-chip.green, .hw-chip.red { background: var(--white); color: var(--ink); outline-color: var(--ink); }
.hw-chip.blue::before, .hw-chip.green::before, .hw-chip.red::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: .45rem; }
.hw-chip.blue::before { background: var(--blue); }
.hw-chip.green::before { background: var(--green); }
.hw-chip.red::before { background: var(--red); }
.hw-total { background: var(--mist); }
.hw-wa-btn.main { background: var(--ink); }
.hw-wa-btn.main:hover { background: #3C4043; }
.hw-plan { background: var(--ink) !important; }

/* Status page */
.status .on-ink { background: var(--ink); }

/* Service grid: 3 columns; with 5 items the first is featured across 2 */
.services { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.services[data-count="5"] > li:first-child { grid-column: span 2; }
.services[data-count="5"] > li:first-child .svc-photo { aspect-ratio: auto; height: 100%; min-height: 14rem; max-height: 20rem; }
.services[data-count="5"] > li:first-child { display: grid; grid-template-columns: 3fr 2fr; }
@media (max-width: 960px) {
  .services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .services[data-count="6"] > li { grid-column: auto; }
}
@media (max-width: 640px) {
  .services, .services[data-count="5"] > li:first-child { grid-template-columns: 1fr; }
  .services[data-count="5"] > li:first-child { grid-column: auto; }
  .services[data-count="5"] > li:first-child .svc-photo { aspect-ratio: 3 / 2; height: auto; min-height: 0; }
}
.services[data-count="5"] > li:first-child .svc-photo { position: relative; height: auto; max-height: none; min-height: 16rem; align-self: stretch; }
.services[data-count="5"] > li:first-child .svc-photo img { position: absolute; inset: 0; }
.services[data-count="5"] > li:first-child .svc-body { justify-content: center; }
@media (max-width: 640px) { .services[data-count="5"] > li:first-child .svc-photo { min-height: 0; } .services[data-count="5"] > li:first-child .svc-photo img { position: static; } }
.photo-bg > .bg { z-index: 0; }
.photo-bg::before { z-index: 1; background: rgba(32, 33, 36, .78); }
.photo-bg > *:not(.bg) { z-index: 2; }
.photo-tile .tile-body { max-width: none; width: 100%; }
.photo-tile .tile-body > span { max-width: 30ch; }
.photo-tile strong { align-items: baseline; }
.photo-tile strong .sq { width: .45em; height: .45em; }
.foot .subscribe button { background: var(--white); color: var(--ink); }
.foot .subscribe button:hover { background: #E8EAED; box-shadow: 3px 3px 0 #5F6368; }

/* Contact is a normal nav item; only the current page is highlighted */
.menu .menu-cta { background: transparent; color: var(--ink-soft, #5F6368); outline: 0; }
.menu .menu-cta:hover { background: var(--mist); color: var(--ink); }
.menu .menu-cta .sq { background: var(--yellow); }

/* Hover effects stay inside each block: no lift, no offset shadow */
.tile:hover, .tile:focus-visible,
.services li:hover,
button:hover, button:not(.hw-x):not(.popup-close):not([role=tab]):hover,
.foot .subscribe button:hover,
.status a.button:hover { transform: none !important; box-shadow: none !important; }
.services li:hover { outline: 2px solid var(--ink); outline-offset: -2px; }
.photo-tile:focus-visible { outline: 3px solid var(--white); outline-offset: -6px; }

/* Turnstile: takes no space until Cloudflare needs the visitor to interact */
.ts:empty { display: none; }
.ts { min-height: 0; }
.ts iframe { max-width: 100%; }

/* Reach-us band (replaces the numbered steps) */
.reach { margin-top: var(--gap); grid-template-columns: 7fr 5fr; }
.reach-main { min-height: 22rem; display: flex; flex-direction: column; justify-content: flex-end; gap: .9rem; }
.reach-main h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); line-height: 1.08; letter-spacing: -.02em; max-width: 18ch; color: var(--white); }
.reach-main p { margin: 0; color: #DADCE0; max-width: 46ch; }
.reach-options { grid-template-rows: repeat(3, 1fr); }
.reach-opt { display: flex; flex-direction: column; justify-content: center; gap: .3rem; background: var(--mist); color: var(--ink); text-decoration: none; text-align: left; font: inherit; border: 0; cursor: pointer; padding: 1.1rem var(--pad); }
.reach-opt strong { display: flex; align-items: baseline; font-size: 1.2rem; font-weight: 700; }
.reach-opt strong .sq { width: .5em; height: .5em; }
.reach-opt span { color: var(--grey); font-size: .95rem; }
.reach-opt:hover, .reach-opt:focus-visible { background: var(--ink); color: var(--white); }
.reach-opt:hover span, .reach-opt:focus-visible span { color: #DADCE0; }
button.reach-opt:hover { background: var(--ink); }

/* ===== Phone structure ===== */
@media (max-width: 640px) {
  /* Services become a swipeable row; the next card peeks in to show there is more */
  .services, .services[data-count="5"], .services[data-count="6"] {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
    gap: var(--gap); padding-bottom: 2px; scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  .services::-webkit-scrollbar { display: none; }
  .services > li, .services[data-count="5"] > li:first-child {
    flex: 0 0 80%; scroll-snap-align: start; display: flex; flex-direction: column; grid-column: auto;
  }
  .services .svc-photo, .services[data-count="5"] > li:first-child .svc-photo { aspect-ratio: 16 / 10; height: auto; min-height: 0; max-height: none; position: relative; }
  .services .svc-photo img, .services[data-count="5"] > li:first-child .svc-photo img { position: absolute; inset: 0; width: 100%; height: 100%; }
  .svc-body { padding: .9rem 1rem 1.1rem; }
  .services > li:hover { box-shadow: none; }

  /* Shorter photos so text is reached quickly */
  .hero .photo { min-height: 0; height: 15rem; }
  .division-head .photo, .division.flip .division-head .photo { min-height: 0; height: 13rem; order: 0; }
  .division-head .block { gap: 1.25rem; padding-top: 1.75rem; padding-bottom: 1.75rem; }
  .division-head h2, .division.page h1 { font-size: 1.9rem; }
  .reach-main { min-height: 15rem; }
  .reach-opt { padding: 1rem; }
  .contact-info { gap: 1.25rem; }
  .faq-list summary { padding: 1rem; }
  .faq-list details p { padding: 0 1rem 1rem; }
  .photo-tile { min-height: 10.5rem; }
  .photo-tile .tile-body { padding: 1rem; gap: 1rem; }
  .photo-tile .tile-body > span { font-size: .85rem; }
  .other-teams .photo-tile { min-height: 9rem; }
  .crumbs ol { padding: .6rem 1rem; }
}
.swipe-hint { display: none; }
@media (max-width: 640px) { .swipe-hint { display: block; margin: var(--gap) 0 0; padding: .45rem 1rem; background: var(--mist); font-size: .8rem; color: var(--grey); } }
@media (max-width: 960px) {
  .reach { grid-template-columns: 1fr; }
  .reach-options { grid-template-rows: none; grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .reach-options { grid-template-columns: 1fr; }
  .reach-main h2 { font-size: 1.6rem; }
  .menu .menu-cta { background: var(--mist); }
  .menu .menu-cta .sq { display: none; }
}
@media (max-width: 640px) {
  .hw-x, .popup-close, .hw-launch { width: auto; }
  .hw-head h2 { flex: 1; }
  .popup-photo { min-height: 0; height: 7.5rem; }
  .popup-body { padding-top: 1.5rem; }
}

/* Footer photo credits: collapsed until opened */
.foot details.credits { font-size: .85rem; color: #BDC1C6; }
.foot details.credits summary { cursor: pointer; list-style: none; display: inline-flex; align-items: center; gap: .4rem; text-decoration: underline; text-underline-offset: 3px; }
.foot details.credits summary::-webkit-details-marker { display: none; }
.foot details.credits summary::after { content: "+"; text-decoration: none; }
.foot details.credits[open] summary::after { content: "\2212"; }
.foot details.credits p { margin: .6rem 0 0; }
@media (max-width: 640px) { .popup { width: 100%; max-width: 100%; } }
@media (max-width: 640px) { .popup-close { width: 2.75rem; height: 2.75rem; } .hw-x { min-width: 2.75rem; } }

/* ===== Mobile header: logo only + menu toggle ===== */
.menu-toggle { display: none; }
@media (max-width: 640px) {
  .bar { flex-direction: row; align-items: center; justify-content: space-between; position: relative; }
  .logo { padding: .75rem 1rem; }
  .logo .logo-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .logo img { width: 40px; height: 40px; }
  .menu-toggle {
    display: flex; align-items: center; justify-content: center;
    width: 3.25rem; height: 3.25rem; margin-right: var(--gap); padding: 0;
    background: var(--ink); color: var(--white); cursor: pointer;
  }
  .menu-toggle:hover { background: #3C4043; }
  .menu-toggle-bars { position: relative; width: 22px; height: 16px; display: block; }
  .menu-toggle-bars i { position: absolute; left: 0; width: 100%; height: 2px; background: currentColor; transition: transform .2s ease, opacity .2s ease, top .2s ease; }
  .menu-toggle-bars i:nth-child(1) { top: 0; }
  .menu-toggle-bars i:nth-child(2) { top: 7px; }
  .menu-toggle-bars i:nth-child(3) { top: 14px; }
  .menu-open .menu-toggle-bars i:nth-child(1) { top: 7px; transform: rotate(45deg); }
  .menu-open .menu-toggle-bars i:nth-child(2) { opacity: 0; }
  .menu-open .menu-toggle-bars i:nth-child(3) { top: 7px; transform: rotate(-45deg); }

  /* Menu panel drops down under the header */
  .menu, .bar .menu {
    display: none; position: absolute; left: 0; right: 0; top: 100%; z-index: 40;
    grid-template-columns: 1fr; gap: var(--gap); padding: var(--gap); background: var(--white);
    border-bottom: 0; box-shadow: 0 0 0 100vmax rgba(32, 33, 36, .45);
  }
  .menu-open .bar .menu { display: grid; }
  .bar .menu a, .bar .menu .menu-cta {
    justify-content: flex-start; padding: 1rem; font-size: 1rem; font-weight: 600;
    background: var(--mist); color: var(--ink);
  }
  .bar .menu a .sq { opacity: 1; width: 10px; height: 10px; margin-right: .75rem; }
  .bar .menu .menu-cta .sq { display: inline-block; }
  .bar .menu a[aria-current="page"] { background: var(--ink); color: var(--white); }
  .menu-open { overflow: hidden; }
}
@media (max-width: 640px) { .menu-toggle { position: relative; z-index: 41; } }
@media (max-width: 640px) { .menu-open .hw { display: none; } }
