/*
  Bell Tower Digital

  Palette: navy on white, the "government digital services" look from the
  2026-09-18 homepage concept. Type: Source Serif 4 for headings, Public Sans
  (the U.S. Web Design System typeface) for everything else.
*/

:root {
  --navy: #13295b;
  --navy-deep: #0d1f47;
  --navy-ink: #102451;
  --ink: #1c2433;
  --muted: #4f5a6d;
  --line: #d8dee9;
  --ground: #ffffff;
  --mist: #f3f6fb;
  --mist-2: #eaeff7;
  --accent: #3f5f9e;
  --on-navy: #e6ecf7;
  --on-navy-muted: #b7c3db;
  --gold: #f0b429;
  --ok: #1d6b3a;
  --error: #a3261f;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Public Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  color-scheme: light;
}

/* ---------- Base ---------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  max-width: 100%;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

a {
  color: var(--navy);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--navy-deep);
  text-decoration-thickness: 2px;
}

:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 2px;
}

main:focus {
  outline: none;
}

.svg-defs {
  position: absolute;
  width: 0;
  height: 0;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.narrow {
  max-width: 800px;
}

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip {
  position: absolute;
  top: 8px;
  left: var(--gutter);
  z-index: 30;
  padding: 10px 16px;
  background: #fff;
  color: var(--navy);
  font-weight: 700;
  transform: translateY(-250%);
}

.skip:focus {
  transform: none;
}

.fine {
  font-size: 13.5px;
  color: var(--muted);
}

.center {
  text-align: center;
  margin-top: 28px;
}

.tint {
  background: var(--mist);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font: 600 15px/1.2 var(--sans);
  padding: 14px 24px;
  border-radius: 3px;
  text-decoration: none;
  text-align: center;
  border: 1.5px solid var(--navy);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.btn-solid {
  background: var(--navy);
  color: #fff;
}

.btn-solid:hover {
  background: var(--navy-deep);
  color: #fff;
}

.btn-ghost {
  background: #fff;
  color: var(--navy);
}

.btn-ghost:hover {
  background: var(--mist);
  color: var(--navy-deep);
}

.btn-light {
  background: #fff;
  color: var(--navy);
  border-color: #fff;
}

.btn-light:hover {
  background: var(--mist-2);
  color: var(--navy);
}

.btn-gold {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy-deep);
}

.btn-gold:hover {
  background: #f7c65a;
  border-color: #f7c65a;
  color: var(--navy-deep);
}

.btn.small {
  padding: 10px 16px;
  font-size: 14px;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}

.header-row {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 84px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: none;
  white-space: nowrap;
  text-decoration: none;
  color: var(--navy);
}

.brand:hover {
  color: var(--navy);
}

.brand-mark {
  flex: none;
}

.brand-text {
  display: block;
  min-width: 0;
}

.brand-name {
  display: block;
  font: 700 25px/1 var(--serif);
  letter-spacing: -0.01em;
}

.brand-name-sm {
  font-size: 23px;
}

.brand-sub {
  display: block;
  font: 600 10px/1 var(--sans);
  letter-spacing: 0.09em;
  text-transform: uppercase;
  margin-top: 6px;
  color: var(--navy-ink);
}

.nav {
  margin-left: auto;
  display: flex;
  flex-wrap: nowrap;
  gap: 4px clamp(14px, 1.6vw, 28px);
}

.nav a {
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  color: var(--ink);
  padding-block: 8px;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}

.nav a:hover {
  color: var(--navy);
  border-bottom-color: var(--navy);
}

.nav a[aria-current="page"] {
  color: var(--navy);
  font-weight: 600;
  border-bottom-color: var(--navy);
}

.header-cta {
  margin-left: clamp(8px, 2vw, 24px);
  padding: 13px 20px;
  font-size: 14.5px;
}

.menu-btn {
  display: none;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  background: #fff;
  border: 1.5px solid var(--navy);
  border-radius: 3px;
  padding: 9px 12px;
  cursor: pointer;
  color: var(--navy);
  font: 600 14px/1 var(--sans);
}

.mobile-nav {
  border-top: 1px solid var(--line);
  padding-block: 8px 18px;
}

.mobile-nav a {
  display: block;
  padding: 12px 0;
  text-decoration: none;
  font-weight: 500;
  color: var(--ink);
  border-bottom: 1px solid var(--mist-2);
}

.mobile-nav a:hover {
  color: var(--navy);
  text-decoration: underline;
}

.mobile-nav a[aria-current="page"] {
  color: var(--navy);
  font-weight: 600;
}

.mobile-nav .btn {
  margin-top: 16px;
  width: 100%;
  color: #fff;
  border-bottom: 0;
}

/* Without JavaScript the menu button cannot open anything, so the mobile
   list is shown in its place. */

