/* Bhogal Solicitors and Immigration Lawyers. Shared tokens and components.
   Values come from the Claude Design file; pages should not add colours of their own. */

:root {
  --paper: #FAF9F6;
  --stone: #EFECE7;
  --stone-2: #F3F0EB;
  --ink: #1E1E1E;
  --muted: #4A4845;
  --rule: #DAD5CE;
  --rule-2: #C9C3BA;
  --red: #C4161C;
  --red-dk: #A11217;
  --error: #B3141A;
  --night: #1E1E1E;
  --night-text: #E9E6E1;
  --night-muted: #B9B4AD;
  --night-rule: #3A3835;
  --night-red: #E0484D;

  --serif: 'Newsreader', Georgia, 'Times New Roman', serif;
  --sans: 'Public Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, Consolas, monospace;

  --gutter: clamp(20px, 5vw, 64px);
  --max: 1280px;
  --band: clamp(64px, 9vw, 120px);
  --ease: cubic-bezier(.2, 0, 0, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
/* The runtime wraps each imported component in a host div. Let the header's host
   dissolve so the sticky header is positioned against the page, not its wrapper. */
.sc-host:has(> .hdr) { display: contents; }
input, select, textarea, button { font: inherit; color: inherit; }
::selection { background: var(--red); color: #fff; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }

a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--red-dk); }

:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 1px; }
.on-night :focus-visible, .night :focus-visible { outline-color: #fff; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; text-decoration: none; }
.skip:focus { top: 12px; color: #fff; }

/* ---------- Layout ---------- */
.wrap { max-width: var(--max); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.band { padding-top: var(--band); padding-bottom: var(--band); }
.band-sm { padding-top: clamp(48px, 7vw, 96px); padding-bottom: clamp(48px, 7vw, 96px); }
.page-top { padding-top: clamp(48px, 7vw, 96px); }
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: 40px 80px; }
.split-end { align-items: end; }
.split-center { align-items: center; }
.stone { background: var(--stone); }
.night { background: var(--night); color: #F3F0EB; }
.hr { border: 0; border-top: 1px solid var(--rule); margin: 0; }

/* ---------- Type ---------- */
.kicker { font-family: var(--serif); font-size: 13px; letter-spacing: .24em; text-transform: uppercase; color: var(--red); margin-bottom: 18px; }
.label { font-family: var(--mono); font-weight: 500; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.night .label { color: var(--night-muted); }
.num { font-family: var(--mono); font-size: 13px; color: var(--red); }
.display { font-family: var(--serif); font-weight: 400; font-size: clamp(42px, 6.4vw, 88px); line-height: 1.02; letter-spacing: -.02em; text-wrap: balance; }
.h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 5.6vw, 76px); line-height: 1.03; letter-spacing: -.02em; text-wrap: balance; }
.h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 4.2vw, 56px); line-height: 1.05; letter-spacing: -.015em; text-wrap: balance; }
.h2-sm { font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 3.4vw, 44px); line-height: 1.1; text-wrap: balance; }
.h3 { font-family: var(--serif); font-weight: 400; font-size: 24px; line-height: 1.25; }
.lead { font-size: clamp(17px, 1.5vw, 19px); line-height: 1.6; color: var(--muted); text-wrap: pretty; max-width: 56ch; }
.body-lg { font-size: 18px; line-height: 1.68; max-width: 58ch; text-wrap: pretty; }
.body-lg + .body-lg { margin-top: 18px; }
.muted { color: var(--muted); }
.small { font-size: 14px; line-height: 1.5; }

