@charset "UTF-8";
/* =========================
   Base polish
========================= */
:root {
  --bg: #f6f8fb;
  --card: #ffffff;
  --ink: #0f172a; /* deep slate */
  --muted: #6b7280; /* gray-500 */
  --brand: #0ea5e9; /* sky-500 */
  --brand-ink: #075985; /* sky-800 */
  --ring: rgba(14,165,233,.35);
}

html, body {
  background: var(--bg);
  color: var(--ink);
}

a {
  color: var(--brand);
  font-weight: 600;
  text-decoration: none;
}

a:hover {
  color: var(--brand-ink);
  text-decoration: underline;
}

/* Hide Minima’s auto H1 on home */
.home .page-heading {
  display: none;
}

/* Wrapper width feel */
.wrapper {
  max-width: 980px;
}

/* =========================
   Header tweaks
========================= */
.site-header {
  border: 0;
  background: #fff;
  box-shadow: 0 1px 0 rgba(17, 24, 39, 0.06);
}

.site-title {
  font-weight: 700;
  color: var(--ink);
}

.site-nav .page-link {
  color: var(--ink);
}

.site-nav .page-link:hover {
  color: var(--brand-ink);
}

/* =========================
   Hero (sarcastic authority)
========================= */
.hero {
  margin: 2rem 0 2.25rem;
  padding: 3rem 1.5rem;
  background: linear-gradient(180deg, #eef7ff 0%, #fff 65%);
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  box-shadow: 0 10px 20px rgba(2, 6, 23, 0.06);
  text-align: center;
}

.hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: 0.2px;
}

.hero em {
  font-style: normal;
  text-decoration: underline;
  text-decoration-thickness: 5px;
  text-underline-offset: 6px;
}

.hero .sub {
  color: var(--muted);
  max-width: 52ch;
  margin: 0.6rem auto 1.3rem;
}

/* Button */
.hero .cta {
  display: inline-block;
  padding: 0.9rem 1.3rem;
  border-radius: 12px;
  background: var(--brand);
  color: #fff;
  border: 1px solid transparent;
  box-shadow: 0 6px 14px var(--ring);
  transition: transform 0.06s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.hero .cta:hover {
  background: #0284c7;
  box-shadow: 0 8px 18px var(--ring);
  transform: translateY(-1px);
}

.hero .cta:active {
  transform: translateY(0);
}

/* =========================
   Info card (“What we do”)
========================= */
.trust {
  background: var(--card);
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 1.25rem 1.25rem 1rem;
  box-shadow: 0 6px 12px rgba(2, 6, 23, 0.04);
}

.trust h2 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.trust ul {
  margin: 0.5rem 0 0 1.1rem;
}

.trust li {
  margin: 0.4rem 0;
}

/* =========================
   Post list
========================= */
.post-list-heading {
  font-weight: 800;
  font-size: 1.35rem;
  border-bottom: 2px solid #e5e7eb;
  padding-bottom: 0.35rem;
  margin-top: 2rem;
}

.post-list > li {
  margin: 0.9rem 0 1.1rem;
}

.post-meta {
  color: var(--muted);
}

.post-link {
  color: var(--brand);
  font-weight: 700;
}

.post-link:hover {
  color: var(--brand-ink);
}

/* =========================
   Reusable bits
========================= */
.badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  background: #ecfeff;
  color: #155e75;
  border: 1px solid #a5f3fc;
}