.no-js .menu-btn {
  display: none;
}

.no-js .mobile-nav[hidden] {
  display: block;
}

@media (min-width: 1101px) {
  .no-js .mobile-nav[hidden] {
    display: none;
  }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  /* Solid, not a gradient, so the contrast of the text on it can be measured. */
  background: #f3f6fa;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: stretch;
  min-height: 460px;
}

.hero-copy {
  padding-block: 56px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 22px;
  position: relative;
  z-index: 2;
}

.eyebrow,
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font: 600 12.5px/1.3 var(--sans);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.eyebrow svg {
  color: var(--accent);
}

.hero h1 {
  font: 700 clamp(38px, 4.9vw, 56px)/1.07 var(--serif);
  color: var(--navy);
  letter-spacing: -0.012em;
  max-width: 14ch;
}

.hero .lead {
  font-size: 17px;
  color: var(--ink);
  max-width: 46ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 6px;
}

.hero-art {
  position: relative;
  /* Runs to the right edge of the window, past the centred column. */
  margin-right: calc(-1 * (var(--gutter) + max(0px, (var(--vw, 100vw) - var(--wrap)) / 2)));
  min-height: 300px;
}

.hero-art img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  display: block;
  object-fit: cover;
  object-position: 60% 100%;
}

.hero-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #f3f6fa 0%, rgba(243, 246, 250, 0) 24%);
  pointer-events: none;
}

/* ---------- Pillars band ---------- */

.pillars {
  background: var(--navy);
  color: var(--on-navy);
}

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-block: 0;
  padding-block: 0;
  list-style: none;
}

.pillar {
  display: flex;
  gap: 18px;
  padding: 30px 26px;
}

.pillar + .pillar {
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.pillar:first-child {
  padding-left: 0;
}

.pillar svg {
  flex: none;
  color: #fff;
  margin-top: 2px;
}

.pillar-h {
  font: 600 15.5px/1.3 var(--sans);
  color: #fff;
  margin-bottom: 6px;
}

.pillar p {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--on-navy-muted);
}

/* ---------- Notice strip ---------- */

.notice-strip {
  background: var(--mist-2);
  border-bottom: 1px solid var(--line);
}

.notice-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  padding-block: 16px;
  font-size: 15px;
}

.pill {
  font: 700 11.5px/1 var(--sans);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--navy);
  color: #fff;
  padding: 6px 9px;
  border-radius: 2px;
}

.notice-inner a {
  font-weight: 600;
}

/* ---------- Sections ---------- */

.section {
  padding-block: clamp(56px, 7vw, 84px);
}

.section-head {
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 14px;
  margin-bottom: 52px;
}

.section-head h2,
.work-head h2 {
  font: 700 clamp(28px, 3.3vw, 38px)/1.15 var(--serif);
  color: var(--navy);
}

.section-head .intro {
  max-width: 62ch;
  color: var(--muted);
}

.rule {
  width: 46px;
  height: 2px;
  background: var(--navy);
  margin-top: 6px;
}

/* Services */

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service {
  text-align: center;
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 12px;
}

.service svg {
  color: var(--navy);
  margin-bottom: 6px;
}

.service h3 {
  font: 700 17px/1.3 var(--sans);
  color: var(--ink);
}

.service p {
  font-size: 14.5px;
  color: var(--muted);
  max-width: 34ch;
}

/* Work */

.work {
  background: var(--mist-2);
}

.work-head {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  gap: 20px;
  margin-bottom: 36px;
}

.work-head .titles {
  grid-column: 2;
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 12px;
}

.work-head .btn {
  grid-column: 3;
  justify-self: end;
  padding: 13px 20px;
  font-size: 14.5px;
}

