:root {
  --canvas: #faf9f5;
  --ink: #1b1d1b;
  --green: #6b9b37;
  --green-deep: #2f4420;
  --brick: #a6452f;
  --stone: #7b7a73;
  --line: #dde0da;
  --line-on-dark: rgba(250, 249, 245, 0.18);
  --surface: #ffffff;
  --surface-soft: #f4f6f1;
  --shadow-soft: 0 18px 44px rgba(11, 19, 17, 0.08);
  --shadow-lift: 0 26px 60px rgba(11, 19, 17, 0.14);
  --radius-card: 8px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

body {
  font-family: 'Public Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--canvas);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

:focus-visible {
  outline: 3px solid rgba(107, 155, 55, 0.42);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 20px;
  top: -60px;
  z-index: 1000;
  padding: 10px 16px;
  background: var(--green-deep);
  color: var(--canvas);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 14px;
}

section[id],
main[id],
article[id],
.content-hero {
  scroll-margin-top: 104px;
}

a {
  color: var(--green-deep);
  text-decoration: none;
}

a:not([class]):visited {
  color: var(--green-deep);
}

a:hover,
a:focus-visible {
  color: var(--green);
}

img {
  display: block;
  max-width: 100%;
}

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
}

button,
input,
textarea,
select {
  font: inherit;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

.site-header {
  background: rgba(250, 249, 245, 0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  position: sticky;
  top: 0;
  z-index: 40;
  box-shadow: 0 16px 40px rgba(11, 19, 17, 0.06);
  border-bottom: 1px solid rgba(27, 29, 27, 0.06);
  transition: background 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.site-header.is-solid {
  background: rgba(250, 249, 245, 0.9);
  box-shadow: 0 16px 40px rgba(11, 19, 17, 0.07);
  border-bottom: 1px solid rgba(27, 29, 27, 0.06);
}

.site-header.is-solid .brand-name,
.site-header.is-solid .brand-sub,
.site-header.is-solid .site-navigation .menu li a,
.site-header.is-solid .site-navigation .menu li a:visited,
.site-header .brand-name,
.site-header .brand-sub,
.site-header .site-navigation .menu li a,
.site-header .site-navigation .menu li a:visited {
  color: rgba(27, 29, 27, 0.76);
}

.site-header.is-solid .brand-sub,
.site-header .brand-sub {
  opacity: 0.8;
}

.site-header.is-solid .site-navigation .menu li a::after,
.site-header .site-navigation .menu li a::after {
  background: rgba(27, 29, 27, 0.7);
}

.site-header.is-solid .menu-toggle,
.site-header .menu-toggle {
  border-color: rgba(27, 29, 27, 0.12);
  background: rgba(255, 255, 255, 0.4);
}

.site-header.is-solid .menu-toggle-bar,
.site-header .menu-toggle-bar {
  background: rgba(27, 29, 27, 0.8);
}

.site-header.on-hero {
  background: rgba(250, 249, 245, 0.84);
  border-bottom: 1px solid rgba(27, 29, 27, 0.06);
  box-shadow: 0 16px 40px rgba(11, 19, 17, 0.07);
}

.site-header.on-hero .brand-name,
.site-header.on-hero .brand-sub,
.site-header.on-hero .site-navigation .menu li a,
.site-header.on-hero .site-navigation .menu li a:visited {
  color: rgba(27, 29, 27, 0.76);
  text-shadow: none;
}

.site-header.on-hero .site-navigation .menu li a::after {
  background: rgba(27, 29, 27, 0.7);
}

.site-header.on-hero .menu-toggle {
  border-color: rgba(27, 29, 27, 0.12);
  background: rgba(255, 255, 255, 0.4);
}

.site-header.on-hero .menu-toggle-bar {
  background: rgba(27, 29, 27, 0.8);
}

.site-header.on-hero .search-toggle {
  color: rgba(27, 29, 27, 0.76);
  border-color: rgba(27, 29, 27, 0.16);
}

.site-header.on-hero .search-toggle:hover,
.site-header.on-hero .search-toggle.is-active {
  background: var(--green-deep);
  border-color: var(--green-deep);
  color: var(--canvas);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 78px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand .custom-logo {
  display: block;
  width: auto;
  max-height: 42px;
}

body.home .brand .custom-logo,
body.front-page .brand .custom-logo {
  max-height: 58px;
}

.brand-name {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
}

.brand-sub {
  display: block;
  margin-top: 1px;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--stone);
}

.site-navigation .menu {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.site-navigation .menu li {
  position: relative;
}

.site-navigation .menu li a {
  display: inline-flex;
  align-items: center;
  padding: 8px 0;
  text-decoration: none;
  font-size: 0.87rem;
  font-weight: 500;
  position: relative;
  color: var(--ink);
  transition: color 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

.site-navigation .menu li a:visited {
  color: var(--ink);
}

.site-navigation .menu li a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 1px;
  background: var(--green-deep);
  transition: width 0.25s ease;
}

.site-navigation .menu li a:hover,
.site-navigation .menu li a:focus-visible,
.site-navigation .menu li.current-menu-item > a,
.site-navigation .menu li.current_page_item > a,
.site-navigation .menu li.current-menu-ancestor > a {
  color: var(--green-deep);
  transform: translateY(-1px);
}

.site-navigation .menu li a:hover::after,
.site-navigation .menu li a:focus-visible::after,
.site-navigation .menu li.current-menu-item > a::after,
.site-navigation .menu li.current_page_item > a::after,
.site-navigation .menu li.current-menu-ancestor > a::after {
  width: 100%;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-navigation {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.btn-sm {
  padding: 9px 18px;
  font-size: 0.82rem;
}

.search-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(11, 19, 17, 0.14);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.search-toggle:hover,
.search-toggle:focus-visible,
.search-toggle.is-active {
  background: var(--green-deep);
  border-color: var(--green-deep);
  color: var(--canvas);
  transform: translateY(-1px);
}

.site-header.is-solid .search-toggle,
.site-header .search-toggle {
  color: rgba(27, 29, 27, 0.76);
  border-color: rgba(27, 29, 27, 0.16);
}

.site-header.is-solid .search-toggle:hover,
.site-header .search-toggle:hover,
.site-header .search-toggle.is-active {
  background: var(--green-deep);
  border-color: var(--green-deep);
  color: var(--canvas);
}

.header-search {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--canvas);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  padding: 18px 0;
}

.header-search .search-form {
  display: flex;
  gap: 10px;
}

.search-form input[type='search'] {
  flex: 1;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid rgba(11, 19, 17, 0.12);
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 1px 0 rgba(11, 19, 17, 0.04);
}

.search-form input[type='search']:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}

.menu-toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.menu-toggle.is-active .menu-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-active .menu-toggle-bar:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-active .menu-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  min-height: calc(100vh - 86px);
  padding: 122px 0 96px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background-color: var(--green-deep);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  color: var(--canvas);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(14, 24, 16, 0.92) 0%, rgba(19, 31, 20, 0.68) 46%, rgba(19, 31, 20, 0.36) 100%);
}

.hero-has-image::before {
  background: linear-gradient(90deg, rgba(14, 24, 16, 0.9) 0%, rgba(19, 31, 20, 0.62) 44%, rgba(19, 31, 20, 0.34) 100%);
}

.hero-has-image .eyebrow {
  color: var(--canvas);
}

.hero-has-image h1,
.hero-has-image p {
  color: var(--canvas);
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.45);
}

.hero-has-image .btn-outline {
  border-color: rgba(250, 249, 245, 0.5);
  color: var(--canvas);
  background: rgba(27, 29, 27, 0.28);
}

.hero .hero-content {
  position: relative;
  z-index: 1;
  max-width: 620px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--canvas);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.eyebrow .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}

.hero h1 {
  font-family: 'Fraunces', serif;
  font-weight: 450;
  font-size: clamp(2.7rem, 5vw, 4.4rem);
  line-height: 1.02;
  max-width: 12ch;
  margin-bottom: 24px;
}

.hero p {
  max-width: 620px;
  color: rgba(250, 249, 245, 0.82);
  margin-bottom: 36px;
  font-size: 1.03rem;
  line-height: 1.8;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  padding: 16px 26px;
  border-radius: 999px;
  font-weight: 600;
  box-shadow: 0 10px 24px rgba(11, 19, 17, 0.08);
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(11, 19, 17, 0.12);
}

a.btn-primary,
button.btn-primary,
.btn-primary {
  background: var(--green-deep) !important;
  border-color: var(--green-deep) !important;
  color: var(--canvas) !important;
}

a.btn-primary:visited,
button.btn-primary:visited,
.btn-primary:visited {
  color: var(--canvas) !important;
}

a.btn-primary:hover,
button.btn-primary:hover,
.btn-primary:hover {
  background: var(--green) !important;
  border-color: var(--green) !important;
  color: var(--canvas) !important;
}

a.btn-outline,
button.btn-outline,
.btn-outline {
  border-color: rgba(11, 19, 17, 0.12) !important;
  color: var(--ink) !important;
  background: rgba(250, 249, 245, 0.78) !important;
}

a.btn-outline:visited,
button.btn-outline:visited,
.btn-outline:visited {
  color: var(--ink) !important;
}

.roofline {
  display: block;
  width: 100%;
  height: auto;
}

.stats {
  background: var(--canvas);
  padding: 0 0 84px;
  margin-top: -2px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.stat {
  padding: 44px 28px 0;
  border-right: 1px solid var(--line);
  text-align: center;
}

.stat:last-child {
  border-right: none;
}

.stat .num {
  font-family: 'Fraunces', serif;
  font-size: 2.6rem;
  font-weight: 450;
  color: var(--green-deep);
  line-height: 1;
}

.stat .label {
  margin-top: 10px;
  margin-left: auto;
  margin-right: auto;
  font-size: 0.85rem;
  color: var(--stone);
  max-width: 180px;
  line-height: 1.45;
}

.mission {
  padding: 110px 0;
}

.mission-title {
  margin: 0 0 44px;
  text-align: center;
}

.mission-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: start;
}

.kicker {
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brick);
  font-weight: 600;
  margin-bottom: 20px;
  display: block;
}

