/* Granted & Ready consumer site (brief §30.2), built from design/homepage_reference.html. */
@font-face { font-family: "Bricolage Grotesque"; src: url(/fonts/BricolageGrotesque-latin.woff2) format("woff2");
  font-weight: 200 800; font-stretch: 75% 100%; font-display: swap; }
@font-face { font-family: "Atkinson Hyperlegible Next"; src: url(/fonts/AtkinsonHyperlegibleNext-latin.woff2) format("woff2");
  font-weight: 200 800; font-display: swap; }

:root {
  --navy: #14284B; --navy-deep: #0F1E38; --navy-line: #4A6189; --navy-rule: #23365A;
  --ink: #1A2230; --slate: #4E5B6B; --muted: #6B7684; --on-navy: #D6DDE8; --foot: #C9D2DF;
  --paper: #F7F8FA; --white: #FFFFFF; --tint: #EEF1F6;
  --hivis: #FFC72C; --granted: #1E6B4C; --link: #1F4FD8; --line: #DDE2E8;
  --alert: #7A1712; --alert-bg: #FDECEA;
  --display: "Bricolage Grotesque", system-ui, sans-serif;
  --body: "Atkinson Hyperlegible Next", "Atkinson Hyperlegible", system-ui, sans-serif;
  --r-input: 10px; --r-card: 14px; --r-panel: 20px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.55; }
a { color: var(--link); } a:hover { color: var(--navy); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible { outline: 3px solid var(--link); outline-offset: 2px; }
img, svg { max-width: 100%; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; color: var(--navy); text-wrap: balance; }
h2 { font-size: clamp(27px, 3.4vw, 34px); letter-spacing: -0.015em; line-height: 1.15; margin: 0 0 24px; }
h3 { font-size: 21px; margin: 0 0 6px; }
p { max-width: 68ch; }
.wrap { max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip:focus { position: fixed; top: 8px; left: 8px; width: auto; height: auto; clip: auto; background: var(--white); padding: 10px 14px; z-index: 10; }
.meta { color: var(--slate); font-size: 15px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 22px; border-radius: 12px; border: 0;
  background: var(--hivis); color: var(--navy); font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; }
.btn:hover { color: var(--navy); filter: brightness(0.97); }
.btn.navy { background: var(--navy); color: var(--white); }
.btn.navy:hover { color: var(--white); }
.textlink { color: var(--navy); font-weight: 600; text-decoration: underline; padding: 13px 6px; }

/* Emergency strip */
.strip { display: block; background: var(--hivis); color: var(--navy); text-decoration: none; }
.strip:hover { color: var(--navy); }
.strip .wrap { padding-top: 12px; padding-bottom: 12px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; }
.strip strong { font-weight: 700; }
.strip .go { margin-left: auto; font-weight: 700; text-decoration: underline; }

/* Header */
.top { background: var(--navy); color: var(--white); }
.bar { padding-top: 18px; padding-bottom: 18px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--white); text-decoration: none; }
.brand:hover { color: var(--white); }
.brand .word { font-family: var(--display); font-weight: 700; font-size: 22px; letter-spacing: -0.01em; white-space: nowrap; }
.mainnav { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-left: auto; align-items: center; font-size: 16px; }
.mainnav a { color: var(--white); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.mainnav a:hover { text-decoration: underline; }
.mainnav .trade { color: var(--navy); background: var(--white); font-weight: 700; padding: 9px 16px; border-radius: var(--r-input); min-height: 44px; }
.mainnav .trade:hover { color: var(--navy); }

/* Hero and search */
.hero { padding-top: 56px; padding-bottom: 72px; }
.hero h1 { color: var(--white); font-size: clamp(40px, 6vw, 64px); line-height: 1.04; letter-spacing: -0.025em; margin: 0; max-width: 14ch; }
.hero .lede { margin: 20px 0 0; font-size: 20px; color: var(--on-navy); max-width: 52ch; }
.page-hero { padding-top: 40px; padding-bottom: 48px; }
.page-hero h1 { font-size: clamp(34px, 5vw, 52px); line-height: 1.08; letter-spacing: -0.02em; max-width: 22ch; }
.search { margin-top: 36px; background: var(--white); border-radius: var(--r-panel); padding: 10px; display: flex; flex-wrap: wrap; gap: 10px;
  box-shadow: 0 0 0 4px var(--hivis), 0 18px 40px rgba(6, 18, 40, 0.35); max-width: 980px; position: relative; }
.search label { display: flex; flex-direction: column; padding: 8px 14px; color: var(--ink); }
.search .what { flex: 3 1 320px; position: relative; }
.search .where { flex: 1 1 160px; border-left: 1px solid var(--line); }
.search .lab { font-size: 14px; font-weight: 700; color: var(--slate); }
.search input { border: 0; font: inherit; font-size: 19px; padding: 6px 0; color: var(--ink); background: transparent; width: 100%; min-height: 40px; }
.search input::placeholder { color: var(--muted); }
.search .where input { text-transform: uppercase; }
.search .where input::placeholder { text-transform: none; }
.search button { flex: 0 1 auto; min-height: 60px; padding: 0 30px; border: 0; border-radius: var(--r-card); background: var(--hivis); color: var(--navy); font: inherit; font-size: 18px; font-weight: 700; cursor: pointer; }
.suggest { position: absolute; left: 0; right: 0; top: 100%; z-index: 5; margin: 6px 0 0; padding: 6px; list-style: none; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: 0 12px 28px rgba(6, 18, 40, 0.18); }
.suggest[hidden] { display: none; }
.suggest li { padding: 10px 12px; border-radius: 8px; cursor: pointer; min-height: 44px; display: flex; flex-direction: column; justify-content: center; }
.suggest li[aria-selected="true"], .suggest li:hover { background: var(--tint); }
.suggest small { color: var(--slate); font-size: 14px; }
.chips { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.chips .lab { color: var(--on-navy); font-size: 15px; margin-right: 4px; }
.chips a { color: var(--white); text-decoration: none; border: 1px solid var(--navy-line); border-radius: 999px; padding: 9px 14px; font-size: 15px; }
.chips a:hover { border-color: var(--hivis); color: var(--white); }

/* Sections */
.section { padding-top: 64px; padding-bottom: 24px; }
.section.tight { padding-top: 32px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 178px), 1fr)); gap: 12px; }
.tile { display: flex; align-items: center; gap: 12px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); padding: 16px;
  color: var(--ink); text-decoration: none; min-height: 44px; font-weight: 600; }
