:root {
  color-scheme: light;
  font-family: Mulish, "Segoe UI", sans-serif;
  color: #212e3e;
  background: #f4f7f6;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  --marine: #212e3e;
  --spruce: #143f47;
  --seaweed: #225e66;
  --paper: #f4f7f6;
  --white: #fff;
}

* {
  box-sizing: border-box;
}

body {
  min-width: 320px;
  margin: 0;
}

a {
  color: inherit;
}

a:focus-visible {
  outline: 3px solid var(--seaweed);
  outline-offset: 4px;
}

.wrap {
  width: min(1160px, calc(100% - 48px));
  margin-inline: auto;
}

.topline {
  min-height: 38px;
  display: flex;
  align-items: center;
  background: #84909e;
  color: var(--white);
  font-family: "Segoe UI", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.topline .wrap,
.header-row,
.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-header {
  background: var(--white);
}

.header-row {
  min-height: 88px;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
}

.brand-mark {
  display: block;
  width: 68px;
  height: auto;
}

.brand-name {
  display: grid;
  gap: 0.1rem;
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.15;
}

.brand-name span:last-child {
  color: var(--seaweed);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.65rem, 1.5vw, 1.25rem);
}

nav a {
  padding-block: 0.6rem 0.55rem;
  border-bottom: 3px solid transparent;
  color: var(--marine);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

nav a:hover,
nav a[aria-current="page"] {
  border-bottom-color: #263cc8;
  color: var(--seaweed);
}

.page-hero {
  padding-block: clamp(2.5rem, 7vw, 5rem);
  background: var(--marine);
  color: var(--white);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 0 0 2.5rem;
  color: #d4dfdf;
  font-size: 0.9rem;
}

.breadcrumb a {
  color: inherit;
  text-underline-offset: 3px;
}

.eyebrow,
.section-label {
  margin: 0 0 0.7rem;
  color: var(--seaweed);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.page-hero .eyebrow {
  color: #a9c5c6;
}

.page-hero h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(2.2rem, 5vw, 4rem);
  letter-spacing: -0.04em;
  line-height: 1.08;
}

.page-hero .hero-copy {
  max-width: 760px;
  margin: 1.2rem 0 0;
  color: #e2e9e9;
  font-size: clamp(1rem, 2vw, 1.15rem);
  line-height: 1.7;
}

.content-section {
  padding-block: clamp(3rem, 7vw, 5rem);
}

.content-section.alt {
  background: #e8efed;
}

.filter-section {
  padding-block: 1.25rem 0;
}

.section-heading {
  max-width: 800px;
  margin-bottom: 2rem;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(1.7rem, 3.5vw, 2.45rem);
  letter-spacing: -0.03em;
}

.section-heading > p:last-child {
  margin: 0.9rem 0 0;
  color: #424d5b;
  line-height: 1.7;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
}

.filter-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)) minmax(240px, 1.5fr) auto;
  align-items: end;
  gap: 1rem;
  padding: 1.25rem;
  border: 1px solid #e0e8e8;
  background: var(--white);
}

.filter-field {
  display: grid;
  gap: 0.4rem;
}

.filter-field label {
  color: var(--marine);
  font-size: 0.88rem;
  font-weight: 800;
}

.filter-field select,
.filter-field input {
  width: 100%;
  min-height: 44px;
  padding: 0.55rem 0.7rem;
  border: 1px solid #9aa9aa;
  border-radius: 0;
  background: var(--white);
  color: var(--marine);
  font: inherit;
}

.filter-field select:focus-visible,
.filter-field input:focus-visible,
.filter-reset:focus-visible {
  outline: 3px solid var(--seaweed);
  outline-offset: 2px;
}

.filter-reset {
  min-height: 44px;
  padding: 0.55rem 0.8rem;
  border: 1px solid var(--marine);
  background: transparent;
  color: var(--marine);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.filter-reset:hover {
  background: var(--marine);
  color: var(--white);
}

.filter-count {
  margin: 0.8rem 0 0;
  color: #5a6673;
  font-size: 0.9rem;
}

.article-card {
  padding: clamp(1.4rem, 3vw, 2rem);
  border: 1px solid #e0e8e8;
  background: var(--white);
}

.article-card[hidden],
[data-project-group][hidden] {
  display: none;
}

.project-card {
  max-width: 760px;
  display: grid;
  grid-template-columns: minmax(180px, 0.8fr) minmax(0, 1.2fr);
  gap: 1.25rem;
  padding: 1.25rem;
  border: 1px solid #d5e0de;
  background: var(--white);
}

.project-card[hidden] {
  display: none;
}

.project-card img {
  width: 100%;
  height: 100%;
  min-height: 180px;
  display: block;
  object-fit: cover;
}

.project-card h3 {
  margin: 0;
  font-size: 1.35rem;
}

.project-card p:not(.article-type) {
  color: #424d5b;
  line-height: 1.65;
}

.article-type {
  margin: 0 0 0.8rem;
  color: var(--seaweed);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.article-card h3 {
  margin: 0;
  font-size: 1.25rem;
  line-height: 1.35;
}

.article-meta {
  margin: 0.8rem 0 1rem;
  color: #5a6673;
  font-size: 0.9rem;
  line-height: 1.6;
}

.article-card > p:last-child {
  margin: 0;
  color: #424d5b;
  line-height: 1.7;
}

.article-download {
  display: inline-flex;
  margin-top: 1.1rem;
  color: var(--seaweed);
  font-weight: 800;
  line-height: 1.5;
  text-underline-offset: 3px;
}

.notice {
  max-width: 850px;
  margin: 2rem 0 0;
  padding: 1rem 1.2rem;
  border-left: 4px solid var(--seaweed);
  background: #e8efed;
  color: #424d5b;
  line-height: 1.65;
}

.project-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.project-copy p {
  color: #424d5b;
  line-height: 1.8;
}

.project-copy h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.7rem, 3.5vw, 2.45rem);
  letter-spacing: -0.03em;
}

