/* Shared MakeIT AI colours, controls, navigation and footer. */
:root {
  color-scheme: light;
  --navy: #01063d;
  --ink: #10182d;
  --muted: #42516a;
  --accent: #fb0756;
  --accent-light: #ff668f;
  --action: #c90040;
  --action-hover: #a80035;
  --night: #08172c;
  --night-raised: #112743;
  --ice: #eef3f8;
  --white: #fff;
  --line: #cfdae6;
  --radius: 14px;
  --shadow: 0 7px 18px #1127430d;
  --gutter: clamp(20px, 4vw, 64px);
  --section-space: clamp(34px, 4vw, 58px);
}

[hidden] { display: none !important; }
html { scroll-padding-top: 95px; }

.shell { width: min(1320px, calc(100% - var(--gutter) * 2)); margin-inline: auto; }
.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon {
  width: 1.5rem;
  height: 1.5rem;
  flex: none;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: .58em 1.2em;
  border: 1px solid transparent;
  border-radius: 8px;
  background: var(--action);
  color: var(--white);
  cursor: pointer;
  font-weight: 850;
  line-height: 1.22;
  text-align: center;
  text-decoration: none;
  transition: background-color .18s ease, border-color .18s ease;
}
.button:hover { background: var(--action-hover); }
.button-small { min-height: 42px; font-size: .95rem; }
.button-outline { border-color: currentColor; background: transparent; color: inherit; }
.button-outline:hover { background: #1127430e; }
.hero .button-outline:hover { background: #ffffff17; }
.button-light { background: var(--white); color: var(--navy); }
.button-light:hover { background: #fce9f0; }
.skip-link {
  position: fixed;
  z-index: 10;
  top: .75rem;
  left: .75rem;
  padding: .6rem .9rem;
  border-radius: 6px;
  background: var(--white);
  color: var(--navy);
  clip-path: inset(50%);
  transform: translateY(-180%);
}
.skip-link:focus { clip-path: none; transform: translateY(0); }

.site-header { position: sticky; z-index: 5; top: 0; background: var(--night); color: var(--white); }
.nav-inner { display: flex; min-height: 67px; align-items: center; justify-content: space-between; gap: 1.25rem; }
.brand {
  display: block;
  flex: none;
  width: 104px;
}
.site-nav { display: flex; align-items: center; gap: clamp(.65rem, 1.8vw, 1.65rem); }
.site-nav a, .site-footer nav a { font-size: .94rem; font-weight: 750; text-decoration: none; }
.site-nav a:not(.button):hover, .site-footer nav a:hover { text-decoration: underline; }
.menu-toggle {
  display: flex;
  min-height: 44px;
  align-items: center;
  gap: .45rem;
  padding: .35rem .65rem;
  border: 1px solid #ffffff65;
  border-radius: 8px;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font-weight: 800;
}
.menu-toggle .icon { width: 1.25rem; height: 1.25rem; }

.site-footer { padding-block: 1.25rem; background: var(--night); color: var(--white); }
.footer-layout { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 1.6rem; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: .55rem 1.1rem; }
.site-footer .footer-archives { display: grid; gap: .35rem; }
.footer-archives h2 { font-size: .94rem; letter-spacing: normal; }
.footer-archives ul { display: flex; flex-wrap: wrap; gap: .35rem .85rem; }
.footer-archives a { color: #dce7f5; }
.footer-contact { display: grid; color: #dce7f5; font-size: .9rem; }
.footer-contact a { color: var(--white); font-weight: 850; }

.site-header, .site-footer, .skip-link { font: 400 16px/1.5 "Nunito Sans", system-ui, sans-serif; }
.site-header { min-height: 0; margin: 0; text-align: start; backdrop-filter: none; }
.site-header img, .site-footer img { display: block; width: 100%; height: auto; }
.site-header a, .site-footer a { color: inherit; }
.site-header a:focus-visible, .site-footer a:focus-visible, .site-header button:focus-visible, .skip-link:focus-visible {
  outline: 3px solid #7bdeff;
  outline-offset: 4px;
}
.site-header .site-nav a[aria-current="page"] { box-shadow: 0 2px var(--accent); }
.site-footer .footer-archives h2 { margin: 0; font-weight: 900; line-height: 1.1; }
.footer-archives ul { margin: 0; padding: 0; list-style: none; }
.footer-contact a { width: fit-content; }

@media (max-width: 940px) {
  .nav-inner { flex-wrap: wrap; gap: 0 1rem; }
  .site-nav { width: 100%; flex-wrap: wrap; justify-content: flex-start; padding-bottom: .65rem; }
  .menu-ready .site-nav { display: none; }
  .menu-ready .menu-toggle[aria-expanded="true"] + .site-nav { display: flex; }
  .menu-ready .site-nav > a:not(.button) { display: inline-flex; min-height: 44px; align-items: center; }
}

@media (max-width: 760px) {
  html { scroll-padding-top: 77px; }
  .nav-inner { min-height: 62px; }
  .brand { width: 96px; }
}

@media (max-width: 520px) {
  .menu-ready .menu-toggle[aria-expanded="true"] + .site-nav { display: grid; grid-template-columns: 1fr 1fr; gap: .15rem .75rem; padding-bottom: .85rem; }
  .site-nav .button { grid-column: 1 / -1; justify-self: start; }
}