.tile:hover { border-color: var(--navy); color: var(--ink); }
.ico { width: 40px; height: 40px; border-radius: var(--r-input); background: var(--tint); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-panel); padding: 32px; }
.split { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; }
.split > .main { flex: 2 1 420px; }
.split > .side { flex: 1 1 280px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.gas { background: var(--alert-bg); color: var(--alert); border-radius: var(--r-card); padding: 18px 20px; }
.gas p { margin: 0; } .gas p + p { margin-top: 6px; }
.gas a { color: var(--alert); font-weight: 700; }
.check { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.check > div { flex: 1 1 460px; }
.stamp { transform: rotate(-6deg); flex: 0 0 auto; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px 32px; }
.ticks li { display: flex; gap: 12px; }
.ticks svg { flex-shrink: 0; margin-top: 3px; }
.band { background: var(--navy); color: var(--white); }
.band h2 { color: var(--white); margin-bottom: 10px; }
.band .wrap { padding-top: 64px; padding-bottom: 64px; }
.band .sub { color: var(--on-navy); margin: 0 0 32px; max-width: 60ch; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px; margin: 0; }
.stats div { border-top: 2px solid var(--hivis); padding-top: 14px; }
.stats dt { color: var(--on-navy); font-size: 15px; }
.stats dd { margin: 6px 0 0; font-family: var(--display); font-weight: 700; font-size: 44px; line-height: 1.1; }
.stats dd.word { font-size: 32px; }
.steps { list-style: none; margin: 36px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.steps li { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); padding: 22px; }
.steps .n { font-family: var(--display); font-weight: 700; font-size: 28px; color: var(--link); }
.steps p { margin: 6px 0 0; }
.headrow { display: flex; flex-wrap: wrap; gap: 24px 40px; align-items: flex-end; justify-content: space-between; }
.headrow > div { flex: 1 1 420px; }
.list { border-top: 1px solid var(--line); }
.list a { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; align-items: baseline; padding: 18px 4px; border-bottom: 1px solid var(--line);
  color: var(--ink); text-decoration: none; }
.list a:hover { background: var(--white); }
.list .name { font-weight: 600; font-size: 19px; }
.list .aside { color: var(--slate); }
.tradeband { background: var(--hivis); color: var(--navy); }
.tradeband .wrap { padding-top: 44px; padding-bottom: 44px; display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.tradeband h2 { font-size: 30px; margin: 0; }
.tradeband p { margin: 6px 0 0; max-width: 56ch; }
.tradeband .textlink { text-decoration: none; font-weight: 700; padding: 14px 8px; }

/* Results */
.crumbs { font-size: 15px; color: var(--on-navy); margin: 0 0 14px; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs a { color: var(--white); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--on-navy); }
.results { display: grid; gap: 16px; }
.pro { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); padding: 22px; display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; }
.pro h3 { margin: 0; }
.pro .badge { display: inline-flex; align-items: center; gap: 6px; color: var(--granted); font-weight: 700; font-size: 15px; }
.pro .contact { margin-left: auto; display: flex; flex-wrap: wrap; gap: 10px; }
.empty { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-panel); padding: 28px; }
.empty h2 { font-size: 26px; margin-bottom: 10px; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin: 0; }
.facts div { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); padding: 18px; }
.facts dt { color: var(--slate); font-size: 15px; }
.facts dd { margin: 4px 0 0; font-family: var(--display); font-weight: 700; font-size: 30px; color: var(--navy); }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); padding: 0 18px; margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 700; padding: 16px 0; min-height: 44px; }
.links { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; list-style: none; }
.links a { display: inline-block; background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 9px 14px; text-decoration: none; color: var(--ink); }
.links a:hover { border-color: var(--navy); }
.prose { max-width: 70ch; }
.prose h2 { margin-top: 36px; }