.mission blockquote {
  border-left: 4px solid var(--green);
  padding-left: 26px;
  color: var(--ink);
}

.mission-list {
  margin-top: 6px;
  display: grid;
  gap: 18px;
}

.mission-list li {
  display: grid;
  grid-template-columns: 14px 1fr;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.mission-list .mark {
  width: 7px;
  height: 7px;
  background: var(--green);
  border-radius: 50%;
  margin-top: 6px;
}

.projects {
  background: linear-gradient(180deg, #151b18 0%, var(--ink) 100%);
  color: var(--canvas);
  padding: 110px 0 130px;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 56px;
  gap: 24px;
  flex-wrap: wrap;
}

.section-head h2 {
  font-family: 'Fraunces', serif;
  font-weight: 450;
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  max-width: 520px;
}

.section-head p {
  color: rgba(250, 249, 245, 0.65);
  max-width: 340px;
  font-size: 0.95rem;
  line-height: 1.6;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.project-card {
  border: 1px solid rgba(250, 249, 245, 0.1);
  border-radius: var(--radius-card);
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  background: linear-gradient(180deg, #13201b 0%, #0f1714 100%);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.18);
}

.project-card:hover {
  transform: translateY(-6px);
  border-color: rgba(250, 249, 245, 0.35);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.28);
}

.project-media {
  height: 220px;
  overflow: hidden;
  position: relative;
}

.project-media img,
.project-media .project-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-media img {
  transition: transform 0.45s ease;
}

.project-card:hover .project-media img {
  transform: scale(1.04);
}

.project-placeholder {
  display: grid;
  place-items: center;
  background: rgba(250, 249, 245, 0.05);
}

.project-status-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(19, 31, 20, 0.82);
  color: var(--canvas);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.property-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin: 28px 0 12px;
}

.property-quick-search {
  flex: 0 0 auto;
  min-width: 260px;
}

.property-quick-search input {
  width: 100%;
  padding: 11px 18px;
  border-radius: 999px;
  border: 1px solid rgba(11, 19, 17, 0.12);
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 10px 28px rgba(11, 19, 17, 0.06);
}

.property-quick-search input:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}

.property-filter-empty {
  text-align: center;
  color: var(--stone);
  padding: 40px 0;
}

.project-placeholder .roof-mark {
  color: rgba(250, 249, 245, 0.55);
}

.project-body {
  padding: 28px 30px 32px;
}

.project-body h3 {
  font-family: 'Fraunces', serif;
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--canvas);
  margin-bottom: 10px;
}

