:root {
  --team-blue: #0b8cf0;
  --team-blue-dark: #075b9f;
  --team-blue-soft: #e8f5ff;
  --team-pink: #f00651;
  --team-pink-dark: #af063d;
  --team-pink-soft: #fff1f5;
  --team-green: #1aa77e;
  --team-green-soft: #eafaf4;
  --team-purple: #566f8c;
  --team-purple-soft: #edf3f8;
  --team-neutral: #5c7087;
  --team-neutral-soft: #eef4f9;
  --page-bg: #f7fbff;
  --paper: #ffffff;
  --ink-strong: #15233c;
  --ink-soft: #64738c;
  --line: rgba(28, 58, 98, 0.12);
  --shadow-soft: 0 14px 34px rgba(18, 49, 91, 0.09);
  --shadow-card: 0 18px 45px rgba(18, 49, 91, 0.12);
  --header-height: 76px;
  --content-max: 1120px;
  --section-pad-x: clamp(28px, 5vw, 56px);
  --section-pad-y: clamp(44px, 5.8vw, 76px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 18px);
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--ink-strong);
  background:
    radial-gradient(circle at 18% 16%, rgba(11, 140, 240, 0.11), transparent 32%),
    radial-gradient(circle at 86% 34%, rgba(240, 6, 81, 0.035), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, var(--page-bg) 34%, #ffffff 100%);
  font-family: 'Outfit', 'Trebuchet MS', sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

body.admin-modal-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

#about,
#services,
#updates,
#updates-feed,
#gallery,
#team,
#contact,
.feed-post-card {
  scroll-margin-top: calc(var(--header-height) + 18px);
}

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 clamp(28px, 5vw, 56px);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(28, 58, 98, 0.08);
  box-shadow: 0 8px 24px rgba(18, 49, 91, 0.04);
  backdrop-filter: blur(18px);
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.site-brand-copy,
.footer-brand {
  text-decoration: none;
}

.site-brand strong,
.site-brand-copy strong {
  display: block;
  color: #11213a;
  font-family: 'Space Grotesk', 'Outfit', sans-serif;
  font-size: 1rem;
  line-height: 1.05;
}

.site-brand small,
.site-brand-copy small {
  display: block;
  margin-top: 2px;
  color: #68758a;
  font-size: 0.76rem;
  font-weight: 700;
}

.brand-logo-button,
.brand-logo-frame {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(11, 140, 240, 0.14);
  border-radius: 8px;
  padding: 5px;
  background: #ffffff;
  box-shadow: 0 10px 22px rgba(11, 91, 159, 0.16);
}

.brand-logo-button {
  appearance: none;
  cursor: pointer;
}

.brand-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.4vw, 20px);
  color: #243550;
  font-size: 0.84rem;
  font-weight: 800;
  white-space: nowrap;
}

.site-nav a:not(.nav-cta):hover,
.site-nav a.is-active {
  color: var(--team-blue);
}

.site-nav a.is-active {
  position: relative;
}

.site-nav a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 3px;
  border-radius: 999px;
  background: var(--team-blue);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 8px;
  padding: 10px 16px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--team-blue-dark), var(--team-blue));
  box-shadow: 0 10px 24px rgba(11, 91, 159, 0.2);
}

/* Improved mobile navigation */
@media (max-width: 880px) {
  .site-header {
    flex-wrap: wrap;
    gap: 14px;
    padding-top: 14px;
    padding-bottom: 14px;
  }
  
  .site-nav {
    flex-wrap: wrap;
    white-space: normal;
    justify-content: center;
    row-gap: 10px;
    column-gap: 12px;
    width: 100%;
  }
  
  .site-nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    border-radius: 40px;
    background: rgba(11, 140, 240, 0.06);
    min-height: 38px;
    font-size: 0.82rem;
  }
  
  .site-nav a.is-active::after {
    display: none;
  }
  
  .site-nav .nav-cta {
    background: linear-gradient(135deg, var(--team-blue-dark), var(--team-blue));
    color: white;
  }
}

.hero-section {
  position: relative;
  min-height: 642px;
  overflow: hidden;
  background: #eef6ff;
}

.hero-bg,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-bg {
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: center 26%;
}

.hero-shade {
  height: 560px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.02) 46%, rgba(255, 255, 255, 0) 100%),
    linear-gradient(180deg, rgba(9, 27, 56, 0.08) 0%, rgba(255, 255, 255, 0.1) 58%, #ffffff 100%);
}

.hero-shell {
  position: relative;
  z-index: 2;
  width: min(1280px, calc(100% - 72px));
  margin: 0 auto;
  padding-top: 98px;
}

.hero-card {
  width: min(616px, 100%);
  min-height: 430px;
  padding: clamp(28px, 4vw, 46px);
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 24px 68px rgba(18, 49, 91, 0.22);
  backdrop-filter: blur(16px);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--team-blue-dark);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow.muted {
  color: #66809f;
}

.hero-card h1,
.section-split h2,
.section-heading h2,
.preview-card h2,
.contact-content h2,
.admin-login-panel h2 {
  margin: 0;
  color: var(--ink-strong);
  font-family: 'Space Grotesk', 'Outfit', sans-serif;
  letter-spacing: 0;
}

.hero-card h1 {
  max-width: 520px;
  font-size: clamp(3rem, 5.6vw, 5.15rem);
  line-height: 0.98;
}

.hero-role {
  margin: 17px 0 0;
  color: var(--team-blue-dark);
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  font-weight: 900;
  overflow-wrap: anywhere;
}

.hero-copy {
  width: min(500px, 100%);
  margin: 18px 0 0;
  color: #51627d;
  font-size: 1rem;
  line-height: 1.5;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  border-radius: 8px;
  padding: 7px 11px;
  color: #374963;
  background: #f4f8ff;
  box-shadow: inset 0 0 0 1px rgba(18, 111, 212, 0.07);
  font-size: 0.76rem;
  font-weight: 800;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 12px 18px;
  cursor: pointer;
  font-weight: 900;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.btn:hover,
.filter-chip:hover,
.outline-link:hover,
.contact-button:hover,
.source-link-btn:hover,
.share-btn:hover,
.read-more-btn:hover,
.like-btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--team-blue-dark), var(--team-blue));
  box-shadow: 0 12px 24px rgba(11, 91, 159, 0.22);
}

.btn-pink,
.btn-accent {
  color: #ffffff;
  background: linear-gradient(135deg, var(--team-pink-dark), var(--team-pink));
  box-shadow: 0 12px 24px rgba(175, 6, 61, 0.16);
}

