/* Local webfont; installation instructions in README. No remote font requests. */
@font-face {
  font-family: "Atkinson Web";
  src: url("fonts/AtkinsonHyperlegibleNext.ttf") format("truetype");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #1c3446;
  --muted: #455c6b;
  --teal: #08638f;
  --paper: #f7f9fa;
  --line: #d9e3ea;
  --white: #fff;
  --dark: #132d40;
  --lime: #ffd18a;
  --max: 1180px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font:
    300 17px/1.65 "Atkinson Web",
    "Atkinson Hyperlegible Next",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}
a {
  color: var(--teal);
  text-underline-offset: 0.2em;
}
a:focus-visible {
  outline: 3px solid #e69a29;
  outline-offset: 5px;
}
a:hover {
  text-decoration-thickness: 2px;
}
h1,
h2,
h3,
p {
  margin: 0 0 1rem;
}
h1,
h2,
h3 {
  line-height: 1.13;
  letter-spacing: -0.035em;
}
h1 {
  font-size: clamp(2.8rem, 6.1vw, 5.6rem);
  font-weight: 200;
}
h2 {
  font-size: clamp(1.9rem, 3.8vw, 3.2rem);
  font-weight: 400;
}
h3 {
  font-size: 1.45rem;
  font-weight: 400;
}
p {
  max-width: 100ch;
}
img,
svg {
  max-width: 100%;
  height: auto;
}
.wrap {
  max-width: var(--max);
  width: calc(100% - 72px);
  margin-inline: auto;
}
.skip {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: white;
  padding: 1rem;
  z-index: 5;
}
.skip:focus {
  top: 1rem;
}
.header {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 84px;
  flex-wrap: wrap;
  padding: 16px 0;
}
.nav ul,
.footlinks {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.nav li a {
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 400;
  text-decoration: none;
}
.nav li a:hover,
.nav li a[aria-current="page"] {
  color: var(--teal);
  text-decoration: underline;
}
.nav .contact-link {
  border: 1px solid var(--teal);
  padding: 0.55rem 0.9rem;
  border-radius: 4px;
  color: var(--teal);
}
.hero {
  background: var(--dark);
  color: white;
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 2rem;
  padding-block: 90px 100px;
}
.eyebrow {
  font-size: 0.76rem;
  letter-spacing: 0.15em;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1.3rem;
}
.hero .eyebrow,
.dark .eyebrow {
  color: var(--lime);
}
.hero h1 {
  max-width: 850px;
}
.hero h1 em {
  font-style: normal;
  color: var(--lime);
}
.lead {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  color: var(--muted);
  max-width: 66ch;
}
.hero .lead,
.dark .lead {
  color: #e0eaf0;
}
.buttons {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-top: 1.8rem;
}
.button {
  display: inline-block;
  padding: 0.8rem 1.15rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 400;
  background: var(--teal);
  color: white;
  border: 1px solid transparent;
}
.button:hover {
  background: #084e71;
}
.hero .button,
.dark .button {
  background: var(--lime);
  color: var(--dark);
}
.hero .button:hover,
.dark .button:hover {
  background: #ffe1b3;
}
.button.secondary {
  background: transparent;
  color: var(--teal);
  border-color: var(--teal);
}
.hero .button.secondary,
.dark .button.secondary {
  color: white;
  border-color: #a2bfce;
  background: transparent;
}
.section {
  padding: 80px 0;
}
.section.soft {
  background: #edf3f7;
}
.section.white {
  background: white;
}
.section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: end;
  margin-bottom: 2.2rem;
}
.section-head p {
  margin-bottom: 0.4rem;
}
.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.service {
  border: 1px solid var(--line);
  background: var(--white);
  padding: 30px;
  min-height: 200px;
  border-radius: 6px;
}
.num {
  display: block;
  color: var(--teal);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  font-weight: 700;
  margin-bottom: 1.3rem;
}
.service p,
.project p {
  color: var(--muted);
  margin-bottom: 0;
}
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.project {
  background: white;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.project .body {
  padding: 24px;
  flex: 1;
}
.project .body p {
  margin-bottom: 0.75rem;
}
.project .body p:last-child {
  margin-bottom: 0;
}
.tag {
  color: var(--teal);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-weight: 700;
  display: block;
  margin-bottom: 0.75rem;
}
.art {
  height: 120px;
  background: #dfedf4;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.art svg {
  width: 100%;
  height: 100%;
  display: block;
}
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.dark {
  background: var(--dark);
  color: white;
}
.dark h2 {
  color: white;
}
.quote {
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.15;
  letter-spacing: -0.045em;
  font-weight: 400;
  color: var(--teal);
}
.page-head {
  padding: 66px 0 55px;
  background: #edf3f7;
  border-bottom: 1px solid var(--line);
}
.page-head h1 {
  font-size: clamp(2.6rem, 5vw, 4.4rem);
}
.legal {
  max-width: 800px;
}
.legal h2 {
  font-size: 1.55rem;
  margin-top: 2rem;
}
.legal h2:first-child {
  margin-top: 0;
}
.legal p,
.legal li {
  max-width: 75ch;
}
.legal a {
  overflow-wrap: anywhere;
}
address {
  font-style: normal;
}
.contact-card {
  background: white;
  border: 1px solid var(--line);
  padding: 32px;
  border-radius: 6px;
}
.contact-card p:last-child {
  margin-bottom: 0;
}
.footer {
  background: var(--paper);
  border-top: 1px solid var(--line);
  padding: 34px 0;
}
.footer .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer small {
  color: var(--muted);
}
.footlinks a {
  font-size: 0.9rem;
}
.note {
  font-size: 0.9rem;
  color: var(--muted);
}
.hero-art {
  width: 100%;
  display: block;
}
.project-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.project-list .art {
  height: 150px;
}
.project-list .body {
  padding: 30px;
}
@media (max-width: 850px) {
  .hero-inner,
  .split,
  .section-head {
    grid-template-columns: 1fr;
    gap: 1.4rem;
  }
  .hero-inner {
    padding-block: 65px;
  }
  .hero-art {
    max-width: 420px;
    justify-self: center;
  }
  .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .section {
    padding: 60px 0;
  }
  .nav {
    justify-content: flex-start;
  }
  .nav ul {
    gap: 1rem;
  }
}
@media (max-width: 560px) {
  .wrap {
    width: calc(100% - 36px);
  }
  .nav {
    gap: 0.7rem;
    min-height: 0;
  }
  .nav ul {
    width: 100%;
    gap: 0.6rem 1rem;
  }
  .nav .contact-link {
    padding: 0.25rem 0.5rem;
  }
  .hero-inner {
    padding-block: 50px;
  }
  .grid,
  .project-grid,
  .project-list {
    grid-template-columns: 1fr;
  }
  .service,
  .project .body,
  .project-list .body,
  .contact-card {
    padding: 22px;
  }
  .page-head {
    padding: 45px 0 35px;
  }
  .section {
    padding: 46px 0;
  }
  .footer .wrap {
    align-items: flex-start;
    flex-direction: column;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
@media print {
  .nav ul,
  .buttons,
  .skip {
    display: none;
  }
  .hero,
  .dark {
    background: white;
    color: black;
  }
  .hero h1 em,
  .hero .lead,
  .dark .lead,
  .dark h2 {
    color: black;
  }
  .section,
  .page-head {
    padding: 1.5rem 0;
  }
  .project,
  .service {
    break-inside: avoid;
  }
  .hero-art {
    display: none;
  }
}

/* Positioning update */
.hero h1 {
  font-size: clamp(2.7rem, 5.25vw, 4.7rem);
}
.focus-grid {
  gap: 20px;
}
.focus {
  padding: 34px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border-top: 4px solid var(--teal);
}
.focus h3 {
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  max-width: 22ch;
}
.feature-list {
  padding-left: 1.15rem;
  margin: 1.2rem 0 1.6rem;
  color: var(--muted);
}
.feature-list li {
  margin: 0.35rem 0;
}
.focus > a {
  margin-top: auto;
  font-weight: 400;
}
.featured .art,
.project-list .featured .art {
  height: clamp(165px, 19vw, 245px);
}
.featured h3 {
  font-size: clamp(1.5rem, 2.5vw, 2.1rem);
}
.project-sub {
  color: var(--ink) !important;
}
.project-action a {
  font-weight: 400;
  display: inline-block;
  margin-top: 0.7rem;
}
.group-title {
  margin: 2.5rem 0 1rem;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}
.art-note {
  margin-top: 0.7rem;
  font-size: 0.78rem;
}
.related-product {
  margin-top: 1.7rem;
  color: var(--muted);
}
.compact {
  min-height: 0;
}
.anchor-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1.6rem;
  margin-top: 1.6rem;
}
.anchor-nav a {
  font-weight: 400;
}
.section[id],
.project[id] {
  scroll-margin-top: 1rem;
}
@media (max-width: 560px) {
  .focus {
    padding: 23px;
  }
  .featured .art,
  .project-list .featured .art {
    height: 170px;
  }
}

/* Brand refresh – V3. Gradient approximated from publicly visible wordmark. */
:root {
  --brand-orange: #f99a0b;
  --brand-blue: #159cda;
  --brand-gradient: linear-gradient(
    75deg,
    var(--brand-orange),
    var(--brand-blue)
  );
  --accent: var(--brand-orange);
  --accent-blue: var(--brand-blue);
}
.brand {
  display: inline-block;
  font-family: "Arial Rounded MT Bold", "Arial Rounded MT", Arial, sans-serif;
  font-weight: 700;
  font-size: clamp(2rem, 3.8vw, 2.65rem);
  line-height: 1.15;
  letter-spacing: normal;
  white-space: nowrap;
  text-decoration: none;
  color: #08638f;
  background-image: var(--brand-gradient);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero,
.dark {
  background: linear-gradient(125deg, #132d40 5%, #1b4964 100%);
}
.hero h1,
.page-head h1 {
  font-weight: 200;
  letter-spacing: -0.025em;
}
h2 {
  font-weight: 300;
  letter-spacing: -0.025em;
}
h3 {
  font-weight: 300;
  letter-spacing: -0.02em;
}
.quote {
  font-weight: 200;
}
.lead {
  font-weight: 300;
}
.tag,
.num,
.eyebrow {
  font-weight: 500;
}
strong,
b {
  font-weight: 600;
}
.focus {
  border-top: 0;
  position: relative;
}
.focus::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--brand-gradient);
  border-radius: 6px 6px 0 0;
}
.hero .button,
.dark .button {
  color: #132d40;
  background: #ffd18a;
}
.hero .button.secondary,
.dark .button.secondary {
  color: white;
  background: transparent;
}
@media (max-width: 560px) {
  body {
    font-size: 16px;
  }
  .brand {
    font-size: 2rem;
  }
  .hero h1 {
    font-weight: 300;
  }
}
@media (prefers-contrast: more) {
  body,
  .lead,
  h1,
  h2,
  h3,
  .quote {
    font-weight: 400;
  }
  .brand {
    -webkit-text-fill-color: currentColor;
    background: none;
  }
}
@media print {
  .brand {
    -webkit-text-fill-color: currentColor;
    background: none;
  }
  .hero,
  .dark {
    background: white;
    color: black;
  }
}

/* Original claim */
.hero h1 {
  font-size: clamp(2.55rem, 4.7vw, 4.3rem);
}
.hero h1 em {
  display: block;
}
.hero-claim {
  font-size: clamp(1.15rem, 2.1vw, 1.48rem);
  font-weight: 300;
  line-height: 1.45;
  color: #fff;
  max-width: 40ch;
  margin: 1.4rem 0 1.8rem;
}

/* V5 – project-specific vector illustrations */
.art {
  background: #edf3f7;
  border-bottom: 1px solid var(--line);
  height: auto;
  aspect-ratio: 640/220;
}
.art img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.project-list .art,
.featured .art,
.project-list .featured .art {
  height: auto;
  aspect-ratio: 640/220;
}
.hero-art {
  max-width: 480px;
  justify-self: center;
}
@media (max-width: 560px) {
  .featured .art,
  .project-list .featured .art {
    height: auto;
  }
}