.project-specs {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.project-specs span {
  font-size: 0.78rem;
  color: rgba(250, 249, 245, 0.55);
  border-left: 2px solid var(--green);
  padding-left: 8px;
}

.project-body p {
  font-size: 0.92rem;
  line-height: 1.6;
  color: rgba(250, 249, 245, 0.72);
  margin-bottom: 18px;
}

.project-link {
  font-size: 0.85rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--canvas);
}

.project-link:visited {
  color: var(--canvas);
}

.project-gallery-strip {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
}

.project-gallery-thumb {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid rgba(250, 249, 245, 0.14);
}

.project-link span {
  transition: transform 0.25s ease;
}

.project-card:hover .project-link span {
  transform: translateX(4px);
}

.people-section {
  padding: 110px 0;
  background: linear-gradient(180deg, #eef3ea 0%, var(--canvas) 100%);
}

.section-head-light p {
  color: rgba(11, 19, 17, 0.72);
}

.people-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.people-grid-compact {
  grid-template-columns: repeat(4, 1fr);
}

.person-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(11, 19, 17, 0.06);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.person-card:hover,
.download-card:hover {
  transform: translateY(-6px);
  border-color: var(--green-deep);
  box-shadow: var(--shadow-lift);
}

.person-card-light {
  background: rgba(255, 255, 255, 0.92);
}

.person-media {
  aspect-ratio: 4 / 4.4;
  overflow: hidden;
  background: linear-gradient(160deg, #eef1ea 0%, #e2e8dd 100%);
}

.person-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.person-card:hover .person-media img {
  transform: scale(1.05);
}

.person-media-portrait {
  aspect-ratio: 4 / 5;
}

.person-initials {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  background: linear-gradient(160deg, var(--green-deep) 0%, var(--green) 100%);
}

.person-initials span {
  font-family: 'Fraunces', serif;
  font-size: 2.6rem;
  font-weight: 500;
  color: var(--canvas);
  letter-spacing: 0.02em;
}

.person-initials-compact span {
  font-size: 2rem;
}

.person-body {
  padding: 26px 24px 28px;
}

.person-type {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brick);
  font-weight: 700;
  margin-bottom: 10px;
}

.person-body h3,
.download-card h3 {
  font-family: 'Fraunces', serif;
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.3;
  margin-bottom: 6px;
}

.person-role {
  color: var(--green-deep);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.person-divider {
  display: block;
  width: 36px;
  height: 2px;
  margin-bottom: 14px;
  background: var(--brick);
  border-radius: 2px;
}

.person-body p,
.download-card p {
  color: rgba(11, 19, 17, 0.76);
  font-size: 0.92rem;
  line-height: 1.6;
}

.person-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.person-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--green-deep);
  font-size: 0.88rem;
  font-weight: 600;
  transition: color 0.2s ease;
}