.btn-service {
  color: #ffffff;
  background: linear-gradient(135deg, #0f8b6f, var(--team-green));
  box-shadow: 0 12px 24px rgba(26, 167, 126, 0.18);
}

.btn-quiet {
  color: var(--team-blue-dark);
  background: #ffffff;
  border-color: rgba(18, 111, 212, 0.24);
  box-shadow: 0 10px 22px rgba(18, 49, 91, 0.08);
}

.btn.compact {
  min-height: 42px;
  padding: 10px 14px;
  font-size: 0.86rem;
}

.mini-icon,
.icon-badge,
.round-icon,
.small-icon {
  position: relative;
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
}

.mini-icon {
  width: 18px;
  height: 18px;
}

.mini-icon::before,
.icon-badge::before,
.round-icon::before,
.small-icon::before {
  content: "";
  width: 46%;
  height: 46%;
  border-radius: 4px;
  background: currentColor;
}

.calendar::before,
.calendar-icon::before {
  width: 50%;
  height: 44%;
  border: 2px solid currentColor;
  border-top-width: 5px;
  background: transparent;
}

.heart::before,
.heart-icon::before {
  width: 46%;
  height: 46%;
  border-radius: 50% 50% 45% 45%;
  background: currentColor;
  transform: rotate(45deg);
}

.mail::before {
  width: 58%;
  height: 42%;
  border: 2px solid currentColor;
  border-radius: 3px;
  background: transparent;
}

.target-icon::before {
  width: 48%;
  height: 48%;
  border: 5px solid currentColor;
  border-radius: 50%;
  background: transparent;
}

.clock-icon::before {
  width: 48%;
  height: 48%;
  border: 4px solid currentColor;
  border-radius: 50%;
  background: transparent;
}

.cap-icon::before {
  width: 54%;
  height: 34%;
  border-radius: 2px;
  background: currentColor;
  transform: skewX(-18deg);
}

.people-icon::before {
  width: 56%;
  height: 34%;
  border-radius: 999px 999px 7px 7px;
  background: currentColor;
}

.megaphone-icon::before {
  width: 54%;
  height: 42%;
  border-radius: 2px 10px 10px 2px;
  background: currentColor;
  transform: skewX(-12deg);
}

.handshake-icon::before {
  width: 56%;
  height: 36%;
  border-radius: 999px;
  background: currentColor;
}

.hero-portraits {
  position: absolute;
  right: clamp(28px, 6vw, 86px);
  bottom: -4px;
  z-index: 3;
  display: flex;
  align-items: end;
  gap: 18px;
}

.hero-portraits img {
  width: 155px;
  height: 185px;
  border: 7px solid #ffffff;
  border-radius: 8px;
  object-fit: cover;
  background: #edf4fb;
  box-shadow: 0 18px 42px rgba(18, 49, 91, 0.24);
}

.hero-portraits img:first-child {
  border-color: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 42px rgba(18, 111, 212, 0.27);
}

.hero-portraits img:last-child {
  border-color: #ffe0ea;
  background: var(--team-pink-soft);
  box-shadow: 0 18px 42px rgba(175, 6, 61, 0.18);
}

.hero-wave {
  position: absolute;
  left: -5%;
  right: -5%;
  bottom: -68px;
  z-index: 1;
  height: 190px;
  background:
    linear-gradient(168deg, transparent 0 35%, rgba(11, 140, 240, 0.18) 36% 50%, transparent 51%),
    linear-gradient(172deg, transparent 0 42%, rgba(240, 6, 81, 0.08) 43% 56%, transparent 57%),
    #ffffff;
  transform: skewY(-2deg);
}

.section-band {
  position: relative;
  padding: var(--section-pad-y) var(--section-pad-x);
}

.about-section {
  padding-top: 66px;
}

.compact-band {
  padding-top: 24px;
  padding-bottom: 26px;
}

.section-split,
.section-heading,
.info-card-grid,
.service-grid,
.pinned-post,
.feed-tools,
.updates-layout,
.preview-grid,
.team-grid,
.values-grid,
.contact-content,
.preview-panel,
.story-layout,
.mission-layout,
.service-catalog,
.process-lane,
.office-strip,
.gallery-masonry,
.album-grid,
.team-directory,
.role-grid,
.contact-grid,
.inquiry-layout {
  width: min(var(--content-max), 100%);
  margin-left: auto;
  margin-right: auto;
}

.section-split {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(280px, 0.72fr);
  gap: clamp(24px, 5vw, 74px);
  align-items: start;
  margin-bottom: 34px;
}

.section-split h2,
.section-heading h2,
.preview-card h2,
.contact-content h2 {
  font-size: clamp(1.85rem, 3vw, 2.9rem);
  line-height: 1.08;
  overflow-wrap: anywhere;
}

.section-split p:not(.eyebrow),
.section-heading p:not(.eyebrow),
.preview-card p:not(.eyebrow),
.contact-content p,
.feature-card p,
.service-card p,
.team-card p,
.values-grid p,
.feed-post-card p,
.mini-updates-card p,
.facebook-card p,
.event-preview-list p,
.empty-state p {
  color: var(--ink-soft);
}

.section-split > p {
  margin: 38px 0 0;
  font-size: 0.98rem;
}

.section-heading {
  margin-bottom: 34px;
}

.section-heading h2 {
  max-width: 720px;
}

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

.feature-card,
.service-card,
.mini-updates-card,
.facebook-card,
.preview-card,
.team-card,
.values-grid article,
.admin-login-panel,
.empty-state {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-soft);
}

.feature-card {
  min-height: 210px;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 16px;
  padding: 36px 28px 28px;
}

.feature-card h3,
.service-card h3,
.mini-updates-card h3,
.facebook-card h3,
.team-card h3,
.values-grid h3,
.empty-state h3 {
  margin: 0;
  color: var(--ink-strong);
  font-family: 'Space Grotesk', 'Outfit', sans-serif;
  letter-spacing: 0;
}

.feature-card p,
.service-card p,
.feed-post-card p,
.mini-updates-card p,
.facebook-card p,
.team-card p,
.values-grid p,
.empty-state p {
  margin: 9px 0 0;
  font-size: 0.92rem;
}

.icon-badge {
  width: 50px;
  height: 50px;
  border-radius: 50%;
}

.round-icon {
  width: 58px;
  height: 58px;
  margin-bottom: 18px;
  border-radius: 50%;
  color: #ffffff;
}

.small-icon {
  width: 45px;
  height: 45px;
  border-radius: 8px;
}