.work-intro {
  max-width: 60ch;
  color: var(--muted);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.project {
  background: #fff;
  border: 1px solid var(--line);
  text-decoration: none;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: box-shadow 0.2s, transform 0.2s;
}

.project:hover {
  color: var(--ink);
  box-shadow: 0 10px 26px rgba(19, 41, 91, 0.14);
  transform: translateY(-2px);
}

.project img {
  display: block;
  width: 100%;
  height: auto;
  border-bottom: 1px solid var(--line);
}

.project-meta {
  padding: 16px 18px 18px;
}

.project-meta h3 {
  font: 600 16px/1.3 var(--sans);
  color: var(--navy);
}

.project:hover .project-meta h3 {
  text-decoration: underline;
}

.project-meta p {
  font-size: 13.5px;
  color: var(--muted);
  margin-top: 4px;
}

.work-note {
  margin-top: 24px;
  max-width: 70ch;
}

/* Deadline notice (home) */

.notice {
  border: 1px solid var(--line);
  border-top: 4px solid var(--navy);
  background: #fff;
  padding: clamp(24px, 4vw, 40px);
  display: grid;
  gap: 22px;
}

.notice h2 {
  font: 700 clamp(26px, 3vw, 34px)/1.15 var(--serif);
  color: var(--navy);
}

.notice-lede {
  max-width: 70ch;
  font-size: 17px;
}

.dates {
  display: grid;
  gap: 16px;
  margin: 0;
}

.date {
  padding: 18px 22px;
  background: var(--navy);
  color: #fff;
}

.date dt {
  font-size: 14px;
  color: var(--on-navy-muted);
}

.date dd {
  margin: 6px 0 0;
  font: 700 clamp(26px, 3vw, 34px)/1.1 var(--serif);
}

.notice-cols {
  display: grid;
  gap: 14px 32px;
}

.notice-cols p,
.notice-note {
  color: var(--muted);
  font-size: 15px;
}

.notice-cols strong,
.notice-note strong {
  color: var(--ink);
}

.notice-foot {
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--muted);
}

@media (min-width: 640px) {
  .dates {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 800px) {
  .notice-cols {
    grid-template-columns: 1fr 1fr;
  }
}

/* About strip */

.about {
  padding-block: 44px;
  border-bottom: 1px solid var(--line);
}

.about-grid {
  display: grid;
  grid-template-columns: auto minmax(0, 1.6fr) minmax(0, 1fr);
  gap: clamp(20px, 3vw, 40px);
  align-items: center;
}

.seal {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: var(--mist-2);
  display: grid;
  place-items: center;
  color: var(--navy);
}

.about h2 {
  font: 700 22px/1.3 var(--serif);
  color: var(--navy);
  margin-bottom: 10px;
}

.about p {
  font-size: 15px;
  color: var(--muted);
}

.about p + p {
  margin-top: 10px;
}

.cta-card {
  background: var(--navy);
  color: #fff;
  padding: 22px 24px;
  display: grid;
  gap: 16px;
}

.cta-card .row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.cta-card p {
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  line-height: 1.4;
}

.cta-card .btn {
  padding: 12px 18px;
  font-size: 14px;
  justify-self: center;
}

/* Process */

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 2px solid var(--navy);
}

.step {
  padding: 26px 24px 8px 0;
}

.step + .step {
  padding-left: 24px;
  border-left: 1px solid var(--line);
}

.step .num {
  display: block;
  font: 700 13px/1 var(--sans);
  color: var(--accent);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.step h3 {
  font: 700 20px/1.25 var(--serif);
  color: var(--navy);
  margin: 12px 0 10px;
}

.step p {
  font-size: 14.5px;
  color: var(--muted);
}

/* Contact */

.contact {
  background: var(--mist);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.contact h2 {
  font: 700 clamp(28px, 3.3vw, 38px)/1.15 var(--serif);
  color: var(--navy);
  margin: 14px 0 16px;
}

.contact .lead {
  color: var(--muted);
  max-width: 48ch;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: grid;
  gap: 14px;
}

.contact-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 15px;
}

.contact-list span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.contact-list svg {
  flex: none;
  color: var(--navy);
  margin-top: 2px;
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  padding: clamp(20px, 3vw, 32px);
}

/* The email button's label is one long word; let it wrap on narrow screens instead of widening the page. */
.contact-card .btn {
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
}

.contact-card {
  display: grid;
  gap: 14px;
  justify-items: start;
}

.contact-card h3 {
  font: 700 20px/1.25 var(--serif);
  color: var(--navy);
}

.contact-card p {
  color: var(--muted);
  font-size: 15px;
}

.contact-card .btn {
  width: 100%;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--navy-deep);
  color: var(--on-navy-muted);
  padding-block: 52px 28px;
  font-size: 14px;
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 32px;
}