.person-link:visited {
  color: var(--green-deep);
}

.person-link:hover {
  color: var(--brick);
}

.person-link-icon {
  font-size: 0.95rem;
}

.values {
  padding: 90px 0;
}

.values-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.value-pill {
  background: var(--surface);
  color: var(--ink);
  padding: 16px 22px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(11, 19, 17, 0.06);
  box-shadow: 0 10px 26px rgba(11, 19, 17, 0.05);
}

.value-pill .sq {
  width: 6px;
  height: 6px;
  background: var(--brick);
  border-radius: 2px;
}

.publications {
  padding: 100px 0;
  background: var(--canvas);
}

.pub-filters {
  display: flex;
  gap: 10px;
  margin: 28px 0 40px;
  flex-wrap: wrap;
}

.pub-filter {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 9px 18px;
  border-radius: 100px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.58);
  color: var(--stone);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.pub-filter:hover,
.pub-filter:focus-visible,
.pub-filter.active {
  background: var(--ink);
  color: var(--canvas);
  border-color: var(--ink);
  transform: translateY(-1px);
}

.pub-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.pub-card {
  border: 1px solid var(--line);
  padding: 26px 24px;
  border-radius: var(--radius-card);
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: var(--surface);
  box-shadow: 0 12px 34px rgba(11, 19, 17, 0.05);
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.pub-card:hover {
  border-color: var(--green-deep);
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}

.pub-type {
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brick);
  font-weight: 700;
}

.pub-card h4 {
  font-family: 'Fraunces', serif;
  font-size: 1.15rem;
  font-weight: 500;
  line-height: 1.3;
}

.pub-meta {
  font-size: 0.8rem;
  color: var(--stone);
}

.pub-dl {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--green-deep);
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.pub-dl:visited {
  color: var(--green-deep);
}

.downloads-section {
  padding: 100px 0 120px;
  background: var(--surface);
}

.content-hero {
  padding: 96px 0 52px;
  background: linear-gradient(180deg, #edf3e9 0%, var(--canvas) 100%);
}

.content-hero-inner {
  max-width: 860px;
}

.content-hero h1 {
  font-family: 'Fraunces', serif;
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  line-height: 1.05;
  margin-bottom: 18px;
}

.archive-intro,
.content-hero .archive-intro,
.content-hero p {
  max-width: 640px;
  color: rgba(11, 19, 17, 0.76);
  font-size: 1rem;
}

.back-link {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--green-deep);
  font-size: 0.88rem;
  font-weight: 600;
}

.back-link:visited {
  color: var(--green-deep);
}

.breadcrumbs {
  margin-bottom: 18px;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  list-style: none;
  gap: 6px;
  padding: 0;
  margin: 0;
}

.breadcrumbs li {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
}

.breadcrumbs a {
  color: var(--green-deep);
  font-weight: 600;
}

.breadcrumbs span[aria-current='page'] {
  color: var(--stone);
  font-weight: 500;
}

.breadcrumb-sep {
  color: var(--stone);
  opacity: 0.6;
}