.blue {
  color: var(--team-blue);
}

.pink,
.accent,
.accent-text {
  color: var(--team-pink);
}

.green {
  color: var(--team-green);
}

.green-text {
  color: var(--team-green);
}

.purple-text {
  color: var(--team-purple);
}

.neutral-text {
  color: var(--team-neutral);
}

.icon-badge.blue,
.small-icon.blue {
  color: var(--team-blue);
  background: var(--team-blue-soft);
}

.icon-badge.pink,
.small-icon.pink,
.icon-badge.accent,
.small-icon.accent {
  color: var(--team-pink);
  background: var(--team-pink-soft);
}

.icon-badge.green,
.small-icon.green {
  color: var(--team-green);
  background: var(--team-green-soft);
}

.round-icon.blue {
  color: #ffffff;
  background: linear-gradient(135deg, var(--team-blue), #3e92ee);
}

.round-icon.pink,
.round-icon.accent {
  color: #ffffff;
  background: linear-gradient(135deg, var(--team-pink-dark), var(--team-pink));
}

.round-icon.green {
  color: #ffffff;
  background: linear-gradient(135deg, var(--team-green), #58d1a4);
}

.round-icon.purple {
  color: #ffffff;
  background: linear-gradient(135deg, var(--team-purple), #b772f1);
}

.round-icon.neutral {
  color: #ffffff;
  background: linear-gradient(135deg, #40566f, var(--team-neutral));
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.service-card {
  min-height: 276px;
  padding: 30px 24px 26px;
}

.program-kicker,
.role-label,
.post-category {
  display: inline-flex;
  margin-bottom: 6px;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.pinned-post {
  min-height: 100px;
}

.pinned-strip {
  min-height: 126px;
  display: grid;
  grid-template-columns: 94px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  border: 1px solid rgba(11, 140, 240, 0.16);
  border-radius: 8px;
  padding: 24px 28px;
  background:
    linear-gradient(110deg, rgba(255, 255, 255, 0.96), rgba(232, 245, 255, 0.95)),
    var(--paper);
  box-shadow: var(--shadow-soft);
}

.pinned-strip .round-icon {
  margin-bottom: 0;
}

.pinned-strip h3 {
  margin: 0;
  font-family: 'Space Grotesk', 'Outfit', sans-serif;
  font-size: clamp(1.38rem, 2.2vw, 2.05rem);
  line-height: 1.12;
}

.outline-link,
.share-btn,
.read-more-btn {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(18, 111, 212, 0.28);
  border-radius: 8px;
  padding: 9px 15px;
  color: var(--team-blue-dark);
  background: #ffffff;
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 900;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.pink-link,
.accent-link {
  color: var(--team-pink-dark);
  border-color: rgba(240, 6, 81, 0.26);
}

.updates-section {
  padding-top: 36px;
}

.updates-title {
  margin-bottom: 24px;
}

.text-link {
  align-self: end;
  color: var(--team-blue-dark);
  font-weight: 900;
  white-space: nowrap;
}

.text-link::after {
  content: " ->";
  color: var(--team-blue);
}

.feed-tools {
  display: grid;
  grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
  gap: 16px;
  align-items: end;
  margin-bottom: 22px;
}

.updates-page-section .updates-title,
.updates-page-section .feed-tools {
  width: min(960px, 100%);
  margin-left: auto;
  margin-right: auto;
}

.updates-page-section .updates-title {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
}

.updates-page-section .feed-tools {
  grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
  align-items: center;
  gap: 16px;
}

.updates-page-section .search-field {
  width: 100%;
  justify-self: start;
}

.updates-page-section .filter-row {
  justify-content: flex-end;
  flex-wrap: nowrap;
}

.search-field {
  position: relative;
  display: block;
}

.search-field span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.search-field::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 50%;
  width: 13px;
  height: 13px;
  border: 2px solid #99a9bd;
  border-radius: 50%;
  transform: translateY(-58%);
}

.search-field::after {
  content: "";
  position: absolute;
  left: 28px;
  top: 56%;
  width: 8px;
  height: 2px;
  background: #99a9bd;
  transform: rotate(45deg);
  transform-origin: left center;
}

.search-field input {
  width: 100%;
  min-height: 44px;
  border: 1px solid #d8e4f0;
  border-radius: 8px;
  padding: 10px 14px 10px 46px;
  color: var(--ink-strong);
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(18, 49, 91, 0.05);
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-chip {
  min-height: 42px;
  border: 1px solid #d8e4f0;
  border-radius: 8px;
  padding: 9px 15px;
  color: #41516a;
  background: #ffffff;
  cursor: pointer;
  font-size: 0.84rem;
  font-weight: 900;
  box-shadow: 0 8px 20px rgba(18, 49, 91, 0.05);
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.filter-chip.is-active {
  color: #ffffff;
  background: linear-gradient(135deg, var(--team-blue), #4a98ee);
  border-color: transparent;
}

.updates-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(290px, 0.44fr);
  gap: 22px;
  align-items: start;
}

.public-post-highlight,
.mini-updates-card,
.facebook-card {
  min-height: 0;
}

.public-post-highlight {
  grid-row: 1 / span 2;
  display: grid;
  gap: 18px;
}

.updates-layout > .facebook-card {
  grid-column: 2;
}

.feed-post-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-soft);
}

.feed-post-card.is-linked-target {
  outline: 4px solid rgba(11, 140, 240, 0.2);
  box-shadow: 0 0 0 8px rgba(240, 6, 81, 0.06), var(--shadow-card);
}

.feed-post-header {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 18px 20px 12px;
}

.feed-avatar {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(11, 140, 240, 0.14);
  padding: 5px;
  background: #ffffff;
  font-family: 'Space Grotesk', 'Outfit', sans-serif;
  font-weight: 900;
}

.feed-avatar img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.feed-post-header strong,
.feed-post-header span {
  display: block;
}

.feed-post-header strong {
  color: var(--ink-strong);
  font-weight: 900;
}

.feed-post-header span {
  margin-top: 2px;
  color: #7a889d;
  font-size: 0.82rem;
  font-weight: 800;
}

.feed-post-copy {
  padding: 0 20px 14px;
}

.feed-post-copy h3 {
  margin: 0 0 8px;
  color: var(--ink-strong);
  font-family: 'Space Grotesk', 'Outfit', sans-serif;
  font-size: 1.22rem;
  line-height: 1.22;
}

.feed-post-copy p {
  margin: 0;
}

.fb-media-grid {
  display: grid;
  height: clamp(260px, 38vw, 430px);
  max-height: 430px;
  gap: 3px;
  overflow: hidden;
  background: #e7edf5;
}

.fb-media-grid figure {
  position: relative;
  margin: 0;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  background: #e5edf6;
}

.fb-media-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fb-media-more {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: rgba(17, 30, 50, 0.58);
  font-size: 2rem;
  font-weight: 900;
}

.fb-media-grid.image-count-1 {
  height: auto;
  max-height: none;
  background: #f3f7fb;
}

.fb-media-grid.image-count-1 figure {
  max-height: 520px;
}

.fb-media-grid.image-count-1 img {
  height: auto;
  max-height: 520px;
  object-fit: contain;
  background: #f3f7fb;
}

.fb-media-grid.image-count-2,
.fb-media-grid.image-count-4 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.fb-media-grid.image-count-3 {
  grid-template-columns: 1.2fr 0.8fr;
  grid-template-rows: repeat(2, minmax(0, 1fr));
}

.fb-media-grid.image-count-3 figure:first-child {
  grid-row: 1 / span 2;
}

.fb-media-grid.image-count-5 {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
}

.fb-media-grid.image-count-5 figure:nth-child(1),
.fb-media-grid.image-count-5 figure:nth-child(2) {
  grid-column: span 3;
}

.fb-media-grid.image-count-5 figure:nth-child(n+3) {
  grid-column: span 2;
}

.post-body {
  white-space: pre-line;
  overflow-wrap: anywhere;
}

.source-note {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  margin-top: 12px;
  border-radius: 8px;
  padding: 8px 10px;
  color: var(--team-blue-dark);
  background: var(--team-blue-soft);
  font-size: 0.8rem;
  font-weight: 900;
}

.post-social-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 20px;
  color: #7a889d;
  font-size: 0.82rem;
  font-weight: 800;
}

.post-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin: 0 20px 18px;
  padding-top: 12px;
  border-top: 1px solid rgba(28, 58, 98, 0.1);
}

.post-actions.has-source-link {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.post-reactions {
  color: #6d7c92;
  font-size: 0.82rem;
  font-weight: 900;
}

.read-more-btn,
.share-btn,
.like-btn,
.source-link-btn {
  min-height: 36px;
  padding: 7px 11px;
  font-size: 0.8rem;
}

.like-btn {
  border: 1px solid rgba(18, 111, 212, 0.18);
  border-radius: 8px;
  color: var(--team-blue-dark);
  background: #f7fbff;
  cursor: pointer;
  font-weight: 900;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.like-btn.is-liked {
  color: #ffffff;
  background: linear-gradient(135deg, var(--team-blue-dark), var(--team-blue));
  border-color: transparent;
}

.like-btn:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.source-link-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(11, 140, 240, 0.22);
  border-radius: 8px;
  color: var(--team-blue-dark);
  background: var(--team-blue-soft);
  cursor: pointer;
  font-weight: 900;
  text-align: center;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.source-link-btn:hover {
  border-color: rgba(11, 140, 240, 0.42);
  background: #dff1ff;
}

.mini-updates-card {
  display: grid;
  align-content: start;
  gap: 14px;
  min-width: 0;
  padding: 22px;
}

.mini-update {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  min-width: 0;
}

.mini-update > div {
  min-width: 0;
}

.mini-update + .mini-update {
  padding-top: 14px;
  border-top: 1px solid rgba(28, 58, 98, 0.09);
}

.mini-update-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--team-blue-dark), var(--team-blue));
  font-size: 0.74rem;
  font-weight: 900;
}

.mini-update:nth-child(2) .mini-update-icon {
  background: linear-gradient(135deg, var(--team-green), #5ed0a5);
}

.mini-update:nth-child(3) .mini-update-icon {
  background: linear-gradient(135deg, var(--team-pink-dark), var(--team-pink));
}

.mini-update h3 {
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.22;
  overflow-wrap: normal;
}

.mini-update time,
.event-preview-list time {
  display: inline-block;
  margin-top: 4px;
  color: #8895a8;
  font-size: 0.78rem;
  font-weight: 800;
}

.facebook-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  padding: 24px;
}

.facebook-links {
  display: grid;
  gap: 10px;
  margin-top: auto;
}

.facebook-links .btn {
  width: 100%;
  justify-content: flex-start;
  min-height: 46px;
  white-space: normal;
  text-align: left;
  line-height: 1.2;
}

.soft-illustration {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(11, 140, 240, 0.13), rgba(240, 6, 81, 0.06)),
    #f6faff;
}

.facebook-art {
  height: 112px;
  margin-bottom: 18px;
}

.facebook-art::before,
.calendar-art::before {
  content: "";
  position: absolute;
  inset: 16px 20px;
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(18, 111, 212, 0.22), transparent 55%),
    repeating-linear-gradient(90deg, rgba(18, 111, 212, 0.17) 0 15px, transparent 15px 27px);
}

.facebook-art::after {
  content: "";
  position: absolute;
  right: 22px;
  bottom: 18px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--team-blue-dark), var(--team-blue));
  opacity: 0.8;
}

