/* ==========================================================================
   Lariat Consulting — lariatconsulting.nl
   Single stylesheet. Design tokens copied from the .co.uk build for visual
   consistency; layout is written fresh for this five-page site.
   ========================================================================== */

/* ---------- Self-hosted fonts (Latin subsets only) ---------- */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/inter-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/inter-500-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/inter-600-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/inter-700-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/playfair-display-600-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/playfair-display-700-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Design tokens (from .co.uk tokens.css) ---------- */
:root {
  --lc-navy:      #003C71;
  --lc-ocean:     #005EB8;
  --lc-sky:       #0093D0;
  --lc-blue-tint: #E7F4FF;

  --lc-green:     #8CC63F;
  --lc-platinum:  #ACACAC;

  --lc-text-strong: #1A202C;
  --lc-text-primary:#003C71;
  --lc-text-body:   #4D4F53;
  --lc-text-muted:  #7C878E;
  --lc-text-soft:   #A7A8AA;

  --lc-white:   #FFFFFF;
  --lc-bg-base: #F3F7FB;
  --lc-bg-alt:  #E6EFF7;
  --lc-border:  #D4D8DE;

  --lc-success-text: #1B5E20;
  --lc-success-bg:   #F0FBF0;
  --lc-error-text:   #8B1F1F;
  --lc-error-bg:     #FDF2F2;
  --lc-linkedin:     #0077B5;

  --lc-font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --lc-font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;

  --lc-radius-sm: 6px;
  --lc-radius-md: 8px;
  --lc-radius-lg: 14px;
  --lc-radius-pill: 999px;

  --lc-shadow-xs: 0 1px 8px rgba(0, 60, 113, 0.06);
  --lc-shadow-sm: 0 2px 12px rgba(0, 60, 113, 0.07);
  --lc-shadow-md: 0 4px 16px rgba(0, 60, 113, 0.08);
  --lc-shadow-lg: 0 12px 32px rgba(0, 60, 113, 0.12);

  --lc-maxw: 1080px;

  /* Gold treatment — Canada MSB promo banner (from co.uk) */
  --ma-gold:      #B8893A;
  --ma-gold-deep: #8E6724;
  --ma-gold-soft: #F4EBD8;
  --ma-gold-line: rgba(184, 137, 58, 0.35);
  --ma-ink:       #1F2A37;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--lc-font-body);
  color: var(--lc-text-body);
  background: var(--lc-white);
  line-height: 1.65;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--lc-ocean); text-decoration: underline; text-underline-offset: 2px; }
a:hover { color: var(--lc-navy); }
h1, h2, h3, h4 {
  font-family: var(--lc-font-heading);
  color: var(--lc-navy);
  line-height: 1.2;
  margin: 0 0 0.5em;
  font-weight: 700;
}
h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, 2.9rem); }
h2 { font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1rem; }
ul { margin: 0 0 1rem; padding-left: 1.2rem; }
li { margin: 0.25rem 0; }

/* Accessibility: visible focus */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
:focus-visible {
  outline: 3px solid var(--lc-sky);
  outline-offset: 2px;
  border-radius: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--lc-navy);
  color: #fff;
  padding: 0.6rem 1rem;
  z-index: 100;
  border-radius: 0 0 var(--lc-radius-sm) 0;
}
.skip-link:focus { left: 0; color: #fff; }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--lc-maxw);
  margin: 0 auto;
  padding: 0 1.25rem;
}
section { padding: 3.5rem 0; }
.section-alt { background: var(--lc-bg-base); }
.eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lc-ocean);
  margin: 0 0 0.75rem;
}
.lede { font-size: 1.12rem; color: var(--lc-text-muted); max-width: 62ch; }

/* ---------- Header / nav ---------- */
.site-header {
  border-bottom: 1px solid var(--lc-border);
  background: var(--lc-white);
  position: sticky;
  top: 0;
  z-index: 50;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 68px;
  flex-wrap: wrap;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--lc-font-heading);
  font-weight: 700;
  color: var(--lc-navy);
  text-decoration: none;
  font-size: 1.15rem;
}
.brand img { width: 32px; height: 32px; }
.nav { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; }
.nav a {
  text-decoration: none;
  color: var(--lc-text-body);
  font-weight: 500;
  font-size: 0.95rem;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--lc-navy); }