.content-shell {
  padding: 20px 0 110px;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}

.archive-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.archive-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: 0 14px 36px rgba(11, 19, 17, 0.06);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.archive-card:hover {
  transform: translateY(-4px);
  border-color: rgba(47, 68, 32, 0.38);
  box-shadow: var(--shadow-soft);
}

.archive-card-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #eef1ea;
}

.archive-card-media img,
.entry-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.archive-card-body {
  padding: 28px 30px 32px;
}

.archive-card-body h2 {
  font-family: 'Fraunces', serif;
  font-size: 1.45rem;
  line-height: 1.2;
  margin: 12px 0 14px;
}

.meta-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  margin: 0 0 24px;
  padding: 0;
}

.compact-meta-list {
  margin-bottom: 18px;
}

.meta-list li {
  color: rgba(11, 19, 17, 0.82);
  font-size: 0.92rem;
}

.entry-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 26px;
}

.detail-entry {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.entry-media {
  max-height: 560px;
  overflow: hidden;
  background: #eef1ea;
}

.property-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 0 40px 42px;
}

.property-gallery-item {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius-card);
  background: #eef1ea;
}

.property-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.property-gallery-item:hover img {
  transform: scale(1.05);
}

.detail-entry .entry-content {
  padding: 38px 40px 42px;
}

.detail-entry .entry-content > * + * {
  margin-top: 1em;
}

.detail-entry .entry-content h2,
.detail-entry .entry-content h3,
.detail-entry .entry-content h4 {
  font-family: 'Fraunces', serif;
  line-height: 1.2;
}

.detail-entry .entry-content ul,
.detail-entry .entry-content ol {
  padding-left: 1.25rem;
}

/* Contact Form 7 styling */
.wpcf7-form {
  max-width: 760px;
}

.wpcf7-form h3 {
  font-family: 'Fraunces', serif;
  color: var(--green-deep);
  margin: 2em 0 0.6em;
  padding-top: 1.2em;
  border-top: 1px solid var(--line);
}

.wpcf7-form h3:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.wpcf7-form h4 {
  margin: 1.4em 0 0.4em;
  font-weight: 600;
}

.wpcf7-form p {
  margin: 0 0 18px;
}

.wpcf7-form label {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink);
  margin-bottom: 18px;
}

.wpcf7-form label > span[class*="wpcf7-form-control-wrap"],
.wpcf7-form label br {
  display: none;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="number"],
.wpcf7-form input[type="date"],
.wpcf7-form input[type="url"],
.wpcf7-form textarea,
.wpcf7-form select {
  display: block;
  width: 100%;
  margin-top: 8px;
  padding: 13px 16px;
  border: 1px solid rgba(11, 19, 17, 0.12);
  border-radius: var(--radius-card);
  background: var(--surface);
  color: var(--ink);
  font-weight: 400;
  box-shadow: 0 1px 0 rgba(11, 19, 17, 0.04);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.wpcf7-form textarea {
  min-height: 120px;
  resize: vertical;
}

.wpcf7-form input:focus,
.wpcf7-form textarea:focus,
.wpcf7-form select:focus {
  outline: 2px solid var(--green);
  outline-offset: 1px;
  border-color: rgba(107, 155, 55, 0.72);
  box-shadow: 0 0 0 4px rgba(107, 155, 55, 0.12);
}

.wpcf7-form input[type="file"] {
  display: block;
  width: 100%;
  margin-top: 8px;
  font-weight: 400;
}

.wpcf7-form .wpcf7-list-item {
  display: block;
  margin: 0 0 8px;
  font-weight: 400;
}

.wpcf7-form .wpcf7-list-item input {
  margin-right: 8px;
}

.wpcf7-form .wpcf7-acceptance label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 400;
}

.wpcf7-form input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--green-deep);
  background: var(--green-deep);
  color: var(--canvas);
  padding: 16px 30px;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease;
}

.wpcf7-form input[type="submit"]:hover {
  background: var(--green);
  border-color: var(--green);
  transform: translateY(-1px);
}

.wpcf7-form input[type="submit"]:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.wpcf7-not-valid-tip {
  color: #b3261e;
  font-size: 0.85rem;
  font-weight: 500;
  margin-top: 6px;
}

.wpcf7-response-output {
  margin-top: 24px !important;
  padding: 16px 20px !important;
  border-radius: var(--radius-card) !important;
  border: 1px solid var(--line) !important;
  font-weight: 500;
}

.wpcf7-mail-sent-ok {
  border-color: var(--green) !important;
  color: var(--green-deep) !important;
  background: rgba(107, 155, 55, 0.08);
}