.preview-section {
  padding-top: 20px;
}

.preview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.86fr);
  gap: 24px;
}

.preview-card {
  position: relative;
  min-height: 252px;
  overflow: hidden;
  padding: 28px;
}

.preview-card h2 {
  max-width: 480px;
  font-size: clamp(1.3rem, 2vw, 1.76rem);
}

.preview-card .outline-link {
  margin-top: 22px;
}

.gallery-strip {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 100%;
  margin-top: 24px;
}

.gallery-thumb {
  position: relative;
  width: 78px;
  height: 78px;
  margin: 0;
  overflow: hidden;
  border: 3px solid #ffffff;
  border-radius: 8px;
  background: #e6eef6;
  box-shadow: 0 10px 18px rgba(18, 49, 91, 0.15);
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-count {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: rgba(20, 34, 54, 0.58);
  font-weight: 900;
}

.calendar-art {
  position: absolute;
  right: 28px;
  bottom: 24px;
  width: 158px;
  height: 136px;
  transform: rotate(3deg);
}

.event-preview-list {
  position: relative;
  z-index: 1;
  width: min(340px, calc(100% - 174px));
  margin-top: 18px;
  display: grid;
  gap: 10px;
}

.event-preview {
  padding: 11px 13px;
  border: 1px solid rgba(28, 58, 98, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.76);
}

.event-preview h3 {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.2;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.team-card {
  display: grid;
  grid-template-columns: 144px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  padding: 20px;
}

.team-card img {
  width: 144px;
  height: 144px;
  border-radius: 8px;
  object-fit: cover;
  background: #eaf1f8;
}

.blue-side {
  border-left: 5px solid var(--team-blue);
}

.pink-side {
  border-left: 5px solid var(--team-pink);
}

.accent-side {
  border-left: 5px solid var(--team-pink);
}

.social-row {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

.social-row a {
  min-width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  padding: 0 8px;
  color: var(--team-blue-dark);
  background: var(--team-blue-soft);
  font-size: 0.78rem;
  font-weight: 900;
}

.pink-side .social-row a,
.accent-side .social-row a {
  color: var(--team-pink-dark);
  background: var(--team-pink-soft);
}

.values-section {
  padding-top: 24px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.values-grid article {
  min-height: 106px;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 22px;
}

.contact-section {
  padding: 26px clamp(28px, 5vw, 56px) 0;
}

.contact-content {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(310px, 0.62fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: center;
  border: 1px solid rgba(11, 140, 240, 0.16);
  border-radius: 8px;
  padding: clamp(34px, 5vw, 58px);
  background:
    linear-gradient(115deg, rgba(232, 245, 255, 0.98), rgba(255, 255, 255, 0.96)),
    #ffffff;
  box-shadow: var(--shadow-card);
}

.contact-content::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 46%;
  height: 96px;
  background:
    linear-gradient(to top, rgba(18, 111, 212, 0.11), transparent),
    repeating-linear-gradient(90deg, rgba(18, 111, 212, 0.12) 0 18px, transparent 18px 34px);
  opacity: 0.5;
  pointer-events: none;
}

.contact-actions {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 16px;
}

.contact-button {
  min-height: 58px;
  display: flex;
  align-items: center;
  border-radius: 8px;
  padding: 14px 20px;
  box-shadow: 0 12px 26px rgba(18, 49, 91, 0.1);
  font-weight: 900;
  transition: transform 160ms ease;
}

.blue-button {
  color: #ffffff;
  background: linear-gradient(135deg, var(--team-blue), #2a86eb);
}

.pink-button,
.accent-button {
  color: #ffffff;
  background: linear-gradient(135deg, var(--team-pink-dark), var(--team-pink));
}

.green-button {
  color: #ffffff;
  background: linear-gradient(135deg, #0f8b6f, var(--team-green));
}

.location-button {
  color: #4a5a70;
  background: #ffffff;
}

.site-footer {
  min-height: 96px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 22px clamp(28px, 5vw, 56px);
  color: #ffffff;
  background: linear-gradient(135deg, #06477e, #0b7bd1);
}

.site-footer p {
  margin: 0;
  font-size: 0.86rem;
  font-weight: 700;
  text-align: center;
}

.site-footer p:last-child {
  text-align: right;
}

.footer-brand strong,
.footer-brand small {
  color: #ffffff;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  font-size: 0.84rem;
  font-weight: 900;
}

.footer-links a {
  opacity: 0.9;
}

.footer-links a:hover {
  opacity: 1;
}

.admin-hotspot {
  position: fixed;
  left: 0;
  bottom: 0;
  z-index: 70;
  width: 26px;
  height: 26px;
  border: 0;
  opacity: 0;
  background: transparent;
  cursor: default;
}

.admin-hotspot:focus {
  outline: none;
}

.admin-modal[hidden] {
  display: none;
}

.admin-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 18px;
}

.admin-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 22, 40, 0.62);
  backdrop-filter: blur(8px);
}

.admin-login-panel {
  position: relative;
  z-index: 1;
  width: min(430px, 100%);
  padding: 26px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
}

.admin-login-panel h2 {
  font-size: 1.55rem;
}

.modal-copy {
  color: var(--ink-soft);
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  cursor: pointer;
  font-size: 1.35rem;
  line-height: 1;
}

.admin-login-form {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.admin-login-form label {
  display: grid;
  gap: 7px;
  color: var(--ink-soft);
  font-size: 0.88rem;
  font-weight: 900;
}

.admin-login-form input {
  width: 100%;
  border: 1px solid #cdd9e7;
  border-radius: 8px;
  padding: 12px;
  color: var(--ink-strong);
  background: #ffffff;
}

.login-error {
  border-radius: 8px;
  padding: 10px 12px;
  color: #8d1d2c;
  background: #ffe9ed;
  font-weight: 800;
}

.loading-card {
  min-height: 278px;
  display: grid;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.loading-card span {
  display: block;
  height: 18px;
  border-radius: 8px;
  background: linear-gradient(90deg, #e8edf4, #f8fafc, #e8edf4);
  background-size: 220% 100%;
  animation: shimmer 1200ms ease-in-out infinite;
}

.loading-card span:first-child {
  height: 132px;
}

.empty-state {
  padding: 24px;
}

.site-page {
  min-height: 72vh;
}

.page-hero {
  padding: clamp(52px, 7vw, 88px) clamp(28px, 5vw, 56px) clamp(34px, 5vw, 62px);
  background:
    linear-gradient(135deg, rgba(232, 245, 255, 0.95), rgba(255, 255, 255, 0.94)),
    #ffffff;
  border-bottom: 1px solid rgba(28, 58, 98, 0.08);
}

.page-hero-inner {
  width: min(1180px, 100%);
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(280px, 0.42fr);
  gap: clamp(26px, 5vw, 74px);
  align-items: center;
  margin: 0 auto;
}

.page-hero h1,
.story-copy h2,
.mission-panel h2,
.service-category-card h2,
.gallery-feature h2,
.contact-main-card h2,
.inquiry-layout h2,
.office-strip h2 {
  margin: 0;
  color: var(--ink-strong);
  font-family: 'Space Grotesk', 'Outfit', sans-serif;
  letter-spacing: 0;
  line-height: 1.05;
}

.page-hero h1 {
  max-width: 760px;
  font-size: clamp(2.4rem, 5.6vw, 4.85rem);
}

.page-hero p:not(.eyebrow) {
  max-width: 660px;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.4vw, 1.16rem);
}

.page-hero-aside,
.service-summary-panel,
.update-guide-card,
.contact-callout {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-soft);
}

.logo-aside {
  display: grid;
  place-items: center;
  min-height: 260px;
  padding: 34px;
}

.logo-aside img {
  width: min(250px, 76%);
  aspect-ratio: 1;
  object-fit: contain;
}

.link-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}

.inline-page-link {
  display: inline-flex;
  margin-top: 14px;
  color: var(--team-blue-dark);
  font-weight: 900;
}

.preview-panel,
.story-copy,
.story-facts,
.mission-panel,
.vision-list article,
.service-summary-panel,
.service-category-card,
.process-lane article,
.update-guide-card,
.updates-sidebar,
.album-card,
.team-profile,
.role-grid article,
.contact-main-card,
.contact-help-panel,
.inquiry-layout {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-soft);
}

.split-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(280px, 0.48fr);
  gap: 28px;
  align-items: center;
  padding: clamp(26px, 5vw, 46px);
}

.split-panel h2,
.story-copy h2,
.mission-panel h2,
.contact-main-card h2 {
  font-size: clamp(1.65rem, 3vw, 2.65rem);
}

.notice-stack {
  display: grid;
  gap: 12px;
}

.notice-stack article {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  border: 1px solid rgba(11, 140, 240, 0.12);
  border-radius: 8px;
  padding: 14px;
  background: var(--team-blue-soft);
}

.notice-stack span,
.process-lane span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #ffffff;
  background: var(--team-blue);
  font-weight: 900;
}

.static-gallery-strip,
.mini-team-row {
  display: flex;
  gap: 10px;
  margin-top: 22px;
}

.static-gallery-strip img,
.mini-team-row img {
  width: 86px;
  height: 86px;
  border: 3px solid #ffffff;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 10px 18px rgba(18, 49, 91, 0.16);
}

.static-gallery-strip img:last-child,
.mini-team-row img:last-child {
  border-color: #ffe0ea;
  background: var(--team-pink-soft);
  box-shadow: 0 10px 18px rgba(175, 6, 61, 0.14);
}

.story-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(280px, 0.38fr);
  gap: 24px;
  align-items: stretch;
}

