:root {
  color-scheme: light;
  --ink: #111820;
  --quiet: #495966;
  --line: #dbe4e8;
  --wash: #f2f7f9;
  --cyan: #24a7d1;
  --deep-cyan: #005c79;
  --red: #f60000;
  --white: #fff;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); }
h1, h2, h3, h4, p { margin: 0; }
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }
:focus-visible { outline: 3px solid #00749b; outline-offset: 4px; }
.shell { width: min(100% - 104px, 1240px); margin-inline: auto; }
.sr-only, .skip:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip:focus { position: absolute; z-index: 2; top: 10px; left: 10px; background: white; padding: 12px; }
.masthead { border-top: 4px solid var(--ink); }
.header-inner { min-height: 79px; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.brand { display: flex; align-items: center; gap: 15px; text-decoration: none; }
.brand img { width: 76px; }
.brand span { font-size: .875rem; line-height: 1.18; font-weight: 750; border-left: 1px solid var(--line); padding-left: 15px; }
nav { display: flex; align-items: center; gap: clamp(20px, 4vw, 46px); }
nav a, .footer a { font-size: .875rem; font-weight: 700; text-decoration: none; padding-block: 10px; }
nav a:hover, .footer a:hover { color: var(--deep-cyan); text-decoration: underline; text-underline-offset: 4px; }

.hero {
  background: var(--wash);
  border-block: 1px solid var(--line);
}
.hero-inner {
  min-height: 479px;
  padding-block: 66px;
  display: grid;
  grid-template-columns: 1.22fr 1fr;
  align-items: center;
  gap: clamp(20px, 5vw, 70px);
}
.eyebrow, .category {
  font-size: .875rem;
  font-weight: 750;
  letter-spacing: .115em;
  text-transform: uppercase;
}
.eyebrow { display: flex; gap: 10px; align-items: center; color: var(--deep-cyan); }
.eyebrow span { width: 19px; height: 3px; background: var(--cyan); }
h1 { font-size: clamp(3.15rem, 5.8vw, 5.55rem); letter-spacing: -.072em; line-height: .99; margin-top: 23px; }
.lead { margin-top: 24px; color: var(--quiet); max-width: 520px; font-size: clamp(1.08rem, 1.55vw, 1.28rem); line-height: 1.55; }
.button { display: inline-block; margin-top: 26px; padding: 13px 19px; border: 1px solid var(--ink); border-radius: 5px; background: var(--ink); color: var(--white); font-weight: 700; text-decoration: none; }
.button:hover { background: var(--deep-cyan); border-color: var(--deep-cyan); }
.identity {
  padding: 26px;
  background-color: #eaf3f7;
  background-image: linear-gradient(#b9d4df65 1px, transparent 1px), linear-gradient(90deg, #b9d4df65 1px, transparent 1px);
  background-size: 27px 27px;
  background-position: center;
  border: 1px solid #cbdce4;
  border-radius: 10px;
}
.identity-frame {
  position: relative;
  min-height: 258px;
  border: 1px solid #d1e2e9;
  background: #fff;
  display: grid;
  place-items: center;
  isolation: isolate;
}
.identity-frame img { width: min(73%, 345px); }
.corner { position: absolute; width: 26px; height: 26px; }
.corner-start { top: -1px; left: -1px; border-top: 3px solid var(--cyan); border-left: 3px solid var(--cyan); }
.corner-end { bottom: -1px; right: -1px; border-bottom: 3px solid var(--red); border-right: 3px solid var(--red); }

.portfolio { padding-block: 69px 84px; scroll-margin-top: 20px; }
.section-head { display: flex; gap: 24px; justify-content: space-between; align-items: end; margin-bottom: 28px; }
h2 { font-size: clamp(2rem, 4vw, 3.45rem); letter-spacing: -.058em; line-height: 1.06; margin-top: 10px; }
.filters { display: flex; gap: 3px; padding: 4px; border: 1px solid var(--line); background: var(--wash); border-radius: 7px; flex: none; }
.filters button { color: var(--quiet); background: transparent; padding: 8px 11px; border: 0; border-radius: 4px; font: inherit; font-size: .875rem; font-weight: 700; cursor: pointer; }
.filters button:hover { color: var(--deep-cyan); }
.filters button[aria-pressed="true"] { color: white; background: var(--ink); }
.directory { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; align-items: stretch; }
.entry { display: flex; flex-direction: column; border: 1px solid var(--line); border-top: 3px solid var(--cyan); border-radius: 7px; padding: 25px; }
.entry[data-type="nonprofit"] { border-top-color: var(--red); }
.category { color: var(--deep-cyan); line-height: 1.4; letter-spacing: .07em; }
.entry[data-type="nonprofit"] .category { color: #a91019; }
.entry h3 { font-size: clamp(1.35rem, 2vw, 1.66rem); line-height: 1.12; letter-spacing: -.035em; margin-top: 11px; }
.entry > p:not(.category) { color: var(--quiet); line-height: 1.55; margin: 12px 0 18px; }
.links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.links a { font-size: .875rem; font-weight: 700; text-decoration: none; padding: 8px 10px; border: 1px solid var(--line); border-radius: 4px; color: var(--deep-cyan); }
.links a:hover { background: var(--wash); border-color: var(--deep-cyan); }
.dba { border-left: 2px solid var(--cyan); margin-top: 19px; background: var(--wash); padding: 10px 12px; }
.dba p { color: var(--quiet); font-size: .9rem; margin-top: 4px; }

.about { padding-block: 65px; color: var(--white); background: var(--ink); }
.about-inner { display: grid; align-items: center; grid-template-columns: 1fr 1fr; gap: 32px; }
.about .eyebrow { color: #72d1ee; }
.about-details { color: #deebf0; font-size: 1.07rem; line-height: 1.65; max-width: 600px; }
.about-details address { margin-top: 16px; font-style: normal; color: var(--white); }
.footer { min-height: 80px; display: flex; gap: 15px; align-items: center; justify-content: space-between; }
.footer p { color: var(--quiet); font-size: .9rem; }

@media (max-width: 960px) {
  .shell { width: calc(100% - 56px); }
  .identity-frame { min-height: 205px; }
  .identity { padding: 19px; }
  .directory { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .shell { width: calc(100% - 36px); }
  .header-inner { min-height: 69px; }
  .brand img { width: 55px; }
  .brand span { font-size: .8125rem; padding-left: 8px; }
  .brand { gap: 8px; }
  nav { gap: 14px; }
  .hero-inner, .about-inner { grid-template-columns: minmax(0, 1fr); }
  .hero-inner { padding-block: 48px 28px; gap: 32px; }
  h1 { font-size: clamp(2.7rem, 10vw, 4.2rem); }
  .identity-frame { min-height: 137px; }
  .identity-frame img { width: min(62%, 225px); }
  .portfolio { padding-block: 48px; }
  .section-head { align-items: start; flex-direction: column; gap: 16px; }
  .entry { padding: 19px; }
  .about { padding-block: 48px; }
  .about-inner { gap: 19px; }
}
@media (max-width: 485px) {
  .directory { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 355px) {
  .brand span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