.wpcf7-validation-errors,
.wpcf7-mail-sent-ng,
.wpcf7-spam-blocked {
  border-color: #b3261e !important;
  color: #b3261e !important;
  background: rgba(179, 38, 30, 0.06);
}

.wpcf7-form .form-note {
  font-weight: 400;
  color: var(--muted, #5b625c);
  font-size: 0.9rem;
  margin: -8px 0 18px;
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.download-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 28px 30px 32px;
  background: linear-gradient(180deg, #ffffff 0%, #f8f8f4 100%);
  box-shadow: 0 12px 34px rgba(11, 19, 17, 0.05);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.footer-menu {
  list-style: none;
}

.footer-menu li {
  margin-bottom: 10px;
}

.cta-band {
  padding: 100px 0 120px;
  background: linear-gradient(180deg, var(--ink) 0%, #111714 100%);
  color: var(--canvas);
  text-align: center;
}

.cta-band h2 {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 450;
  font-size: clamp(1.9rem, 3.6vw, 2.8rem);
  max-width: 640px;
  margin: 0 auto 18px;
}

.cta-band p {
  color: rgba(250, 249, 245, 0.75);
  max-width: 480px;
  margin: 0 auto 36px;
  font-size: 0.98rem;
}

.cta-row {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.site-footer {
  background: #111714;
  color: rgba(250, 249, 245, 0.7);
  padding: 70px 0 30px;
  border-top: 1px solid rgba(250, 249, 245, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid var(--line-on-dark);
}

.footer-logo-link {
  display: inline-flex;
  align-items: center;
  margin-bottom: 16px;
}

.footer-brand img,
.footer-logo {
  width: auto;
  max-height: 48px;
  margin-bottom: 16px;
  
}

.footer-logo-link img,
.footer-logo-link .footer-logo {
  display: block;
  margin-bottom: 0;
}

.footer-apply {
  display: inline-flex;
  margin-top: 18px;
}

.footer-brand p,
.footer-col p,
.footer-col a {
  font-size: 0.88rem;
  line-height: 1.6;
}

.footer-col h4 {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(250, 249, 245, 0.9);
  margin-bottom: 18px;
  font-weight: 600;
}

.footer-col a {
  display: block;
  margin-bottom: 12px;
  color: rgba(250, 249, 245, 0.62);
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-col a:visited {
  color: rgba(250, 249, 245, 0.62);
}

.footer-col a:hover {
  color: var(--canvas);
  transform: translateX(2px);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 26px;
  font-size: 0.78rem;
  color: rgba(250, 249, 245, 0.4);
  flex-wrap: wrap;
  gap: 10px;
}

.note-banner {
  background: #fff8e2;
  color: var(--ink);
  padding: 12px 0;
  text-align: center;
  font-size: 0.95rem;
}

.note-banner b {
  font-weight: 700;
}

@media (max-width: 1024px) {
  .wrap {
    padding: 0 24px;
  }

  .project-grid,
  .pub-grid,
  .people-grid,
  .people-grid-compact,
  .download-grid,
  .archive-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px 24px;
  }

  .mission-grid {
    gap: 48px;
  }
}

@media (max-width: 900px) {
  .menu-toggle {
    display: inline-flex;
  }

  .header-inner {
    height: auto;
    min-height: 72px;
    padding: 14px 0;
  }

  body.home .brand .custom-logo,
  body.front-page .brand .custom-logo {
    max-height: 50px;
  }

  .site-navigation {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(250, 249, 245, 0.96);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transition: max-height 0.3s ease, opacity 0.25s ease;
  }

  .site-navigation.is-open {
    max-height: 480px;
    opacity: 1;
    pointer-events: auto;
    box-shadow: var(--shadow-soft);
  }

  .site-navigation .menu {
    flex-direction: column;
    gap: 0;
    padding: 8px 24px 20px;
  }

  .site-navigation .menu li {
    border-bottom: 1px solid var(--line);
  }

  .site-navigation .menu li:last-child {
    border-bottom: none;
  }

  .site-navigation .menu li a {
    display: block;
    padding: 14px 0;
    font-size: 1rem;
  }

  .site-navigation .menu li a::after {
    display: none;
  }

  .site-navigation {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav-actions {
    padding: 16px 24px 22px;
    border-top: 1px solid var(--line);
    justify-content: space-between;
  }

  .nav-apply {
    flex: 1;
    justify-content: center;
  }

  body.nav-open {
    overflow: hidden;
  }

  .hero {
    min-height: auto;
    padding: 132px 0 72px;
  }

  .mission-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    border: none;
  }

  .stat {
    border-right: none;
    border-bottom: 1px solid var(--line);
    padding: 28px 4px;
  }

  .stat:last-child {
    border-bottom: none;
  }

  .section-head {
    align-items: flex-start;
  }
}

.no-results {
  text-align: center;
  padding: 60px 0;
  max-width: 560px;
  margin: 0 auto;
}

.no-results h2 {
  font-family: 'Fraunces', serif;
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.no-results p {
  color: rgba(11, 19, 17, 0.72);
  margin-bottom: 24px;
}

.quick-links-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.search-form-inline {
  display: flex;
  gap: 10px;
  max-width: 480px;
  margin-top: 24px;
}

.search-form-inline input[type='search'] {
  flex: 1;
  padding: 13px 20px;
  border-radius: 999px;
  border: 1px solid rgba(11, 19, 17, 0.12);
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 10px 28px rgba(11, 19, 17, 0.06);
}

@media (max-width: 640px) {
  .wrap {
    padding: 0 20px;
  }

  .property-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .property-quick-search {
    min-width: 0;
  }

  .search-form-inline {
    flex-direction: column;
  }

  .footer-grid,
  .project-grid,
  .pub-grid,
  .people-grid,
  .people-grid-compact,
  .download-grid,
  .archive-grid {
    grid-template-columns: 1fr;
  }

  .hero-ctas,
  .cta-row {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-ctas .btn,
  .cta-row .btn,
  .entry-actions .btn {
    width: 100%;
    text-align: center;
  }

  .entry-actions {
    flex-direction: column;
  }

  .project-body,
  .pub-card,
  .archive-card-body,
  .detail-entry .entry-content {
    padding: 22px;
  }

  .property-gallery {
    grid-template-columns: 1fr 1fr;
    padding: 0 22px 22px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .content-hero {
    padding: 112px 0 40px;
  }
}

@media (max-width: 400px) {
  .wrap {
    padding: 0 16px;
  }

  .btn {
    padding: 14px 20px;
  }

  .stat .num {
    font-size: 2.1rem;
  }

  .header-inner {
    min-height: 64px;
  }
}

.application-page {
  padding: 18px 0 90px;
}

.application-intro {
  max-width: 760px;
  margin: 0 auto 30px;
  text-align: center;
}

.application-kicker {
  display: inline-block;
  margin-bottom: 12px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(107, 155, 55, 0.12);
  color: var(--green-deep);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
}

.application-intro h2 {
  font-family: 'Fraunces', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
  margin-bottom: 14px;
}

.application-intro p:last-child {
  color: rgba(11, 19, 17, 0.76);
  margin: 0 auto;
  max-width: 640px;
}

.application-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 12px;
}

.application-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: 0 16px 42px rgba(11, 19, 17, 0.05);
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.application-card:hover {
  transform: translateY(-4px);
  border-color: rgba(47, 68, 32, 0.38);
  box-shadow: var(--shadow-soft);
}

.application-card-body {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 28px 24px 32px;
}

.application-card-label {
  margin-bottom: 12px;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brick);
  font-weight: 700;
}

.application-card h3 {
  font-family: 'Fraunces', serif;
  font-size: 1.4rem;
  line-height: 1.2;
  margin-bottom: 10px;
}

.application-card p {
  margin-bottom: 18px;
  color: rgba(11, 19, 17, 0.78);
  line-height: 1.6;
}

.application-form-link {
  margin-top: auto;
  width: fit-content;
}

.application-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: auto;
  align-items: center;
}

.application-secondary-link {
  width: fit-content;
}

.application-steps-section {
  margin-top: 52px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.application-steps-heading {
  margin: 0 0 18px;
  font-family: 'Fraunces', serif;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1.15;
  color: var(--ink);
}

.application-steps {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 14px;
}

.application-step {
  color: rgba(11, 19, 17, 0.78);
  line-height: 1.7;
}

.application-step strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
}

/* Contact page layout */
.contact-page {
  padding: 36px 0 80px;
}

.contact-page .contact-wrap {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  /* Form column reduced, details column increased */
  grid-template-columns: 1fr 1.6fr;
  gap: 32px;
  align-items: start;
  margin-top: 18px;
}

.contact-form-container h2 {
  margin-top: 0;
  text-align: center;
}

.contact-details-container h3 {
  margin-top: 0;
  text-align: center;
}

.contact-form-container,
.contact-details-container {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 28px;
  border-radius: 12px;
  box-shadow: var(--shadow-soft);
}

.contact-form-container {
  text-align: left;
}

.gmhc-contact-form input.regular-text,
.gmhc-contact-form textarea.large-text {
  width: 100%;
  box-sizing: border-box;
  max-width: 100%;
}

.gmhc-contact-form p {
  margin-bottom: 16px;
}

.gmhc-contact-form p:last-child {
  text-align: center;
  margin-top: 18px;
}

.contact-details-list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px 0;
  text-align: center;
}

.contact-details-list li {
  margin-bottom: 10px;
}

.contact-social {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
}

/* Keep the social links centred beneath the company details. */
.contact-details-container .contact-social {
  justify-content: center;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--surface);
  
  color: inherit;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: var(--primary);
  border-color: var(--primary);
}

.social-link:hover .icon {
  filter: brightness(0) invert(1);
}

.icon {
  width: 40px;
  height: 40px;
  display: inline-block;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.icon-facebook { background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="currentColor" d="M22 12A10 10 0 1 0 2 12c0 5 3.66 9.13 8.44 9.88v-6.99H7.9v-2.9h2.54V9.41c0-2.5 1.49-3.89 3.77-3.89 1.09 0 2.22.2 2.22.2v2.45h-1.25c-1.24 0-1.62.77-1.62 1.56v1.88h2.77l-.44 2.9h-2.33V22C18.34 21.13 22 17 22 12z"/></svg>'); }
.icon-twitter { background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="currentColor" d="M22 5.92c-.63.28-1.3.48-2 .56.72-.43 1.27-1.11 1.53-1.92-.68.4-1.44.68-2.24.83C18.54 4.5 17.65 4 16.67 4c-1.54 0-2.8 1.24-2.8 2.77 0 .22.02.44.07.65-2.33-.12-4.4-1.3-5.79-3.1-.24.42-.37.9-.37 1.41 0 .96.48 1.8 1.21 2.29-.56-.02-1.09-.17-1.55-.43v.04c0 1.36.95 2.5 2.2 2.76-.46.13-.95.18-1.46.07.41 1.27 1.6 2.2 3.01 2.22-1.1.86-2.49 1.37-3.99 1.37-.26 0-.52-.01-.77-.05 1.43.93 3.12 1.48 4.93 1.48 5.92 0 9.17-4.9 9.17-9.16v-.42c.63-.45 1.18-1.02 1.61-1.66-.58.26-1.2.43-1.85.51.66-.4 1.17-1.03 1.41-1.78-.6.36-1.25.63-1.95.77z"/></svg>'); }
.icon-instagram { background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="currentColor" d="M7 2h10a5 5 0 0 1 5 5v10a5 5 0 0 1-5 5H7a5 5 0 0 1-5-5V7a5 5 0 0 1 5-5zm0 2a3 3 0 0 0-3 3v10a3 3 0 0 0 3 3h10a3 3 0 0 0 3-3V7a3 3 0 0 0-3-3H7zm5 3a5 5 0 1 1 0 10 5 5 0 0 1 0-10zm0 2a3 3 0 1 0 .001 6.001A3 3 0 0 0 12 9zM18.5 6a1 1 0 1 1 0 2 1 1 0 0 1 0-2z"/></svg>'); }

/* Our Staff Page */
.our-staff-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.our-staff-tabs {
  display: flex;
  gap: 16px;
  border-bottom: 2px solid var(--line);
  margin-bottom: 40px;
}

.tab-button {
  padding: 12px 24px;
  font-size: 16px;
  font-weight: 600;
  border: none;
  background: transparent;
  color: var(--stone);
  cursor: pointer;
  position: relative;
  transition: color 0.3s ease;
}

.tab-button:hover {
  color: var(--ink);
}

.tab-button.active {
  color: var(--green);
}

.tab-button.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--green);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.board-members-grid,
.team-members-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 32px;
}

.member-card {
  background: var(--surface);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.member-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
}

.member-image {
  overflow: hidden;
  background: var(--surface-soft);
  height: 300px;
}

.member-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.member-card:hover .member-image img {
  transform: scale(1.05);
}

.member-content {
  padding: 24px;
}

.member-content h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--ink);
}

.member-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--green);
  margin-bottom: 12px;
}

.member-bio {
  font-size: 14px;
  color: var(--stone);
  line-height: 1.6;
}

@media (max-width: 900px) {
  .our-staff-tabs {
    flex-wrap: wrap;
  }

  .board-members-grid,
  .team-members-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 24px;
  }
}

@media (max-width: 600px) {
  .board-members-grid,
  .team-members-grid {
    grid-template-columns: 1fr;
  }

  .tab-button {
    padding: 10px 16px;
    font-size: 14px;
  }

  .member-content {
    padding: 16px;
  }
}


@media (max-width: 900px) {
  .contact-page .contact-wrap {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1024px) {
  .application-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .application-grid {
    grid-template-columns: 1fr;
  }

  .application-card-body {
    padding: 24px 22px 28px;
  }
}