.story-copy {
  padding: clamp(26px, 5vw, 44px);
}

.story-copy p {
  color: var(--ink-soft);
}

.story-facts {
  display: grid;
  align-content: center;
  gap: 16px;
  padding: 26px;
  border-top: 5px solid var(--team-blue);
}

.story-facts span {
  display: block;
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-weight: 900;
}

.story-facts strong {
  display: block;
  margin-top: 4px;
}

.mission-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.48fr) minmax(0, 0.72fr);
  gap: 24px;
}

.mission-panel {
  padding: clamp(26px, 4vw, 40px);
  background: linear-gradient(135deg, var(--team-blue-dark), var(--team-blue));
}

.mission-panel .eyebrow,
.mission-panel h2,
.mission-panel p {
  color: #ffffff;
}

.vision-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.vision-list article {
  padding: 22px;
}

.service-summary-panel,
.update-guide-card,
.contact-callout {
  display: grid;
  gap: 8px;
  padding: 24px;
  border-top: 5px solid var(--team-blue);
}

.service-summary-panel span,
.update-guide-card span,
.contact-callout span {
  color: var(--ink-soft);
  font-weight: 800;
}

.service-catalog {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.58fr);
  gap: 18px;
}

.service-category-card {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 24px;
}

.service-category-card.priority {
  grid-row: span 3;
  grid-template-columns: 1fr;
  align-content: start;
  padding: clamp(28px, 4vw, 44px);
  border-top: 5px solid var(--team-blue);
}

