/* =========================================================
   Hoekd Consulting - shared styles for every page
   Colours: black text on white, with platinum as the accent
   ========================================================= */
:root {
  --black: #111111;
  --ink: #111111;
  --grey: #4a4a4a;          /* secondary text, still dark enough to read easily */
  --line: #d9d8d5;
  --paper: #ffffff;
  --platinum: #e5e4e2;      /* the accent colour */
  --platinum-light: #f2f1ef;
  --platinum-dark: #b9b8b5; /* platinum borders and rules */
  --yellow: #f8de7e;        /* mellow yellow - use sparingly, like a highlighter */
  --radius: 6px;
  --max: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 17px;
}
h1, h2, h3 { font-family: "Courier Prime", "Courier New", monospace; color: var(--black); line-height: 1.2; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(2rem, 4.5vw, 3rem); }
h2 { font-size: clamp(1.55rem, 3vw, 2.1rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
a { color: var(--black); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
section { padding: 80px 0; scroll-margin-top: 76px; }
.soft { background: var(--platinum-light); }
.eyebrow { font-family: "Special Elite", "Courier New", monospace; text-transform: uppercase; letter-spacing: .14em; font-size: .85rem; color: var(--black); margin-bottom: .75em; display: inline-block; border-bottom: 3px solid var(--platinum); padding-bottom: 2px; }
.lead { font-size: 1.15rem; color: var(--grey); max-width: 740px; }
.note { font-size: .9rem; color: var(--grey); }

/* Buttons */
.btn { display: inline-block; padding: 14px 26px; border-radius: var(--radius); font-weight: 600; text-decoration: none; transition: transform .15s, background .15s, color .15s; border: 2px solid var(--black); }
.btn:hover { transform: translateY(-1px); }
.btn-primary, .btn-dark { background: var(--black); color: #fff; }
.btn-primary:hover, .btn-dark:hover { background: #333; border-color: #333; }
.btn-ghost { background: #fff; color: var(--black); }
.btn-ghost:hover { background: var(--platinum); }

/* ---------- Typewriter logo ---------- */
.logo { display: inline-flex; flex-direction: column; text-decoration: none; color: var(--black); line-height: 1; }
.tw {
  font-family: "Special Elite", "Courier New", monospace;
  font-size: 2rem;
  letter-spacing: .04em;
  filter: url(#ink);            /* tiny flecks where the ink didn't transfer, see the hidden SVG on each page */
  white-space: nowrap;
}
.logo-sub { font-size: .66rem; letter-spacing: .42em; text-transform: uppercase; font-weight: 600; margin-top: 4px; padding-left: 2px; }
.logo-sub::before { content: ""; display: inline-block; width: 14px; height: 2px; background: var(--yellow); vertical-align: middle; margin-right: 8px; }

/* Highlighter effect for a few key phrases and dates */
.hl { background: linear-gradient(transparent 55%, var(--yellow) 55%, var(--yellow) 92%, transparent 92%); color: inherit; padding: 0 2px; }

/* ---------- Header / navigation ---------- */
header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.nav ul { list-style: none; display: flex; gap: 26px; margin: 0; padding: 0; align-items: center; }
.nav a { text-decoration: none; color: var(--ink); font-weight: 500; font-size: .95rem; }
.nav a:hover { text-decoration: underline; text-decoration-color: var(--platinum-dark); text-underline-offset: 6px; text-decoration-thickness: 2px; }
.nav .btn { color: #fff; padding: 10px 18px; }
.nav .btn:hover { color: #fff; text-decoration: none; }
.menu-toggle { display: none; background: none; border: 0; font-size: 1.6rem; cursor: pointer; color: var(--black); }

/* ---------- Hero ---------- */
.hero { background: #fff; color: var(--black); padding: 100px 0 90px; border-bottom: 1px solid var(--line); }
.hero h1 { max-width: 860px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
.badges span { border: 1px solid var(--platinum-dark); padding: 6px 14px; border-radius: 999px; font-size: .88rem; }
.badges .fr { background: var(--platinum); border-color: var(--platinum); font-weight: 600; }

/* ---------- Layout helpers ---------- */
.two-col { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: start; }
.callout { background: #fff; border: 1px solid var(--line); border-left: 6px solid var(--platinum-dark); border-radius: var(--radius); padding: 28px; }
.callout ul { margin: 0; padding-left: 1.2em; }
.callout li { margin-bottom: .5em; }

/* ---------- Region cards (homepage) ---------- */
.region-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; margin-top: 40px; }
.region { display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; text-decoration: none; color: var(--ink); transition: border-color .15s, transform .15s, box-shadow .15s; }
.region:hover { border-color: var(--black); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,.06); }
.region h3 { margin-bottom: .25em; }
.agency { font-size: .85rem; font-weight: 600; color: var(--grey); margin-bottom: .8em; display: block; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips span { background: var(--platinum-light); border: 1px solid var(--line); border-radius: 4px; padding: 3px 10px; font-size: .85rem; }
.region .more { display: block; margin-top: 14px; font-weight: 600; font-size: .9rem; color: var(--black); text-decoration: underline; text-decoration-color: var(--platinum-dark); text-underline-offset: 4px; }
.status { display: inline-block; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; padding: 3px 9px; border-radius: 4px; margin-bottom: 10px; background: var(--platinum); color: var(--black); border: 1px solid var(--platinum-dark); }
.status.check { background: #fff; border-style: dashed; }
.status.soon { background: var(--yellow); border-color: #d9bd57; }

/* ---------- Services ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.card { border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; background: #fff; }
.card.featured { border: 2px solid var(--black); position: relative; }
.card.featured::before { content: "Our focus"; position: absolute; top: -12px; left: 24px; background: var(--yellow); border: 1px solid #d9bd57; color: var(--black); font-size: .75rem; font-weight: 600; padding: 2px 10px; border-radius: 4px; }
.card ul { padding-left: 1.2em; color: var(--grey); margin: 0; }

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 40px; counter-reset: step; }
.step { position: relative; padding-top: 56px; }
.step::before { counter-increment: step; content: counter(step); position: absolute; top: 0; left: 0; width: 40px; height: 40px; border-radius: 50%; background: var(--platinum); border: 1px solid var(--platinum-dark); color: var(--black); display: grid; place-items: center; font-weight: 700; font-family: "Courier Prime", monospace; }

/* ---------- About ---------- */
.bio .btn { margin-top: 8px; }
.glance { background: var(--platinum-light); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.glance dl { margin: 0; display: grid; gap: 18px; }
.glance dl div { border-top: 1px solid var(--platinum-dark); padding-top: 14px; }
.glance dl div:first-child { border-top: 0; padding-top: 0; }
.glance dt { font-family: "Courier Prime", "Courier New", monospace; font-weight: 700; font-size: 1.4rem; line-height: 1.2; }
.glance dt::after { content: ""; display: block; width: 28px; height: 3px; background: var(--yellow); margin-top: 4px; }
.glance dd { margin: 6px 0 0; color: var(--grey); }

/* ---------- FAQ ---------- */
details { border-bottom: 1px solid var(--line); padding: 18px 0; }
summary { cursor: pointer; font-weight: 600; color: var(--black); font-size: 1.05rem; }
details p { margin-top: 12px; color: var(--grey); }

/* ---------- Region detail pages ---------- */
.crumbs { font-size: .85rem; color: var(--grey); margin-bottom: 18px; }
.crumbs a { color: var(--grey); }
.facts { width: 100%; border-collapse: collapse; margin-top: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.facts th, .facts td { text-align: left; vertical-align: top; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.facts tr:last-child th, .facts tr:last-child td { border-bottom: 0; }
.facts th { width: 32%; background: var(--platinum-light); font-weight: 600; }
.deadline { background: var(--platinum); color: var(--black); border: 1px solid var(--platinum-dark); border-radius: var(--radius); padding: 26px 28px; margin-top: 8px; }
.deadline h3 { margin-bottom: .4em; }
.deadline p:last-child { margin-bottom: 0; }
.deadline strong { background: var(--yellow); padding: 0 3px; }
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { padding-left: 30px; position: relative; margin-bottom: .7em; }
.checklist li::before { content: "\2713"; position: absolute; left: 0; color: var(--black); font-weight: 700; }
.xlist { list-style: none; padding: 0; margin: 0; }
.xlist li { padding-left: 30px; position: relative; margin-bottom: .7em; color: var(--grey); }
.xlist li::before { content: "\2715"; position: absolute; left: 2px; color: var(--black); font-weight: 700; }
.verify { font-size: .88rem; color: var(--grey); border-top: 1px solid var(--line); padding-top: 18px; margin-top: 36px; }
.fr-box { background: #fff; border: 2px solid var(--black); border-radius: var(--radius); padding: 26px 28px; margin-top: 32px; }
.fr-box h3 { margin-bottom: .4em; }
.other-regions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.other-regions a { border: 1px solid var(--black); border-radius: 999px; padding: 8px 16px; text-decoration: none; font-size: .9rem; }
.other-regions a:hover { background: var(--platinum); }

/* ---------- Call to action band ---------- */
.cta { background: var(--platinum); text-align: center; }
.cta p { color: var(--black); max-width: 640px; margin: 0 auto 28px; }

/* ---------- Contact ---------- */
.contact { background: var(--platinum-light); border-top: 1px solid var(--line); }
form { display: grid; gap: 16px; background: #fff; color: var(--ink); padding: 32px; border-radius: var(--radius); border: 1px solid var(--line); }
label { font-weight: 600; font-size: .9rem; display: block; margin-bottom: 6px; }
input, select, textarea { width: 100%; padding: 12px; border: 1px solid #b0afac; border-radius: 4px; font: inherit; background: #fff; color: var(--ink); }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--black); outline-offset: 1px; }
textarea { min-height: 120px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
form button { cursor: pointer; font: inherit; font-weight: 600; }

/* ---------- Footer ---------- */
footer { background: #fff; color: var(--grey); padding: 48px 0; font-size: .88rem; border-top: 6px solid var(--platinum); }
footer .wrap { display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: 32px; }
footer a { color: var(--black); text-decoration: none; }
footer a:hover { text-decoration: underline; }
footer ul { list-style: none; padding: 0; margin: 0; }
footer li { margin-bottom: 6px; }
footer h4 { color: var(--black); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 12px; }
footer .logo { margin-bottom: 14px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .two-col, .cards { grid-template-columns: 1fr; gap: 32px; }
  .steps { grid-template-columns: 1fr 1fr; }
  footer .wrap { grid-template-columns: 1fr 1fr; }
  .menu-toggle { display: block; }
  .nav ul { display: none; position: absolute; top: 76px; left: 0; right: 0; background: #fff; flex-direction: column; padding: 20px; border-bottom: 1px solid var(--line); gap: 18px; }
  .nav ul.open { display: flex; }
}
@media (max-width: 560px) {
  section { padding: 56px 0; }
  .wrap { padding: 0 16px; }
  .hero { padding: 64px 0 56px; }
  .steps, .form-row, footer .wrap { grid-template-columns: 1fr; }
  .region-grid { grid-template-columns: 1fr; }
  form { padding: 22px; }
  .facts th, .facts td { display: block; width: 100%; }
  .facts th { border-bottom: 0; padding-bottom: 6px; }
  .facts td { padding-top: 6px; }
}