/* ---------- Buttons and links ---------- */
.btn { white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 14px 26px; border-radius: 2px; font-weight: 600; font-size: 16px; line-height: 1.2; text-decoration: none; cursor: pointer; border: 1px solid transparent; transition: background-color .15s var(--ease), color .15s var(--ease), border-color .15s var(--ease); }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dk); color: #fff; }
.btn-line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-line:hover { background: var(--ink); color: #fff; }
.btn-line-light { border-color: #fff; color: #fff; }
.btn-line-light:hover { background: #fff; color: var(--ink); }
.btn-sm { min-height: 44px; padding: 10px 18px; font-size: 15px; }
.btn[disabled] { opacity: .6; cursor: progress; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.more { display: inline-block; font-weight: 600; color: var(--ink); text-decoration: none; border-bottom: 2px solid var(--red); padding-bottom: 3px; }
.more:hover { color: var(--red); }
.arr::after { content: "\2192"; display: inline-block; margin-left: 8px; transition: transform .2s var(--ease); }
a:hover .arr::after, a.arr:hover::after { transform: translateX(3px); }

/* ---------- Lists ---------- */
.rules { border-top: 1px solid var(--ink); }
.rules > li, .rules > div { padding: 14px 0; border-bottom: 1px solid var(--rule); font-size: 17px; }
.rules .note { display: block; font-size: 13px; color: var(--muted); margin-top: 3px; }
.dash > li { display: grid; grid-template-columns: 20px 1fr; gap: 8px; padding: 13px 0; border-bottom: 1px solid var(--rule); font-size: 16px; }
.dash > li::before { content: "\2014"; color: var(--red); }
.dash { border-top: 1px solid var(--rule); }

/* ---------- Questions (details/summary) ---------- */
.qa { border-top: 1px solid var(--ink); }
.qa details { border-bottom: 1px solid var(--rule); }
.qa summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr 24px; gap: 16px; align-items: baseline; padding: 20px 0; font-family: var(--serif); font-size: 21px; line-height: 1.3; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; font-family: var(--mono); font-size: 20px; color: var(--red); justify-self: end; }
.qa details[open] summary::after { content: "\2212"; }
.qa summary:hover { color: var(--red); }
.qa .ans { padding: 0 40px 22px 0; font-size: 16px; line-height: 1.65; color: var(--muted); max-width: 64ch; }
.qa .ans p + p { margin-top: 10px; }

/* ---------- Header ---------- */
.topbar { background: var(--night); color: var(--night-text); font-size: 13px; }
.topbar .wrap { display: flex; flex-wrap: wrap; gap: 6px 24px; justify-content: space-between; align-items: center; padding-top: 9px; padding-bottom: 9px; }
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { color: #fff; text-decoration: underline; }
.topbar .tb-note { color: var(--night-muted); }
.topbar .tb-phones { display: flex; gap: 20px; }

.hdr { position: sticky; top: 0; z-index: 20; background: rgba(250, 249, 246, .96); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid var(--rule); }
.hdr-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; padding-top: 8px; padding-bottom: 8px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; }
.brand:hover { color: var(--ink); }
.brand img { height: 52px; width: auto; }
.brand-words { white-space: nowrap; display: flex; flex-direction: column; line-height: 1.15; border-left: 1px solid var(--rule); padding-left: 12px; font-family: var(--serif); text-transform: uppercase; letter-spacing: .2em; }
.brand-words b { font-weight: 400; font-size: 17px; }
.brand-words span { font-size: 11px; color: var(--muted); }
.hdr-nav { display: flex; align-items: center; gap: 28px; }
.hdr-nav a:not(.btn) { white-space: nowrap; color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 500; padding: 8px 0; border-bottom: 2px solid transparent; }
.hdr-nav a:not(.btn):hover { color: var(--red); }
.hdr-nav a[aria-current="page"] { border-bottom-color: var(--red); }
.menu-btn { display: none; background: none; border: 0; cursor: pointer; font-family: var(--mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; padding: 12px 4px; min-height: 44px; }
.mnav { border-top: 1px solid var(--rule); padding: 8px var(--gutter) 24px; display: flex; flex-direction: column; background: var(--paper); max-height: calc(100vh - 110px); overflow: auto; }
.mnav a:not(.btn) { font-family: var(--serif); font-size: 26px; padding: 12px 0; border-bottom: 1px solid var(--rule); color: var(--ink); text-decoration: none; }
.mnav a[aria-current="page"] { color: var(--red); }
.mnav .btn { margin-top: 18px; }
@media (max-width: 1120px) {
  .hdr-nav { display: none; }
  .menu-btn { display: inline-flex; align-items: center; }
}
@media (max-width: 420px) {
  .brand-words span { display: none; }
  .brand img { height: 44px; }
  .topbar .tb-note { display: none; }
}

/* ---------- Footer ---------- */
.ftr { background: var(--night); color: var(--night-text); }
.ftr-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 36px 48px; padding-top: 56px; padding-bottom: 32px; }
.ftr .label { margin-bottom: 12px; display: block; color: var(--night-muted); }
.ftr ul { display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.ftr a { color: #fff; text-decoration: none; }
.ftr a:hover { color: var(--night-red); text-decoration: underline; }
.ftr-word { font-family: var(--serif); text-transform: uppercase; letter-spacing: .2em; }
.ftr-word b { display: block; font-weight: 400; font-size: 20px; color: #fff; }
.ftr-word span { display: block; font-size: 12px; color: var(--night-muted); line-height: 1.6; margin-top: 8px; }
.ftr-legal { border-top: 1px solid var(--night-rule); padding-top: 18px; padding-bottom: 28px; font-size: 13px; line-height: 1.6; color: var(--night-muted); display: flex; flex-wrap: wrap; gap: 8px 32px; justify-content: space-between; }
.ftr-legal p { max-width: 70ch; }

.callbar { display: none; }
@media (max-width: 900px) {
  .callbar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: var(--night); border-top: 1px solid var(--night-rule); padding-bottom: env(safe-area-inset-bottom); }
  .callbar a { display: flex; align-items: center; justify-content: center; min-height: 56px; color: #fff; text-decoration: none; font-weight: 600; }
  .callbar a + a { background: var(--red); }
  .ftr { padding-bottom: calc(56px + env(safe-area-inset-bottom)); }
}

/* ---------- Shared page pieces ---------- */
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 24px; }
@media (max-width: 1000px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .facts { grid-template-columns: 1fr; } }
.facts > div { padding: 28px 24px 28px 0; border-top: 1px solid var(--rule); display: flex; flex-direction: column; gap: 8px; }
.facts .v { font-family: var(--serif); font-size: 24px; line-height: 1.2; }
.facts .d { font-size: 14px; line-height: 1.5; color: var(--muted); }
.facts .label { color: var(--red); }

.area-rows { border-top: 1px solid var(--ink); }
.area-rows a { display: grid; grid-template-columns: 56px minmax(0, 1.1fr) minmax(0, 1.4fr) 32px; gap: 8px 32px; align-items: baseline; padding: 28px 0; border-bottom: 1px solid var(--rule); color: var(--ink); text-decoration: none; transition: background-color .15s var(--ease); }
.area-rows a:hover { background: var(--stone-2); }
.area-rows .n { font-family: var(--serif); font-size: clamp(28px, 3.2vw, 42px); line-height: 1.1; }
.area-rows .s { font-size: 16px; line-height: 1.55; color: var(--muted); }
.area-rows .go { font-size: 22px; justify-self: end; transition: transform .2s var(--ease); }
.area-rows a:hover .go { transform: translateX(4px); color: var(--red); }
@media (max-width: 900px) {
  .area-rows a { grid-template-columns: 36px 1fr; }
  .area-rows .s { grid-column: 2; }
  .area-rows .go { display: none; }
}

.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills a { display: inline-flex; gap: 8px; align-items: baseline; padding: 10px 16px; border: 1px solid var(--rule-2); border-radius: 999px; font-size: 15px; color: var(--ink); text-decoration: none; }
.pills a:hover { border-color: var(--ink); }
.pills a[aria-current="page"] { border-color: var(--red); color: var(--red); }
.pills .num { font-size: 11px; }

.panel { background: var(--stone); padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.card-line { background: #fff; border: 1px solid var(--rule); padding: clamp(24px, 3vw, 40px); }

.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--muted); margin-bottom: 24px; }
.crumbs a { color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--rule-2); }

.steps-list { border-top: 1px solid var(--rule-2); counter-reset: s; }
.steps-list > li { display: grid; grid-template-columns: 48px 1fr; gap: 4px 12px; padding: 22px 0; border-bottom: 1px solid var(--rule-2); }
.steps-list .t { font-family: var(--serif); font-size: 24px; line-height: 1.25; }
.steps-list .b { grid-column: 2; font-size: 16px; line-height: 1.6; color: var(--muted); max-width: 56ch; }

/* ---------- Forms ---------- */
.field { display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 600; }
.field .opt { font-weight: 400; color: var(--muted); }
.field .help { font-weight: 400; color: var(--muted); font-size: 14px; }
.field input, .field select, .field textarea { font-weight: 400; font-size: 17px; padding: 13px 14px; border: 1px solid var(--rule-2); border-radius: 2px; background: var(--paper); width: 100%; min-height: 50px; }
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--red); outline-offset: 0; border-color: var(--red); }
.field [aria-invalid="true"] { border-color: var(--error); }
.field .err { font-weight: 400; color: var(--error); font-size: 14px; display: flex; gap: 6px; }
.field .err::before { content: "!"; display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--error); color: #fff; font-size: 12px; font-weight: 700; flex: none; margin-top: 1px; }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 22px; }
.form { display: flex; flex-direction: column; gap: 22px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