.clean-list,
.clean-steps {
  margin: 18px 0 0;
  padding-left: 18px;
  color: var(--ink-soft);
  font-weight: 700;
}

.process-lane {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.process-lane article {
  display: grid;
  gap: 10px;
  padding: 22px;
}

.office-strip,
.inquiry-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(24px, 4vw, 34px);
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.section-band.office-strip {
  width: min(var(--content-max), calc(100% - (var(--section-pad-x) * 2)));
  margin-bottom: var(--section-pad-y);
}

.strip-actions,
.profile-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.dedicated-updates-layout {
  grid-template-columns: minmax(0, 960px);
  justify-content: center;
  gap: 0;
}

@media (min-width: 901px) {
  .updates-page-section .fb-media-grid {
    height: clamp(340px, 42vw, 560px);
    max-height: 560px;
  }

  .updates-page-section .fb-media-grid.image-count-1 figure,
  .updates-page-section .fb-media-grid.image-count-1 img {
    max-height: 660px;
  }
}

.updates-sidebar {
  display: grid;
  gap: 18px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.updates-sidebar .mini-updates-card,
.updates-sidebar .facebook-card {
  width: 100%;
}

.updates-sidebar .facebook-card {
  grid-column: auto;
  display: flex;
  min-width: 0;
}

.updates-sidebar .facebook-art {
  height: 132px;
  margin-bottom: 4px;
}

.updates-sidebar .facebook-card h3,
.updates-sidebar .facebook-card p {
  max-width: 100%;
}

.gallery-feature {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow-card);
}

.gallery-feature img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.gallery-masonry {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 14px;
}

.gallery-masonry:empty::before {
  content: "Uploaded post photos will appear here once public posts include images.";
  display: block;
  grid-column: 1 / -1;
  border: 1px dashed rgba(11, 140, 240, 0.25);
  border-radius: 8px;
  padding: 24px;
  color: var(--ink-soft);
  background: #ffffff;
  font-weight: 800;
}

.gallery-masonry .gallery-thumb {
  width: 100%;
  height: 180px;
  border-width: 0;
}

.album-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) repeat(2, minmax(220px, 0.5fr));
  gap: 18px;
}

.album-card {
  overflow: hidden;
}

.album-card.princess-card {
  border-color: rgba(240, 6, 81, 0.18);
  background:
    linear-gradient(135deg, rgba(255, 241, 245, 0.98), rgba(255, 255, 255, 0.94)),
    #ffffff;
}

.album-card.princess-card img {
  background: var(--team-pink-soft);
}

.album-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.album-card.large img {
  height: 320px;
}

.album-card div,
.album-card h3 {
  padding: 18px;
}

.team-hero-photos,
.team-directory {
  display: grid;
  gap: 18px;
}