.brand-light,
.brand-light:hover {
  color: #fff;
}

.brand-light .brand-sub {
  color: var(--on-navy-muted);
}

.foot-h {
  font: 600 12.5px/1 var(--sans);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  margin: 4px 0 16px;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.site-footer a {
  color: var(--on-navy);
  text-decoration: none;
}

.site-footer ul a:hover,
.site-footer .foot-about a:hover {
  color: #fff;
  text-decoration: underline;
}

.foot-about {
  margin-top: 16px;
  max-width: 34ch;
}

.foot-about a {
  text-decoration: underline;
}

.foot-base {
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
}

.pillars :focus-visible,
.cta-card :focus-visible,
.cta-band :focus-visible,
.deadline-card :focus-visible,
.date :focus-visible,
.site-footer :focus-visible {
  outline-color: var(--gold);
}

/* ---------- Inner pages ---------- */

.page-hero {
  background: var(--mist);
  border-bottom: 1px solid var(--line);
}

.page-hero-inner {
  padding-block: 44px 52px;
  display: grid;
  justify-items: start;
  gap: 14px;
}

.page-hero h1 {
  font: 700 clamp(32px, 4vw, 48px)/1.1 var(--serif);
  color: var(--navy);
  max-width: 22ch;
}

.page-hero .lead {
  font-size: 17px;
  max-width: 62ch;
}

.crumb {
  font-size: 13.5px;
  color: var(--muted);
}

.crumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.crumb li + li::before {
  content: "/";
  margin-right: 8px;
}

.prose {
  display: grid;
  gap: 16px;
  max-width: 70ch;
}

.page-h1 {
  font: 700 clamp(32px, 4vw, 48px)/1.1 var(--serif);
  color: var(--navy);
}

.prose h2 {
  margin-top: 16px;
  font: 700 24px/1.25 var(--serif);
  color: var(--navy);
}

.prose ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 22px;
}

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

/* Audience cards (solutions) */

.aud-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 24px;
}

.aud {
  border: 1px solid var(--line);
  border-top: 4px solid var(--navy);
  padding: 26px 26px 28px;
  background: #fff;
}

.aud header {
  margin-bottom: 18px;
}

.aud-tag {
  display: block;
  font: 700 12px/1.3 var(--sans);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.aud h2 {
  font: 700 23px/1.2 var(--serif);
  color: var(--navy);
  margin-top: 8px;
}

.aud h3 {
  font: 700 13px/1.3 var(--sans);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 18px 0 8px;
}

.aud ul {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 7px;
  font-size: 14.5px;
  color: var(--muted);
}

.aud strong {
  color: var(--ink);
}

.aud ul.ticks {
  list-style: none;
  padding-left: 0;
}

.aud ul.ticks li {
  padding-left: 24px;
  position: relative;
  color: var(--ink);
}

.aud ul.ticks li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 6px;
  width: 11px;
  height: 6px;
  border-left: 2px solid var(--navy);
  border-bottom: 2px solid var(--navy);
  transform: rotate(-45deg);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  background: var(--line);
  border: 1px solid var(--line);
}

.feature {
  background: #fff;
  padding: 24px 22px;
}

.feature h3 {
  font: 700 16px/1.3 var(--sans);
  color: var(--navy);
  margin-bottom: 8px;
}

.feature p {
  font-size: 14px;
  color: var(--muted);
}

.cta-band {
  background: var(--navy);
  color: #fff;
}