/* Footer */
.foot { background: var(--navy-deep); color: var(--foot); font-size: 15px; margin-top: 0; }
.foot .cols { padding-top: 48px; padding-bottom: 48px; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px; }
.foot nav { display: flex; flex-direction: column; gap: 4px; }
.foot nav a { color: var(--foot); min-height: 32px; display: inline-flex; align-items: center; }
.foot .h { color: var(--white); font-weight: 700; }
.foot .name { margin: 0; font-family: var(--display); font-weight: 700; font-size: 20px; color: var(--white); }
.foot .legal { border-top: 1px solid var(--navy-rule); }
.foot .legal p { margin: 0 auto; padding: 18px 24px; font-size: 14px; max-width: 1200px; }

@media (max-width: 640px) {
  .wide { display: none !important; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .tile { padding: 12px; gap: 10px; font-size: 16px; }
  .ico { width: 34px; height: 34px; }
  .strip .wrap { padding-top: 10px; padding-bottom: 10px; font-size: 16px; flex-wrap: nowrap; }
  .bar { flex-wrap: nowrap; padding-top: 12px; padding-bottom: 12px; }
  .brand .word { font-size: 19px; }
  .brand svg { width: 28px; height: 28px; }
  .mainnav { margin-left: auto !important; }
  .mainnav .trade { padding: 8px 12px; }
  .hero h1 { font-size: 38px; }
  .hero .lede { font-size: 18px; margin-top: 12px; }
  .search { margin-top: 24px; }
  .search .where { border-left: 0; border-top: 1px solid var(--line); }
  .search button { width: 100%; }
  .hero { padding-top: 36px; padding-bottom: 48px; }
  .card { padding: 22px; }
  .strip .go { margin-left: auto; white-space: nowrap; }
}
@media (max-width: 359px) { .brand .word { font-size: 16px; } .mainnav .trade { font-size: 14px; white-space: nowrap; } .strip .wrap { font-size: 14px; } }
@media (prefers-reduced-motion: no-preference) {
  .stamp.press { animation: press 180ms ease-out; }
  @keyframes press { from { transform: rotate(-6deg) scale(1.08); } to { transform: rotate(-6deg) scale(1); } }
}

/* Companies House firms (founder override D-046): visibly separate from checked businesses */
.unchecked { margin-top: 32px; }
.unchecked h2 { font-size: 24px; margin-bottom: 8px; }
.unchecked .note { background: var(--tint); border-radius: var(--r-card); padding: 14px 16px; }
.ulist { list-style: none; margin: 16px 0; padding: 0; border-top: 1px solid var(--line); }
.ulist li { display: flex; flex-wrap: wrap; gap: 4px 16px; align-items: baseline; padding: 12px 4px; border-bottom: 1px solid var(--line); }
.ulist .uname { font-weight: 600; flex: 1 1 260px; }
.ulist .meta { flex: 1 1 220px; }
.ulist a { font-size: 15px; }
.ulist li[hidden] { display: none; }

/* WhatsApp us your job */
.wa { margin: 18px 0; }
.wa .meta { margin: 8px 0 0; max-width: 56ch; }
.wa-btn { gap: 10px; background: var(--navy); color: var(--white); }
.wa-btn:hover { color: var(--white); }
.wa.on-navy { margin: 18px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.wa.on-navy .wa-btn { background: transparent; color: var(--white); border: 2px solid var(--white); min-height: 48px; }
.wa.on-navy .meta { color: var(--on-navy); margin: 0; flex: 1 1 260px; }
.alt-btn { background: var(--white); color: var(--navy); border: 2px solid var(--line); }
.ulist .ucontact { display: inline-flex; gap: 14px; flex-wrap: wrap; }

/* Profiles */
.profile-head { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.profile-head > div { flex: 1 1 420px; }
.profile-hero .lede { color: var(--on-navy); }
.wa-btn.on-dark { background: transparent; border: 2px solid var(--white); }
.photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 10px; }
.photos img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-card); }
.review { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); padding: 16px 18px; margin-bottom: 12px; }
.review p { margin: 0 0 6px; }
.stars { color: #B7791F; font-size: 20px; letter-spacing: 2px; }
.reply { background: var(--tint); border-radius: 10px; padding: 10px 12px; }
.checks h2 { margin-bottom: 14px; }