.kicker {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

/* ========== Header / Nav (Desktop) ========== */
.site-header {
  position: sticky;
  top: 0;
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
  z-index: 50;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.header-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.6rem 0;
  position: relative;
}

.site-header .wrapper {
  max-width: 980px;
}

.site-logo img {
  height: 56px;
  width: auto;
  display: block;
}

.site-nav {
  display: block;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1.25rem;
}

.site-nav a {
  color: #0f172a;
  text-decoration: none;
  font-weight: 600;
}

.site-nav a:hover {
  color: #0ea5e9;
  text-decoration: underline;
}

/* Toggle control (hidden checkbox) */
.nav-toggle {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

/* Burger (hidden on desktop) */
.burger {
  display: none;
  width: 44px;
  height: 36px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.burger span {
  display: block;
  width: 26px;
  height: 2px;
  background: #0f172a;
  margin: 5px 0;
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* ========== Mobile Nav (Refined) ========== */
@media (max-width: 1024px) {
  /* Show burger, hide inline nav */
  .burger {
    display: flex;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    padding: 6px;
    border-radius: 8px;
  }
  .burger:focus-visible {
    outline: 2px solid #93c5fd;
  }
  .burger span {
    width: 24px;
    height: 2px;
    background: #0f172a;
    margin: 5px 0;
    border-radius: 2px;
    transition: transform 0.18s ease, opacity 0.18s ease, background 0.18s ease;
  }
  /* Dropdown nav container */
  .site-nav {
    position: absolute;
    left: 12px;
    right: 12px;
    top: calc(100% + 8px);
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 12px 24px rgba(2, 6, 23, 0.08);
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.25s ease;
    z-index: 60;
  }
  .site-nav ul {
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 0.4rem 0;
  }
  .site-nav li {
    border-top: 1px solid #f1f5f9;
  }
  .site-nav li:first-child {
    border-top: 0;
  }
  .site-nav a {
    display: block;
    padding: 1rem;
    text-align: right;
  }
  /* Reveal dropdown on toggle */
  #nav-toggle:checked ~ .site-nav {
    max-height: 60vh;
  }
  /* Animate burger into X */
  #nav-toggle:checked + .burger {
    background: #f8fafc;
  }
  #nav-toggle:checked + .burger span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  #nav-toggle:checked + .burger span:nth-child(2) {
    opacity: 0;
  }
  #nav-toggle:checked + .burger span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
}
/* Hide the checkbox but keep it functional */
.nav-toggle {
  position: absolute;
  left: -9999px; /* keeps it keyboard-safe via label */
}

/* Scrim (click-outside to close) — hidden by default */
.nav-scrim {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  z-index: 55; /* between header (50) and dropdown (60) */
}

/* Improve burger keyboard focus */
.burger:focus-visible {
  outline: 2px solid #93c5fd;
  border-radius: 8px;
}

/* When open: show scrim & update aria-expanded (visual only in CSS) */
#nav-toggle:checked ~ .nav-scrim {
  display: block;
}

/* Prevent background scroll on modern browsers */
body:has(#nav-toggle:checked) {
  overflow: hidden;
}

/* Ensure the dropdown sits above header */
.site-nav {
  z-index: 60;
}

/* Reset state when resizing up (prevents “stuck open” look) */
@media (min-width: 1025px) {
  .nav-scrim {
    display: none !important;
  }
}
/* Top-level list items */
.site-nav ul {
  gap: 1.25rem;
}

.site-nav li {
  position: relative;
}

/* Submenu (desktop) */
.site-nav .submenu {
  position: absolute;
  left: 0;
  top: 100%;
  min-width: 220px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  box-shadow: 0 12px 24px rgba(2, 6, 23, 0.08);
  padding: 0.4rem 0;
  list-style: none;
  opacity: 0;
  transform: translateY(6px);
  pointer-events: none;
  transition: opacity 0.15s ease, transform 0.15s ease;
  z-index: 70;
}

.site-nav .submenu li {
  border-top: 1px solid #f1f5f9;
}

.site-nav .submenu li:first-child {
  border-top: 0;
}

.site-nav .submenu a {
  display: block;
  padding: 0.7rem 1rem;
  white-space: nowrap;
}

/* Show submenu on hover/focus */
.site-nav li.has-children:hover > .submenu,
.site-nav li.has-children:focus-within > .submenu {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Little caret toggle (clickable target, optional) */
.submenu-toggle {
  position: absolute;
  right: -14px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  border: 0;
  background: transparent;
  cursor: default;
}

.submenu-toggle::after {
  content: "▾";
  font-size: 12px;
  color: #475569;
}

/* Mobile: nested lists just stack; no absolute positioning */
@media (max-width: 1024px) {
  .site-nav .submenu {
    position: static;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    border: 0;
    box-shadow: none;
    border-radius: 0;
    padding: 0;
  }
  .site-nav .submenu a {
    padding: 0.85rem 1rem;
  }
}
/* When menu is open, allow internal scrolling and give it more room */
#nav-toggle:checked ~ .site-nav {
  max-height: 80vh; /* was 60vh */
  overflow-y: auto; /* make it scroll */
  -webkit-overflow-scrolling: touch; /* smooth scroll on iOS */
}

/* =========================
   Footer
========================= */
.site-footer {
  background: #f8fafc;
  border-top: 1px solid #e5e7eb;
  margin-top: 4rem;
  padding: 2rem 1rem;
  text-align: center;
  color: #475569;
  font-size: 0.95rem;
}

.footer-wrapper {
  max-width: 980px;
  margin: 0 auto;
}

.footer-logo img {
  height: 42px;
  width: auto;
  margin-bottom: 0.5rem;
}

.footer-nav ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-nav a {
  color: #0f172a;
  font-weight: 600;
  text-decoration: none;
}

.footer-nav a:hover {
  color: #0ea5e9;
  text-decoration: underline;
}

.footer-meta {
  color: #6b7280;
  margin-top: 1rem;
}

.footer-meta p {
  margin: 0;
  font-size: 0.85rem;
}

@media (max-width: 640px) {
  .footer-nav ul {
    flex-direction: column;
    gap: 0.5rem;
  }
}

/*# sourceMappingURL=custom.css.map */