.cta-band-inner {
  padding-block: 34px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.cta-band p {
  font: 600 20px/1.35 var(--serif);
  max-width: 52ch;
}

/* Deadline check (compliance) */

.deadline {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.deadline h2 {
  font: 700 clamp(26px, 3vw, 34px)/1.15 var(--serif);
  color: var(--navy);
  margin: 12px 0 10px;
}

.deadline-copy p {
  color: var(--muted);
}

.deadline-copy label {
  display: block;
  margin-top: 18px;
  font-weight: 600;
  color: var(--ink);
}

.deadline select {
  margin: 8px 0 14px;
  width: 100%;
  font: 500 15px/1.4 var(--sans);
  padding: 12px;
  border: 1.5px solid #6b7890;
  border-radius: 3px;
  background: #fff;
  color: var(--ink);
}

.deadline-card {
  background: var(--navy);
  color: #fff;
  padding: 30px 32px;
  display: grid;
  gap: 10px;
}

.dl-label {
  font: 700 12px/1 var(--sans);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--on-navy-muted);
}

.dl-date {
  font: 700 clamp(30px, 3.6vw, 42px)/1.1 var(--serif);
}

.dl-count {
  font-size: 16px;
  font-weight: 600;
  color: #f3cf7a;
  font-variant-numeric: tabular-nums;
}

.deadline-card dl {
  margin: 10px 0 0;
  display: grid;
  gap: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  padding-top: 14px;
}

.deadline-card dl div {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 10px;
  font-size: 14px;
}

.deadline-card dt {
  color: var(--on-navy-muted);
}

.deadline-card dd {
  margin: 0;
}

.dl-note {
  font-size: 13.5px;
  color: var(--on-navy);
  line-height: 1.5;
}

.deadline-card a {
  color: #fff;
}

/* Tables */

.table-scroll {
  overflow-x: auto;
  border: 1px solid var(--line);
  background: #fff;
}

table {
  border-collapse: collapse;
  width: 100%;
  font-size: 14px;
}

.matrix {
  min-width: 760px;
}

th,
td {
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

thead th {
  background: var(--navy);
  color: #fff;
  font-weight: 600;
  font-size: 13.5px;
}

tbody th {
  font-weight: 600;
  color: var(--ink);
}

tbody tr:last-child th,
tbody tr:last-child td {
  border-bottom: 0;
}

.matrix td {
  color: var(--muted);
}

.matrix td.y,
.matrix td.m {
  color: var(--ink);
}

.matrix td.y::before,
.matrix td.m::before,
.key::before {
  content: "";
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  margin-right: 8px;
  vertical-align: 1px;
}

.matrix td.y::before,
.key.y::before {
  background: var(--navy);
}

.matrix td.m::before,
.key.m::before {
  background: #fff;
  border: 2px solid var(--accent);
  width: 5px;
  height: 5px;
}

.legend {
  margin-top: 14px;
  font-size: 13.5px;
  color: var(--muted);
  display: flex;
  gap: 6px 22px;
  flex-wrap: wrap;
}

.key {
  display: inline-block;
  margin-right: -2px;
}

.criteria th[scope="row"] {
  width: 34%;
}

.criteria td {
  color: var(--muted);
}

/* Requirement detail (compliance) */

.req-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px 40px;
}

.req h3 {
  font: 700 20px/1.25 var(--serif);
  color: var(--navy);
  padding-bottom: 10px;
  border-bottom: 2px solid var(--navy);
  margin-bottom: 14px;
}

.req ul {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 10px;
  font-size: 14.5px;
  color: var(--muted);
}

.req strong {
  color: var(--ink);
}

/* How to buy */

.path-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.path {
  border: 1px solid var(--line);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: #fff;
}

.path-tag {
  font: 700 12px/1.3 var(--sans);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

.path h2 {
  font: 700 24px/1.2 var(--serif);
  color: var(--navy);
}

.path p {
  font-size: 15px;
  color: var(--muted);
}

.path .path-note {
  font-size: 14px;
  background: var(--mist);
  padding: 12px 14px;
  color: var(--ink);
}

.path .btn {
  margin-top: auto;
  align-self: flex-start;
}

.packet,
.clause-wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.packet h2,
.clause-wrap h2 {
  font: 700 clamp(26px, 3vw, 34px)/1.15 var(--serif);
  color: var(--navy);
  margin: 12px 0 12px;
}

.packet .lead,
.clause-wrap .lead {
  color: var(--muted);
}

.packet-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 2px solid var(--navy);
}

.packet-list li {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 16px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}

.packet-list span {
  color: var(--muted);
  font-size: 14.5px;
}

.clause {
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
}

.clause blockquote {
  margin: 0;
  padding: 26px 28px;
  font: 400 16px/1.65 var(--serif);
  color: var(--ink);
  border-left: 4px solid var(--navy);
}

.clause figcaption {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  padding: 14px 28px;
  border-top: 1px solid var(--line);
  background: var(--mist);
  font-size: 14px;
  color: var(--ok);
  font-weight: 600;
}

/* Checklist (resources) */

.check-wrap {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}

.progress-card {
  position: sticky;
  top: 104px;
  border: 1px solid var(--line);
  padding: 26px;
  display: grid;
  justify-items: center;
  gap: 12px;
  text-align: center;
  background: #fff;
}

.ring {
  --p: 0;
  width: 132px;
  height: 132px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: conic-gradient(var(--navy) calc(var(--p) * 1%), var(--mist-2) 0);
}

.ring span {
  width: 104px;
  height: 104px;
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
  font: 700 28px/1 var(--serif);
  color: var(--navy);
  font-variant-numeric: tabular-nums;
}

.checklist {
  display: grid;
  gap: 26px;
}

.checklist fieldset {
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
}

.checklist legend {
  font: 700 20px/1.25 var(--serif);
  color: var(--navy);
  padding: 0 0 10px;
}

.checklist label {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 13px 16px;
  border: 1px solid var(--line);
  margin-top: -1px;
  cursor: pointer;
  font-size: 15px;
  background: #fff;
}

.checklist label:hover {
  background: var(--mist);
}

.checklist input {
  width: 19px;
  height: 19px;
  margin: 1px 0 0;
  accent-color: var(--navy);
  flex: none;
}

.checklist label:has(input:checked) {
  color: var(--muted);
  text-decoration: line-through;
  text-decoration-color: #9aa6ba;
}

.source-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.source {
  background: #fff;
  border: 1px solid var(--line);
  padding: 22px;
}

.source h3 {
  font: 700 16px/1.3 var(--sans);
  color: var(--navy);
  margin-bottom: 6px;
}

.source p {
  font-size: 14px;
  color: var(--muted);
}

/* Design ideas */

.ideas-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.ideas-grid h2 {
  font: 700 clamp(24px, 3vw, 30px)/1.2 var(--serif);
  color: var(--navy);
  margin-bottom: 12px;
}

.how-steps {
  display: grid;
  gap: 18px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.how-steps li {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 14px;
  counter-increment: step;
}

.how-steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font: 700 17px/1 var(--serif);
}

.how-steps h3 {
  font: 700 17px/1.3 var(--sans);
  color: var(--ink);
  margin: 8px 0 4px;
}

.how-steps p {
  font-size: 15px;
  color: var(--muted);
}

.plans-title {
  margin-top: 36px;
}

.plans {
  margin-top: 0;
  margin-bottom: 14px;
}

.plans th[scope="row"] {
  width: 26%;
  white-space: nowrap;
}

.plans td {
  color: var(--muted);
}

form.card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
}