.team-hero-photos {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.team-hero-photos img {
  width: 100%;
  height: 260px;
  border: 7px solid #ffffff;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: var(--shadow-soft);
}

.team-hero-photos img:last-child {
  background: var(--team-pink-soft);
  border-color: #ffe0ea;
  box-shadow: 0 18px 36px rgba(175, 6, 61, 0.14);
}

.team-profile {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  padding: 24px;
  border-left: 5px solid var(--team-blue);
}

.team-profile.accent-profile {
  border-left-color: var(--team-pink);
  background:
    linear-gradient(135deg, rgba(255, 241, 245, 0.98), rgba(255, 255, 255, 0.96)),
    #ffffff;
  border-color: rgba(240, 6, 81, 0.16);
}

.team-profile.accent-profile img {
  background: var(--team-pink-soft);
}

.team-profile.accent-profile .outline-link {
  border-color: rgba(240, 6, 81, 0.24);
  color: var(--team-pink-dark);
}

.team-profile img {
  width: 240px;
  height: 240px;
  border-radius: 8px;
  object-fit: cover;
}

.team-profile h2 {
  margin: 0;
  font-family: 'Space Grotesk', 'Outfit', sans-serif;
  font-size: clamp(1.5rem, 2.3vw, 2.2rem);
}

.role-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.role-grid article {
  display: grid;
  gap: 8px;
  padding: 22px;
}

.role-grid span {
  color: var(--ink-soft);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.74fr) minmax(280px, 0.38fr);
  gap: 22px;
}

.contact-main-card,
.contact-help-panel {
  padding: clamp(24px, 4vw, 38px);
}

.contact-help-panel h3 {
  margin: 0;
  font-family: 'Space Grotesk', 'Outfit', sans-serif;
}

.section-band + .section-band {
  padding-top: 0;
}

.compact-band + .section-band {
  padding-top: clamp(28px, 3.6vw, 42px);
}

@keyframes shimmer {
  from {
    background-position: 220% 0;
  }

  to {
    background-position: -220% 0;
  }
}

@media (max-width: 1120px) {
  .hero-shell {
    width: min(100% - 44px, 1120px);
    padding-top: 74px;
  }

  .hero-portraits {
    right: 28px;
  }

  .hero-portraits img {
    width: 128px;
    height: 156px;
  }

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

  .updates-layout {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
  }

  .dedicated-updates-layout {
    grid-template-columns: minmax(0, 960px);
    justify-content: center;
  }

  .facebook-card {
    grid-column: 1 / -1;
    min-height: 180px;
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr) auto;
    gap: 20px;
    align-items: center;
  }

  .facebook-art {
    height: 116px;
    margin-bottom: 0;
  }

  .updates-sidebar .facebook-card {
    display: flex;
    min-height: 0;
  }

  .updates-sidebar .facebook-art {
    height: 118px;
    margin-bottom: 4px;
  }
}

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
    min-height: auto;
    flex-direction: column;
    gap: 12px;
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .site-nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 5px;
  }

  .hero-section {
    min-height: 820px;
  }

  .hero-bg {
    height: 580px;
  }

  .hero-card {
    min-height: 0;
  }

  .hero-portraits {
    left: 32px;
    right: auto;
    bottom: -120px;
  }

  .hero-wave {
    bottom: -86px;
    height: 160px;
  }

  .about-section {
    padding-top: 184px;
  }

  .section-split,
  .feed-tools,
  .page-hero-inner,
  .story-layout,
  .mission-layout,
  .service-catalog,
  .split-panel,
  .dedicated-updates-layout,
  .album-grid,
  .contact-grid,
  .contact-content {
    grid-template-columns: 1fr;
  }

  .dedicated-updates-layout {
    gap: 20px;
  }

  .updates-page-section .updates-title {
    grid-template-columns: 1fr;
  }

  .updates-page-section .search-field {
    width: 100%;
    justify-self: stretch;
  }

  .updates-page-section .filter-row {
    justify-content: flex-start;
  }

  .section-split > p {
    margin-top: 0;
  }

  .info-card-grid,
  .team-grid,
  .values-grid,
  .vision-list,
  .process-lane,
  .role-grid,
  .preview-grid,
  .updates-layout {
    grid-template-columns: 1fr;
  }

  .public-post-highlight {
    grid-row: auto;
  }

  .facebook-card {
    grid-column: auto;
    grid-template-columns: 1fr;
  }

  .updates-sidebar .facebook-card {
    padding: 22px;
  }

  .calendar-art {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: 20px;
  }

  .event-preview-list {
    width: 100%;
  }

  .site-footer {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .site-footer p,
  .site-footer p:last-child {
    text-align: left;
  }
  
  .hero-portraits img {
    width: 110px;
    height: 135px;
  }
}