.nav a[aria-current="page"] { font-weight: 600; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  background: var(--lc-ocean);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  padding: 0.75rem 1.4rem;
  border-radius: var(--lc-radius-md);
  border: 1px solid var(--lc-ocean);
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.15s ease;
}
.btn:hover { background: var(--lc-navy); border-color: var(--lc-navy); color: #fff; }
.btn-ghost {
  background: transparent;
  color: var(--lc-ocean);
}
.btn-ghost:hover { background: var(--lc-blue-tint); color: var(--lc-navy); }

/* ---------- Hero ---------- */
.hero {
  padding: 4.5rem 0 3.5rem;
  background: linear-gradient(180deg, var(--lc-blue-tint) 0%, var(--lc-white) 100%);
  border-bottom: 1px solid var(--lc-border);
}
.hero h1 { max-width: 20ch; }
.hero .lede { margin-top: 0.5rem; }
.hero .btn { margin-top: 1.75rem; }

/* ---------- Cards grid ---------- */
.grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.card {
  background: var(--lc-white);
  border: 1px solid var(--lc-border);
  border-radius: var(--lc-radius-lg);
  padding: 1.5rem;
  box-shadow: var(--lc-shadow-xs);
}
.card h3 { margin-top: 0; }
.card p { margin-bottom: 0.75rem; color: var(--lc-text-body); }
.card a.card-link { font-weight: 600; text-decoration: none; }
.card a.card-link:hover { text-decoration: underline; }

/* Two adjacent capabilities */
.capabilities {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  margin-top: 1.5rem;
}
.capabilities .cap {
  border-left: 3px solid var(--lc-sky);
  padding: 0.25rem 0 0.25rem 1rem;
}
.capabilities .cap strong { color: var(--lc-navy); }

/* How we work */
.points { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.points h3 { color: var(--lc-navy); margin-bottom: 0.35rem; }

/* Sectors list */
.sectors { columns: 2; column-gap: 2rem; max-width: 760px; }
.sectors li { break-inside: avoid; }
@media (max-width: 560px) { .sectors { columns: 1; } }

/* ---------- Practices page ---------- */
.practice {
  padding-top: 2.5rem;
  scroll-margin-top: 90px;
  border-top: 1px solid var(--lc-border);
}
.practice:first-of-type { border-top: none; }
.practice ul.services { margin-top: 0.5rem; }
.case {
  margin-top: 1.5rem;
  background: var(--lc-bg-base);
  border: 1px solid var(--lc-border);
  border-radius: var(--lc-radius-lg);
  padding: 1.5rem;
}
.case h4 {
  font-family: var(--lc-font-body);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lc-ocean);
  margin: 0 0 0.5rem;
}
.byline {
  margin-top: 1rem;
  font-size: 0.92rem;
  color: var(--lc-text-muted);
}
.byline a { color: var(--lc-linkedin); font-weight: 600; }

/* ---------- Contact / forms ---------- */
.two-col {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1.2fr 1fr;
}
@media (max-width: 780px) { .two-col { grid-template-columns: 1fr; } }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 600; color: var(--lc-text-strong); margin-bottom: 0.35rem; }
.field input, .field textarea {
  width: 100%;
  font-family: inherit;
  font-size: 1rem;
  color: var(--lc-text-strong);
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--lc-border);
  border-radius: var(--lc-radius-md);
  background: var(--lc-white);
}
.field input:focus, .field textarea:focus { border-color: var(--lc-ocean); }
.field textarea { min-height: 150px; resize: vertical; }
/* Honeypot — visually and from AT hidden, not display:none so bots fill it */
.hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px; overflow: hidden;
}
.form-status { margin-top: 1rem; padding: 0.85rem 1rem; border-radius: var(--lc-radius-md); display: none; }
.form-status.ok { display: block; background: var(--lc-success-bg); color: var(--lc-success-text); border: 1px solid var(--lc-success-text); }
.form-status.err { display: block; background: var(--lc-error-bg); color: var(--lc-error-text); border: 1px solid var(--lc-error-text); }
.contact-meta dt { font-weight: 700; color: var(--lc-navy); margin-top: 1rem; }
.contact-meta dd { margin: 0.2rem 0 0; }

/* ---------- Legal / prose ---------- */
.prose { max-width: 72ch; }
.prose h2 { margin-top: 2.25rem; }
.prose h3 { margin-top: 1.5rem; color: var(--lc-ocean); }
.prose address { font-style: normal; }

/* ---------- Confirmation (unsubscribe) ---------- */
.notice {
  max-width: 60ch;
  margin: 4rem auto;
  text-align: center;
  padding: 0 1.25rem;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--lc-navy);
  color: #cfe0f0;
  padding: 2.5rem 0;
  font-size: 0.9rem;
  margin-top: 2rem;
}
.site-footer a { color: #fff; }
.site-footer .foot-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.5rem;
  justify-content: space-between;
  align-items: flex-start;
}
.site-footer nav { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.site-footer .fine { margin-top: 1.5rem; color: #9db8d4; font-size: 0.82rem; }

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

/* ---------- Canada MSB promo banner (gold treatment, from co.uk) ---------- */
.promo-banner {
  position: relative;
  margin: 3rem 0;
  color: var(--ma-ink);
}
.promo-banner__content {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 2rem;
  border-radius: var(--lc-radius-md);
  background: var(--ma-gold-soft);
  border: 1px solid var(--ma-gold-line);
  border-left: 4px solid var(--ma-gold);
  box-shadow: 0 4px 20px rgba(0, 60, 113, 0.08);
  color: var(--ma-ink);
}
.promo-banner__text { width: 100%; }
.promo-banner__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 0.5rem;
}
.promo-banner__eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ma-gold);
  margin: 0;
}
.promo-banner__badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: var(--ma-gold);
  padding: 0.2rem 0.6rem;
  border-radius: var(--lc-radius-pill);
  line-height: 1.4;
  z-index: 1;
}
.promo-banner__title {
  color: var(--lc-navy);
  font-family: var(--lc-font-heading);
  font-weight: 700;
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  line-height: 1.2;
  margin: 0 0 0.6rem;
}
.promo-banner__summary {
  color: var(--ma-ink);
  font-size: 1rem;
  line-height: 1.7;
  margin: 0;
}
.promo-banner__learn-more {
  color: var(--ma-gold-deep);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.promo-banner__learn-more:hover { text-decoration: underline; }
@media (max-width: 767px) {
  .promo-banner { margin: 2rem 0; }
  .promo-banner__title { font-size: 1.6rem; }
  .promo-banner__learn-more { display: inline-block; margin-top: 0.5rem; white-space: normal; }
}