.field {
  display: grid;
  gap: 6px;
}

form.card > .full,
.field.full {
  grid-column: 1 / -1;
}

form.card h2 {
  font: 700 22px/1.25 var(--serif);
  color: var(--navy);
}

.field label {
  font-weight: 600;
  font-size: 14px;
}

.field .hint {
  font-size: 13.5px;
  color: var(--muted);
}

.field input,
.field select,
.field textarea {
  font: 400 15px/1.4 var(--sans);
  color: var(--ink);
  border: 1.5px solid #6b7890;
  border-radius: 3px;
  padding: 11px 12px;
  background: #fff;
  width: 100%;
}

.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  border-color: var(--navy);
  outline: 3px solid var(--navy);
  outline-offset: 1px;
}

.field input[aria-invalid="true"] {
  border-color: var(--error);
}

form .actions {
  grid-column: 1 / -1;
  display: grid;
  gap: 12px;
  justify-items: start;
}

.form-note {
  font-size: 15px;
  font-weight: 600;
}

.form-note.ok {
  color: var(--ok);
}

.form-note.error {
  color: var(--error);
}

.form-note a {
  font-weight: 600;
}

form .fine {
  grid-column: 1 / -1;
}

/* Example sites page (/work/) */

.work-list {
  display: grid;
  gap: clamp(48px, 7vw, 72px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.work-item {
  display: grid;
  align-items: center;
  gap: 28px clamp(32px, 4vw, 56px);
}

.work-shot {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  box-shadow: 0 10px 26px rgba(19, 41, 91, 0.14);
}

.work-body {
  display: grid;
  justify-items: start;
  gap: 12px;
}

.work-body h2,
.work-body h3 {
  font: 700 clamp(24px, 3vw, 32px)/1.15 var(--serif);
  color: var(--navy);
}

.work-kind {
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.work-shows {
  display: grid;
  gap: 6px;
  margin: 0 0 6px;
  padding-left: 20px;
  color: var(--muted);
  font-size: 15px;
}

.work-foot {
  max-width: 70ch;
  margin-top: clamp(40px, 6vw, 64px);
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

@media (min-width: 900px) {
  .work-item {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  }
}

/* ---------- Responsive ---------- */

@media (max-width: 1100px) {
  .nav,
  .header-cta {
    display: none;
  }

  .menu-btn {
    display: inline-flex;
  }

  .project-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid {
    grid-template-columns: auto 1fr;
  }

  .cta-card {
    grid-column: 1 / -1;
  }

  .pillar-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pillar:nth-child(3) {
    border-left: 0;
    padding-left: 0;
  }

  .pillar:nth-child(n + 3) {
    border-top: 1px solid rgba(255, 255, 255, 0.14);
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .req-grid,
  .path-grid,
  .source-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 820px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-art {
    height: 300px;
    min-height: 0;
    margin-inline: calc(-1 * var(--gutter));
  }

  .hero-copy {
    padding-block: 44px 32px;
  }

  .work-head {
    grid-template-columns: 1fr;
  }

  .work-head .titles {
    grid-column: 1;
  }

  .work-head .btn {
    grid-column: 1;
    justify-self: center;
  }

  .process-grid {
    grid-template-columns: 1fr 1fr;
  }

  .step:nth-child(3) {
    border-left: 0;
    padding-left: 0;
  }

  .contact-grid,
  .ideas-grid,
  .deadline,
  .packet,
  .clause-wrap,
  .check-wrap {
    grid-template-columns: minmax(0, 1fr);
  }

  .progress-card {
    position: static;
    grid-template-columns: auto 1fr;
    justify-items: start;
    text-align: left;
  }

  .progress-card .ring {
    grid-row: span 2;
    width: 96px;
    height: 96px;
  }

  .progress-card .ring span {
    width: 74px;
    height: 74px;
    font-size: 21px;
  }

  .req-grid,
  .path-grid,
  .source-grid {
    grid-template-columns: 1fr;
  }

  .foot-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .brand-name {
    font-size: 21px;
  }

  .brand-name-sm {
    font-size: 21px;
  }

  .header-row {
    gap: 12px;
  }

  .pillar-grid {
    grid-template-columns: 1fr;
  }

  .pillar,
  .pillar + .pillar {
    padding-left: 0;
    border-left: 0;
  }

  .pillar + .pillar {
    border-top: 1px solid rgba(255, 255, 255, 0.14);
  }

  .service-grid {
    grid-template-columns: 1fr;
    gap: 32px 18px;
  }

  .project-grid {
    grid-template-columns: 1fr;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .seal {
    width: 72px;
    height: 72px;
  }

  .process-grid {
    grid-template-columns: 1fr;
  }

  .step,
  .step + .step {
    padding-left: 0;
    border-left: 0;
  }

  .step + .step {
    border-top: 1px solid var(--line);
  }

  form.card {
    grid-template-columns: minmax(0, 1fr);
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .packet-list li {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .aud-grid {
    grid-template-columns: 1fr;
  }

  .foot-grid {
    grid-template-columns: 1fr;
  }

  .plans th[scope="row"] {
    white-space: normal;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .project,
  .btn {
    transition: none;
  }

  .project:hover {
    transform: none;
  }
}

@media print {
  .skip,
  .nav,
  .menu-btn,
  .mobile-nav,
  .header-cta,
  .hero-art {
    display: none;
  }

  body,
  .pillars,
  .cta-band,
  .site-footer,
  .deadline-card,
  .date {
    background: #fff;
    color: #000;
  }

  .site-footer a,
  .pillar p,
  .pillar-h {
    color: #000;
  }
}

/* Narrow phones: let the wordmark wrap beside the menu button */
@media (max-width: 420px) {
  .brand {
    white-space: normal;
    flex: 0 1 auto;
    min-width: 0;
  }
}

/* ---------- Very wide screens ----------
   The layout is drawn for a 1240px column. On large and ultra-wide monitors that leaves a small
   page in a big window, so scale the whole page up in steps. --vw keeps full-bleed math right,
   because viewport units are not divided by zoom. */
@media (min-width: 1900px) {
  body { zoom: 1.2; --vw: calc(100vw / 1.2); }
}
@media (min-width: 2500px) {
  body { zoom: 1.5; --vw: calc(100vw / 1.5); }
}
@media (min-width: 3200px) {
  body { zoom: 1.9; --vw: calc(100vw / 1.9); }
}
@media (min-width: 4200px) {
  body { zoom: 2.4; --vw: calc(100vw / 2.4); }
}