@media (max-width: 640px) {
  :root {
    --section-pad-x: 22px;
    --section-pad-y: 58px;
  }

  html {
    scroll-padding-top: 142px;
  }

  .section-band,
  .contact-section {
    padding-left: var(--section-pad-x);
    padding-right: var(--section-pad-x);
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    min-height: auto;
    padding: 14px 0 12px;
  }

  .site-brand {
    width: 100%;
    padding-inline: var(--section-pad-x);
  }

  .brand-logo-button,
  .brand-logo-frame {
    width: 46px;
    height: 46px;
  }

  .site-brand strong,
  .site-brand-copy strong {
    font-size: 1rem;
  }

  .site-brand small,
  .site-brand-copy small {
    font-size: 0.74rem;
  }

  #about,
  #services,
  #updates,
  #updates-feed,
  #gallery,
  #team,
  #contact,
  .feed-post-card {
    scroll-margin-top: 142px;
  }

  .page-hero {
    padding: 44px var(--section-pad-x) 38px;
    overflow: hidden;
  }

  .site-nav {
    width: 100%;
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 8px;
    align-self: stretch;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0 var(--section-pad-x) 4px;
    white-space: nowrap;
    scroll-padding-inline: var(--section-pad-x);
    scrollbar-width: none;
  }

  .site-nav::-webkit-scrollbar {
    display: none;
  }

  .site-nav a {
    flex: 0 0 auto;
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(18, 111, 212, 0.08);
    font-size: 0.82rem;
    font-weight: 800;
    padding: 0 16px;
    text-align: center;
  }

  .site-nav .nav-cta {
    width: auto;
    color: #ffffff;
    background: linear-gradient(135deg, var(--team-blue-dark), var(--team-blue));
  }

  .site-nav a.is-active::after {
    display: none;
  }

  .hero-shell {
    width: calc(100% - 44px);
    padding-top: 34px;
  }

  .hero-card {
    padding: 28px 24px;
  }

  .hero-card h1 {
    max-width: 7.8ch;
    font-size: clamp(2.25rem, 10.5vw, 2.72rem);
    line-height: 1.02;
    overflow-wrap: normal;
  }

  .page-hero-inner,
  .section-split,
  .section-heading,
  .feed-tools,
  .updates-layout,
  .preview-grid,
  .contact-content,
  .story-layout,
  .mission-layout,
  .service-catalog,
  .split-panel,
  .album-grid,
  .contact-grid,
  .team-directory,
  .role-grid,
  .public-post-highlight,
  .updates-sidebar {
    max-width: 100%;
    min-width: 0;
  }

  .section-split,
  .section-heading {
    gap: 18px;
    margin-bottom: 28px;
  }

  .section-heading h2 {
    max-width: 100%;
  }

  .page-hero h1 {
    max-width: 100%;
    font-size: clamp(1.95rem, 8.2vw, 2.45rem);
    line-height: 1.12;
    overflow-wrap: anywhere;
  }

  .page-hero p:not(.eyebrow),
  .update-guide-card,
  .service-summary-panel,
  .contact-callout,
  .pinned-strip h3 {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .hero-copy,
  .section-split p,
  .feature-card p,
  .service-card p,
  .feed-post-card p,
  .team-card p,
  .values-grid p,
  .contact-content p {
    overflow-wrap: anywhere;
    line-height: 1.62;
  }

  .hero-actions .btn {
    width: 100%;
    min-height: 52px;
  }

  .hero-meta span {
    width: 100%;
    min-height: 36px;
    padding: 9px 12px;
  }

  .hero-portraits {
    left: 16px;
    gap: 8px;
    bottom: -100px;
  }

  .hero-wave {
    left: 0;
    right: 0;
  }

  .hero-portraits img {
    width: 95px;
    height: 118px;
    border-width: 4px;
  }

  .hero-section {
    min-height: 760px;
  }
  
  .hero-bg {
    height: 520px;
  }

  .info-card-grid,
  .service-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .feature-card,
  .values-grid article,
  .team-card,
  .service-category-card,
  .team-profile {
    grid-template-columns: 1fr;
  }

  .feature-card,
  .service-card,
  .preview-card,
  .values-grid article,
  .mini-updates-card,
  .facebook-card,
  .updates-sidebar .facebook-card,
  .feed-post-card,
  .contact-content {
    border-radius: 10px;
  }

  .feature-card,
  .service-card,
  .values-grid article {
    padding: 30px 24px;
  }

  .preview-card,
  .contact-content {
    padding: 30px 24px;
  }

  .team-profile img {
    width: 100%;
    height: 240px;
  }

  .office-strip,
  .inquiry-layout,
  .link-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .strip-actions,
  .strip-actions .btn,
  .profile-actions,
  .profile-actions .outline-link {
    width: 100%;
  }

  .team-card img {
    width: 100%;
    height: 220px;
  }

  .pinned-strip {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 24px;
  }

  .fb-media-grid {
    height: clamp(220px, 72vw, 320px);
  }

  .fb-media-grid.image-count-1 img {
    max-height: 420px;
  }

  .post-actions,
  .post-actions.has-source-link {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .filter-chip {
    flex: 0 0 auto;
    min-width: max-content;
    min-height: 48px;
    padding-inline: 18px;
  }
  
  .filter-row {
    flex-wrap: nowrap;
    gap: 8px;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 4px;
    scroll-padding-inline: 2px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .filter-row::-webkit-scrollbar {
    display: none;
  }

  .updates-page-section .filter-row {
    justify-content: flex-start;
  }
  
  .search-field input {
    min-height: 50px;
  }

  .mini-updates-card,
  .facebook-card,
  .updates-sidebar .facebook-card {
    padding: 22px;
  }

  .mini-updates-card h3,
  .facebook-card h3 {
    line-height: 1.18;
  }

  .mini-update {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 10px;
  }

  .mini-update-icon {
    width: 36px;
    height: 36px;
  }

  .gallery-strip {
    flex-wrap: wrap;
  }

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

  .gallery-masonry .gallery-thumb {
    width: 100%;
    max-width: 100%;
    margin: 0;
  }

  .site-footer {
    position: relative;
    overflow: hidden;
    gap: 18px;
    padding: 30px var(--section-pad-x) 32px;
    text-align: center;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.1), transparent 42%),
      linear-gradient(135deg, #06477e, #0b7bd1);
  }

  .site-footer::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: linear-gradient(90deg, var(--team-blue), #ffffff, var(--team-pink));
    opacity: 0.85;
  }

  .site-footer .footer-brand {
    width: 100%;
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    padding: 14px;
    background: rgba(255, 255, 255, 0.1);
    text-align: left;
    backdrop-filter: blur(12px);
  }

  .site-footer .brand-logo-frame {
    width: 52px;
    height: 52px;
    box-shadow: none;
  }

  .site-footer .footer-brand strong {
    font-size: 1.08rem;
  }

  .site-footer .footer-brand small {
    margin-top: 4px;
    font-size: 0.78rem;
    opacity: 0.9;
  }

  .footer-links {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }

  .footer-links a {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.09);
    opacity: 1;
  }

  .site-footer p,
  .site-footer p:last-child {
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    padding-top: 16px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.82rem;
    line-height: 1.5;
    text-align: center;
  }

  .contact-actions {
    width: 100%;
  }

  .contact-button {
    width: 100%;
    min-width: 0;
  }
  
  .btn, .outline-link, .contact-button, .filter-chip {
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }
}

@media (max-width: 480px) {
  :root {
    --section-pad-x: 22px;
    --section-pad-y: 60px;
  }

  .hero-portraits img {
    width: 75px;
    height: 94px;
  }
  
  .hero-portraits {
    gap: 6px;
    left: 12px;
    bottom: -80px;
  }
  
  .hero-section {
    min-height: 748px;
  }
  
  .hero-card {
    padding: 26px 22px;
  }
  
  .hero-card h1 {
    font-size: clamp(2.08rem, 9.4vw, 2.45rem);
  }
  
  .hero-role {
    font-size: 0.95rem;
    line-height: 1.45;
  }
  
  .hero-copy {
    font-size: 0.94rem;
    line-height: 1.65;
  }
  
  .section-split h2,
  .section-heading h2,
  .preview-card h2,
  .contact-content h2 {
    font-size: clamp(1.58rem, 7vw, 1.78rem);
    line-height: 1.18;
  }
  
  .feature-card {
    padding: 28px 22px;
  }
  
  .service-card {
    padding: 28px 22px;
  }
  
  .static-gallery-strip img,
  .mini-team-row img {
    width: 65px;
    height: 65px;
  }
  
  .pinned-strip {
    padding: 22px;
  }
  
  .pinned-strip h3 {
    font-size: 1.26rem;
    line-height: 1.18;
  }
  
  .facebook-links .btn {
    font-size: 0.82rem;
    padding: 10px 12px;
  }
  
  .site-footer {
    padding: 30px 22px 34px;
  }
  
  .footer-links {
    gap: 8px;
  }
}