.topic-list {
  display: grid;
  gap: 0.8rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.topic-list li {
  padding: 0.9rem 1rem;
  border-left: 3px solid var(--seaweed);
  background: var(--white);
  color: var(--marine);
  font-weight: 700;
  line-height: 1.5;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.project-photo {
  margin: 0;
  background: var(--white);
}

.project-photo img {
  width: 100%;
  height: 100%;
  max-height: 460px;
  display: block;
  object-fit: cover;
  background: #d7e2e0;
}

.project-photo figcaption {
  padding: 0.8rem 1rem;
  color: #5a6673;
  font-size: 0.9rem;
  line-height: 1.5;
}

.photo-placeholder {
  min-height: 190px;
  display: grid;
  place-items: center;
  padding: 1.2rem;
  border: 1px dashed #7c9599;
  background: linear-gradient(145deg, #e8efed, #d7e2e0);
  color: #42525a;
  text-align: center;
  line-height: 1.6;
}

.recognition-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.recognition-card {
  min-height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.5rem;
  border-top: 4px solid var(--seaweed);
  background: var(--white);
}

.recognition-year {
  color: var(--seaweed);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.recognition-card h3 {
  margin: 0.5rem 0 0;
  font-size: 1.3rem;
}

.recognition-description {
  margin: 0.7rem 0 1rem;
  color: #424d5b;
  line-height: 1.6;
}

.recognition-image {
  width: 100%;
  display: block;
  margin-top: 0.5rem;
  object-fit: contain; height: auto;
}

.project-media {
  margin: 0;
}

.project-media img {
  width: 100%;
  max-height: 680px;
  display: block;
  object-fit: cover;
  background: #d7e2e0;
}

.project-media figcaption {
  margin-top: 0.65rem;
  color: #5a6673;
  font-size: 0.9rem;
}

.video-panel {
  max-width: 900px;
  margin-top: 2.5rem;
}

.video-panel h3 {
  margin: 0 0 0.9rem;
  font-size: 1.35rem;
}

.video-panel video {
  width: 100%;
  display: block;
  background: #101820;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.2rem;
  border: 1px solid var(--marine);
  background: var(--marine);
  color: var(--white);
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  transition: background-color 160ms ease, color 160ms ease;
}

.button:hover {
  background: var(--seaweed);
  border-color: var(--seaweed);
}

.page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.page-actions .button-secondary {
  background: transparent;
  color: var(--marine);
}

.page-actions .button-secondary:hover {
  background: var(--marine);
  color: var(--white);
}

footer {
  padding-block: 1.7rem;
  background: var(--marine);
  color: var(--white);
}

.footer-row p {
  margin: 0;
  font-size: 0.85rem;
}

footer a {
  color: var(--white);
  text-underline-offset: 3px;
}

@media (max-width: 760px) {
  .wrap {
    width: min(100% - 36px, 600px);
  }

  .header-row {
    min-height: 76px;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    padding-block: 0.8rem;
  }

  nav {
    width: 100%;
    justify-content: flex-start;
    gap: 0.75rem;
    overflow-x: auto;
    padding-top: 0.65rem;
    border-top: 1px solid #e8efed;
  }

  nav a {
    font-size: 0.82rem;
  }

  .article-grid,
  .project-grid,
  .recognition-grid {
    grid-template-columns: 1fr;
  }

  .filter-panel {
    grid-template-columns: 1fr;
  }

  .project-card {
    grid-template-columns: 1fr;
  }

  .project-card img {
    max-height: 240px;
  }

  .photo-placeholder {
    min-height: 150px;
  }

  .footer-row {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 440px) {
  .topline {
    font-size: 0.66rem;
  }

  .brand-mark {
    width: 56px;
  }

  .brand-name {
    font-size: 0.82rem;
  }

  .brand-name span:last-child {
    font-size: 0.62rem;
  }

  .photo-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
