/* Brand fonts — Sifonn (headings) + Glacial Indifference Regular (body), per the brand sheet. */
@font-face {
  font-family: "Sifonn";
  src: url("fonts/Sifonn-Pro.woff") format("woff");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Glacial Indifference";
  src: url("fonts/GlacialIndifference-Regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

:root {
  --lime: #CAFC00;
  --beige: #FFFEFA;
  --ink: #0A0A0A;

  --display: "Sifonn", sans-serif;
  --body: "Glacial Indifference", sans-serif;

  --gut: clamp(20px, 3vw, 48px);
  --fs: 13.4vw;                     /* headline size, desktop */

  --bg: var(--ink);                 /* the site is dark throughout */
  --fg: var(--beige);
  color-scheme: dark;
}

* { box-sizing: border-box; margin: 0; }
button, input, textarea, select { font: inherit; color: inherit; }
html {
  -webkit-text-size-adjust: 100%;
  /* Rubber-band overscroll shows the root background colour (a gradient is ignored there).
     Lime above the header, ink below the footer: overscroll.js flips it as you scroll. */
  background-color: var(--lime);
}
body {
  background-color: var(--bg);
  color: var(--fg);
  font-family: var(--body);
  font-weight: 400;
  font-synthesis: none;            /* never fake a bold/italic of the brand fonts */
  -webkit-font-smoothing: antialiased;
}

/* Browser defaults in brand colours */
html { -webkit-tap-highlight-color: transparent; }               /* no grey-blue flash when a link is tapped on phones */
::selection { background: var(--lime); color: var(--ink); }      /* selected text */
.site-header ::selection, .method ::selection, .cta ::selection,
.item--row ::selection, .item--card.is-solid ::selection { background: var(--ink); color: var(--lime); }   /* on the lime areas */
/* Autofilled fields keep the page's ink and beige instead of the browser's blue or yellow */
html input:-webkit-autofill,
html textarea:-webkit-autofill {
  -webkit-text-fill-color: var(--beige);
  caret-color: var(--beige);
  box-shadow: 0 0 0 1000px var(--ink) inset;
}
html input:-webkit-autofill:focus-visible { box-shadow: 0 0 0 1000px var(--ink) inset, 0 3px 0 0 currentColor; }   /* keeps the thicker focus underline */

/* ── Header: brand lime bar with the page links ── */
:root { --header-h: 64px; }
.site-header {
  background: var(--lime);
  color: var(--ink);
  height: var(--header-h);
  padding: 0 var(--gut);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}
.site-header__logo { justify-self: start; display: block; line-height: 0; }
.site-header__logo img { height: 42px; width: auto; display: block; }
.site-header ul {
  list-style: none;
  padding: 0;
  display: flex;
  gap: clamp(28px, 5vw, 72px);
}
.site-header a {
  color: inherit;
  text-decoration: none;
  font-family: var(--display);
  font-size: 14px;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.site-header a:hover,
.site-header a:focus-visible { border-bottom-color: var(--ink); outline: none; }

/* "Book a free 15-min call" pill, top right. Where the full label won't fit beside the links it becomes a round calendar button. */
.site-header .site-header__call {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: var(--lime);
  font-family: var(--body);
  font-size: 13px;
  letter-spacing: .06em;
  white-space: nowrap;
}
.site-header .site-header__call:hover { opacity: .85; }
.site-header .site-header__call:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.site-header__call svg { flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.site-header__call .icon-arrow { width: 13px; height: 13px; }
.site-header__call .icon-cal { display: none; width: 18px; height: 18px; stroke-width: 1.8; }

/* ── Footer ── */
.site-footer {
  background: var(--ink);
  color: var(--beige);
  padding: clamp(14px, 1.4vw, 20px) var(--gut);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
}
.site-footer a { color: inherit; text-decoration: none; }
.site-footer__links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.site-footer .site-footer__social {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--lime);
  font-family: var(--display);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
}
.site-footer__social svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.site-footer__social:hover,
.site-footer__social:focus-visible { border-bottom-color: var(--lime); outline: none; }
.site-footer__credit { font-size: 14px; letter-spacing: .04em; opacity: .65; }
.site-footer__credit a { border-bottom: 1px solid currentColor; }
.site-footer__credit a:hover,
.site-footer__credit a:focus-visible { opacity: 1; outline: none; color: var(--lime); }



@media (max-width: 960px) {
  .site-header .site-header__call { width: 40px; padding: 0; justify-content: center; }
  .site-header__call-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .site-header__call .icon-arrow { display: none; }
  .site-header__call .icon-cal { display: block; }
}

@media (max-width: 640px) {
  :root { --header-h: 56px; }
  .site-header { grid-template-columns: auto 1fr auto; gap: 14px; }
  .site-header__logo img { height: 36px; }
  .site-header nav { justify-self: end; }
  .site-header ul { gap: 14px; }
  .site-header a { font-size: 11px; letter-spacing: .08em; }
  .site-header .site-header__call { width: 36px; height: 36px; }
}
