@import url('https://fonts.googleapis.com/css2?family=Fraunces:wght@400;600;700;900&family=Commissioner:wght@300;400;500;600&display=swap');

:root {
  --hub-primary: #8B7355;
  --hub-secondary: #A69076;
  --hub-accent: #C17817;
  --hub-background: #FAF8F5;
  --hub-surface: #FFFFFF;
  --hub-text: #3D3428;
  --hub-text-light: #7A7060;
  --hub-border: #E5DDD0;
  --hub-hero-overlay: linear-gradient(155deg, rgba(139, 115, 85, 0.85), rgba(166, 144, 118, 0.5));
  --hub-shadow: 0 22px 60px rgba(61, 52, 40, 0.12);
  --hub-shadow-soft: 0 12px 36px rgba(139, 115, 85, 0.12);
  --hub-radius-card: 28px 42px 30px 48px / 36px 26px 44px 34px;
  --hub-radius-blob: 30% 70% 70% 30% / 30% 30% 70% 70%;
  --hub-radius-button: 20px 28px 18px 30px / 16px 24px 20px 26px;
  --hub-max-width: 1240px;
  --hub-nav-height: 84px;
  --hub-paper-texture:
    repeating-linear-gradient(
      115deg,
      rgba(139, 115, 85, 0.03) 0,
      rgba(139, 115, 85, 0.03) 2px,
      transparent 2px,
      transparent 12px
    );
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Commissioner', sans-serif;
  font-weight: 400;
  color: var(--hub-text);
  background:
    radial-gradient(circle at top left, rgba(193, 120, 23, 0.09), transparent 28%),
    radial-gradient(circle at right 10% top 20%, rgba(166, 144, 118, 0.12), transparent 22%),
    var(--hub-paper-texture),
    var(--hub-background);
  line-height: 1.65;
}

body.hub-menu-open {
  overflow: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 0.6em;
  font-family: 'Fraunces', serif;
  font-weight: 700;
  color: var(--hub-primary);
  letter-spacing: -0.03em;
  line-height: 1.05;
}

p {
  margin: 0 0 1.1rem;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.fade-in {
  opacity: 0;
  transform: translateY(30px) rotate(-1deg);
  transition:
    opacity 0.7s ease,
    transform 0.8s ease;
}

.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0) rotate(0deg);
}

.hub-shell {
  width: min(100% - 2rem, var(--hub-max-width));
  margin: 0 auto;
}

.hub-wave-divider {
  position: relative;
  height: 90px;
  overflow: hidden;
  color: var(--hub-surface);
}

.hub-wave-divider svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.hub-page {
  position: relative;
  overflow: clip;
}

.hub-badge,
.hub-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 1rem;
  border: 2px dashed rgba(193, 120, 23, 0.35);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--hub-accent);
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hub-link {
  color: var(--hub-accent);
  font-weight: 600;
}

.hub-link:hover,
.hub-link:focus-visible {
  color: var(--hub-primary);
}

.hub-button,
.hub-button-secondary,
.hub-button-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 50px;
  padding: 0.85rem 1.45rem;
  border-radius: var(--hub-radius-button);
  border: 2px solid transparent;
  font-weight: 600;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
  cursor: pointer;
}

.hub-button {
  background: var(--hub-accent);
  color: var(--hub-surface);
  box-shadow: var(--hub-shadow-soft);
}

.hub-button-secondary {
  background: var(--hub-primary);
  color: var(--hub-surface);
}

.hub-button-ghost {
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(139, 115, 85, 0.25);
  color: var(--hub-primary);
}

.hub-button:hover,
.hub-button-secondary:hover,
.hub-button-ghost:hover,
.hub-button:focus-visible,
.hub-button-secondary:focus-visible,
.hub-button-ghost:focus-visible {
  transform: translateY(-2px) rotate(-1deg);
}

.hub-site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  pointer-events: none;
}

.hub-nav {
  pointer-events: auto;
  width: min(100% - 1.2rem, var(--hub-max-width));
  margin: 0.9rem auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--hub-nav-height);
  padding: 0.9rem 1rem 0.9rem 1.2rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(250, 248, 245, 0.08);
  backdrop-filter: blur(16px);
  transition:
    background-color 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease;
}

.hub-nav.is-scrolled {
  background: rgba(250, 248, 245, 0.96);
  border-color: rgba(139, 115, 85, 0.14);
  box-shadow: 0 18px 50px rgba(61, 52, 40, 0.14);
}

.hub-nav:hover {
  transform: translateY(-1px);
}

.hub-nav-brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  min-width: 0;
}

.hub-nav-seal {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: var(--hub-radius-blob);
  background:
    linear-gradient(145deg, rgba(193, 120, 23, 0.2), rgba(139, 115, 85, 0.18)),
    var(--hub-surface);
  border: 2px dashed rgba(139, 115, 85, 0.28);
  color: var(--hub-primary);
  font-family: 'Fraunces', serif;
  font-size: 1.15rem;
  font-weight: 900;
}

.hub-nav-title {
  display: flex;
  flex-direction: column;
}

.hub-nav-title strong {
  font-family: 'Fraunces', serif;
  font-size: 1rem;
  line-height: 1.1;
}

.hub-nav-title span {
  color: var(--hub-text-light);
  font-size: 0.84rem;
}

.hub-nav-links {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.hub-nav-links a,
.hub-lang-toggle {
  padding: 0.7rem 1rem;
  border-radius: 999px;
  color: var(--hub-text);
  font-weight: 500;
}

.hub-nav-links a:hover,
.hub-nav-links a:focus-visible,
.hub-lang-toggle:hover,
.hub-lang-toggle:focus-visible {
  background: rgba(139, 115, 85, 0.1);
  color: var(--hub-primary);
}

.hub-nav-tools {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.hub-lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border: 1px solid rgba(139, 115, 85, 0.18);
  background: rgba(255, 255, 255, 0.72);
  cursor: pointer;
}

.hub-menu-toggle {
  display: none;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 1px solid rgba(139, 115, 85, 0.18);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.84);
  color: var(--hub-primary);
  cursor: pointer;
}

.hub-menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 0 auto;
  background: currentColor;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

.hub-menu-toggle span + span {
  margin-top: 5px;
}

.hub-menu-toggle[aria-expanded='true'] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hub-menu-toggle[aria-expanded='true'] span:nth-child(2) {
  opacity: 0;
}

.hub-menu-toggle[aria-expanded='true'] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hub-announcement {
  position: relative;
  z-index: 3;
  margin: -2rem auto 0;
}

.hub-announcement-bar {
  width: min(100% - 2rem, calc(var(--hub-max-width) - 4rem));
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem 1.2rem;
  border-radius: 26px 42px 26px 40px / 24px 30px 22px 34px;
  background: linear-gradient(135deg, rgba(193, 120, 23, 0.15), rgba(255, 255, 255, 0.94));
  border: 2px dashed rgba(193, 120, 23, 0.32);
  box-shadow: var(--hub-shadow-soft);
}

.hub-announcement-bar strong {
  font-family: 'Fraunces', serif;
  color: var(--hub-accent);
}

.hub-hero {
  position: relative;
  min-height: 100svh;
  padding: 8.4rem 0 5rem;
  background:
    var(--hub-hero-overlay),
    url('images/hero-1.jpg') center/cover no-repeat;
  color: var(--hub-surface);
}

.hub-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(255, 255, 255, 0.12), transparent 20%),
    radial-gradient(circle at 80% 10%, rgba(193, 120, 23, 0.16), transparent 24%),
    linear-gradient(180deg, rgba(61, 52, 40, 0.05), rgba(61, 52, 40, 0.28));
}

.hub-hero-shell {
  position: relative;
  z-index: 1;
  width: min(100% - 2rem, var(--hub-max-width));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 2rem;
  align-items: center;
}

.hub-hero-copy {
  position: relative;
  display: grid;
  gap: 1.35rem;
  padding: 2rem 0 3rem;
}

.hub-hero-copy h1 {
  max-width: 11ch;
  margin: 0;
  color: var(--hub-surface);
  font-size: clamp(3.2rem, 6vw, 6.3rem);
}

.hub-hero-copy p {
  max-width: 36rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.08rem;
}

.hub-hero-ribbon {
  position: absolute;
  top: 0.4rem;
  left: min(44ch, 64%);
  max-width: 240px;
  padding: 0.95rem 1rem;
  border-radius: var(--hub-radius-card);
  background: rgba(255, 255, 255, 0.12);
  border: 1px dashed rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(8px);
  color: rgba(255, 255, 255, 0.94);
  font-size: 0.92rem;
}

.hub-hero-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.8rem;
  max-width: 680px;
  margin-top: 0.6rem;
  padding: 0.7rem;
  border-radius: 26px 34px 22px 40px / 20px 32px 24px 36px;
  background: rgba(250, 248, 245, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(14px);
}

.hub-hero-search input,
.hub-hero-search select {
  width: 100%;
  min-height: 54px;
  padding: 0 1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--hub-text);
}

.hub-hero-collage {
  display: grid;
  grid-template-columns: 0.95fr 1.2fr;
  grid-template-rows: 180px 150px 190px;
  gap: 1rem;
  align-items: stretch;
}

.hub-hero-card {
  position: relative;
  overflow: hidden;
  min-height: 100%;
  border: 2px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--hub-radius-card);
  box-shadow: var(--hub-shadow);
}

.hub-hero-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hub-hero-card::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 45%;
  background: linear-gradient(180deg, transparent, rgba(61, 52, 40, 0.56));
}

.hub-hero-card:nth-child(1) {
  grid-row: 1 / span 2;
  border-radius: 36% 64% 40% 60% / 38% 36% 64% 62%;
}

.hub-hero-card:nth-child(2) {
  grid-row: 1;
  border-radius: 30% 70% 67% 33% / 47% 37% 63% 53%;
}

.hub-hero-card:nth-child(3) {
  grid-column: 2;
  grid-row: 2 / span 2;
  border-radius: 60% 40% 29% 71% / 39% 56% 44% 61%;
}

.hub-hero-card:nth-child(4) {
  grid-column: 1;
  grid-row: 3;
  border-radius: 32% 68% 56% 44% / 51% 44% 56% 49%;
}

.hub-hero-note {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  max-width: 13rem;
  padding: 0.8rem 0.95rem;
  border-radius: 20px;
  background: rgba(250, 248, 245, 0.18);
  backdrop-filter: blur(12px);
  color: var(--hub-surface);
  font-size: 0.9rem;
}

.hub-main {
  position: relative;
}

.hub-strand {
  position: relative;
  padding: 5rem 0;
}

.hub-strand::before {
  content: '';
  position: absolute;
  inset: 1rem auto auto 2%;
  width: 170px;
  height: 170px;
  border-radius: var(--hub-radius-blob);
  background: rgba(166, 144, 118, 0.08);
  filter: blur(2px);
  pointer-events: none;
}

.hub-strand-alt {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.9)),
    var(--hub-paper-texture);
}

.hub-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.8rem;
}

.hub-section-heading h2 {
  max-width: 12ch;
  font-size: clamp(2rem, 4vw, 3.3rem);
}

.hub-section-heading p {
  max-width: 34rem;
  color: var(--hub-text-light);
}

.hub-programs-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(280px, 32%);
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: 0.8rem;
  scrollbar-width: thin;
  scrollbar-color: var(--hub-secondary) rgba(139, 115, 85, 0.08);
}

.hub-program-card {
  background: var(--hub-surface);
  border: 1px solid var(--hub-border);
  border-radius: 26px 44px 28px 40px / 28px 24px 38px 34px;
  overflow: hidden;
  box-shadow: var(--hub-shadow-soft);
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease;
}

.hub-program-card:hover {
  transform: translateY(-6px) rotate(-1deg);
  box-shadow: 0 24px 54px rgba(61, 52, 40, 0.16);
}

.hub-program-media {
  position: relative;
  min-height: 260px;
  background-size: cover;
  background-position: center;
}

.hub-program-media::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 45%;
  background: linear-gradient(180deg, transparent, rgba(61, 52, 40, 0.62));
}

.hub-program-body {
  padding: 1.3rem;
}

.hub-program-body h3 {
  margin-bottom: 0.4rem;
  font-size: 1.45rem;
}

.hub-program-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1rem;
  color: var(--hub-text-light);
  font-size: 0.92rem;
}

.hub-story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
  gap: 1.4rem;
}

.hub-feature-story,
.hub-events-board,
.hub-impact-panel,
.hub-quote-card,
.hub-partner-card,
.hub-blog-item,
.hub-footer-card {
  background: var(--hub-surface);
  border: 1px solid var(--hub-border);
  box-shadow: var(--hub-shadow-soft);
}

.hub-feature-story {
  overflow: hidden;
  border-radius: 34px 56px 34px 48px / 36px 30px 46px 38px;
}

.hub-feature-visual {
  min-height: 360px;
  background:
    linear-gradient(180deg, transparent, rgba(61, 52, 40, 0.55)),
    url('images/community-2.jpg') center/cover no-repeat;
}

.hub-feature-body {
  padding: 1.5rem;
}

.hub-events-board {
  padding: 1.3rem;
  border-radius: 28px 38px 24px 42px / 24px 34px 26px 36px;
}

.hub-event-item + .hub-event-item {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px dashed var(--hub-border);
}

.hub-event-date {
  display: inline-block;
  margin-bottom: 0.5rem;
  color: var(--hub-accent);
  font-weight: 700;
}

.hub-impact-layout {
  display: grid;
  gap: 1.4rem;
}

.hub-impact-panel {
  display: grid;
  grid-template-columns: minmax(240px, 0.85fr) minmax(0, 1.15fr);
  gap: 1.3rem;
  align-items: center;
  padding: 1rem;
  border-radius: 34px 48px 30px 54px / 26px 34px 36px 44px;
}

.hub-impact-panel:nth-child(even) {
  grid-template-columns: minmax(0, 1.15fr) minmax(240px, 0.85fr);
}

.hub-impact-panel:nth-child(even) .hub-impact-media {
  order: 2;
}

.hub-impact-media {
  min-height: 260px;
  border-radius: var(--hub-radius-blob);
  background-size: cover;
  background-position: center;
}

.hub-impact-copy {
  padding: 0.8rem 0.5rem;
}

.hub-impact-statline {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1rem;
}

.hub-impact-stat {
  min-width: 140px;
}

.hub-impact-stat strong {
  display: block;
  margin-bottom: 0.2rem;
  font-family: 'Fraunces', serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: var(--hub-accent);
}

.hub-involved {
  position: relative;
  overflow: hidden;
}

.hub-involved-wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 1.4rem;
  align-items: stretch;
  padding: 2rem;
  border-radius: 44px 72px 40px 68px / 32px 40px 48px 54px;
  background:
    linear-gradient(135deg, rgba(139, 115, 85, 0.96), rgba(166, 144, 118, 0.92)),
    url('images/community-4.jpg') center/cover no-repeat;
  color: var(--hub-surface);
  box-shadow: var(--hub-shadow);
}

.hub-involved-wrap h2,
.hub-involved-wrap h3 {
  color: var(--hub-surface);
}

.hub-involved-copy p {
  color: rgba(255, 255, 255, 0.84);
}

.hub-involved-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.hub-action-card {
  min-height: 180px;
  padding: 1.25rem;
  border-radius: 28px 44px 30px 42px / 22px 34px 28px 40px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px dashed rgba(255, 255, 255, 0.32);
  transition:
    transform 0.22s ease,
    background-color 0.22s ease;
}

.hub-action-card:hover {
  transform: rotate(-1deg) translateY(-4px);
  background: rgba(255, 255, 255, 0.18);
}

.hub-photo-essay {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 0.85fr;
  gap: 1rem;
}

.hub-photo-frame {
  min-height: 220px;
  overflow: hidden;
  border: 2px dashed rgba(139, 115, 85, 0.18);
  background: var(--hub-surface);
  box-shadow: var(--hub-shadow-soft);
}

.hub-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hub-photo-frame:nth-child(1) {
  grid-row: 1 / span 2;
  min-height: 470px;
  border-radius: 34% 66% 30% 70% / 41% 33% 67% 59%;
}

.hub-photo-frame:nth-child(2) {
  border-radius: 62% 38% 42% 58% / 46% 64% 36% 54%;
}

.hub-photo-frame:nth-child(3) {
  border-radius: 31% 69% 62% 38% / 62% 41% 59% 38%;
}

.hub-photo-frame:nth-child(4) {
  grid-column: 2;
  border-radius: 57% 43% 65% 35% / 48% 55% 45% 52%;
}

.hub-photo-frame:nth-child(5) {
  border-radius: 40% 60% 44% 56% / 33% 62% 38% 67%;
}

.hub-photo-frame:nth-child(6) {
  border-radius: 54% 46% 33% 67% / 59% 38% 62% 41%;
}

.hub-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.hub-quote-card {
  padding: 1.1rem;
  border-radius: 28px 42px 24px 44px / 22px 34px 30px 40px;
}

.hub-quote-head {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1rem;
}

.hub-quote-head img {
  width: 64px;
  height: 64px;
  border-radius: 44% 56% 63% 37% / 38% 44% 56% 62%;
  object-fit: cover;
  border: 2px dashed rgba(139, 115, 85, 0.24);
}

.hub-partner-card {
  display: grid;
  grid-template-columns: minmax(220px, 0.42fr) minmax(0, 1fr);
  gap: 1.4rem;
  padding: 1.4rem;
  border-radius: 32px 56px 34px 50px / 26px 42px 32px 46px;
  align-items: center;
}

.hub-partner-logo {
  min-height: 220px;
  display: grid;
  place-items: center;
  border-radius: var(--hub-radius-blob);
  background:
    linear-gradient(145deg, rgba(193, 120, 23, 0.12), rgba(166, 144, 118, 0.08)),
    url('images/scene-2.jpg') center/cover no-repeat;
  color: var(--hub-surface);
  text-align: center;
}

.hub-partner-logo strong {
  padding: 0.9rem 1.2rem;
  border-radius: 999px;
  background: rgba(61, 52, 40, 0.52);
  font-family: 'Fraunces', serif;
  font-size: 1.4rem;
}

.hub-blog-list {
  display: grid;
  gap: 1rem;
}

.hub-blog-item {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 1rem;
  overflow: hidden;
  border-radius: 28px 44px 26px 46px / 22px 34px 30px 42px;
}

.hub-blog-thumb {
  min-height: 190px;
  background-size: cover;
  background-position: center;
}

.hub-blog-body {
  padding: 1.2rem 1.2rem 1.2rem 0;
}

.hub-blog-meta {
  color: var(--hub-text-light);
  font-size: 0.92rem;
}

.hub-site-footer {
  padding: 5rem 0 2rem;
  background:
    linear-gradient(180deg, rgba(139, 115, 85, 0.09), rgba(139, 115, 85, 0.18)),
    var(--hub-paper-texture),
    var(--hub-background);
}

.hub-footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) repeat(2, minmax(200px, 0.55fr));
  gap: 1rem;
}

.hub-footer-card {
  padding: 1.3rem;
  border-radius: 28px 46px 30px 42px / 24px 36px 32px 38px;
}

.hub-newsletter-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.8rem;
  margin-top: 1rem;
}

.hub-newsletter-form input {
  min-height: 52px;
  padding: 0 1rem;
  border: 1px solid var(--hub-border);
  border-radius: 18px;
  background: #fff;
}

.hub-footer-meta {
  margin-top: 1rem;
  color: var(--hub-text-light);
  font-size: 0.94rem;
}

.hub-footer-meta strong {
  color: var(--hub-primary);
}

.hub-address-note::after {
  content: 'Bucuresti, Romania';
  display: block;
  margin-top: 0.25rem;
  color: var(--hub-text-light);
}

[data-lang] [data-en] {
  display: none;
}

html[data-language='en'] [data-ro] {
  display: none;
}

html[data-language='en'] [data-en] {
  display: revert;
}

html[data-language='ro'] [data-ro] {
  display: revert;
}

html[data-language='en'] [data-lang-inline][data-ro] {
  display: none;
}

html[data-language='en'] [data-lang-inline][data-en] {
  display: inline;
}

html[data-language='ro'] [data-lang-inline][data-ro] {
  display: inline;
}

@media (max-width: 1100px) {
  .hub-hero-shell,
  .hub-involved-wrap,
  .hub-story-grid,
  .hub-partner-card,
  .hub-footer-grid,
  .hub-impact-panel,
  .hub-impact-panel:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .hub-impact-panel:nth-child(even) .hub-impact-media {
    order: 0;
  }

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

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

  .hub-photo-frame:nth-child(1) {
    grid-row: auto;
    min-height: 320px;
  }

  .hub-blog-item {
    grid-template-columns: 1fr;
  }

  .hub-blog-body {
    padding: 0 1.2rem 1.2rem;
  }
}

@media (max-width: 920px) {
  .hub-nav {
    padding-inline: 0.9rem;
  }

  .hub-menu-toggle {
    display: inline-grid;
    place-items: center;
  }

  .hub-nav-links {
    position: absolute;
    top: calc(100% + 0.8rem);
    right: 0;
    left: 0;
    display: grid;
    gap: 0.4rem;
    padding: 1rem;
    border-radius: 30px;
    background: rgba(250, 248, 245, 0.98);
    border: 1px solid rgba(139, 115, 85, 0.16);
    box-shadow: var(--hub-shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition:
      opacity 0.2s ease,
      visibility 0.2s ease,
      transform 0.2s ease;
  }

  .hub-nav.is-open .hub-nav-links {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .hub-nav-tools .hub-button-secondary {
    display: none;
  }

  .hub-hero {
    padding-top: 7.5rem;
  }

  .hub-hero-copy h1 {
    max-width: 9ch;
  }

  .hub-hero-ribbon {
    position: static;
    max-width: 100%;
  }

  .hub-programs-rail {
    grid-auto-columns: minmax(260px, 72%);
  }
}

@media (max-width: 720px) {
  .hub-shell {
    width: min(100% - 1.2rem, var(--hub-max-width));
  }

  .hub-announcement {
    margin-top: -1rem;
  }

  .hub-announcement-bar,
  .hub-hero-search,
  .hub-newsletter-form {
    grid-template-columns: 1fr;
  }

  .hub-section-heading {
    flex-direction: column;
    align-items: start;
  }

  .hub-hero-collage,
  .hub-testimonials-grid,
  .hub-involved-grid,
  .hub-photo-essay {
    grid-template-columns: 1fr;
  }

  .hub-hero-collage {
    grid-template-rows: none;
  }

  .hub-hero-card,
  .hub-hero-card:nth-child(1),
  .hub-hero-card:nth-child(2),
  .hub-hero-card:nth-child(3),
  .hub-hero-card:nth-child(4) {
    grid-column: auto;
    grid-row: auto;
    min-height: 220px;
  }

  .hub-hero-copy h1 {
    font-size: clamp(2.7rem, 11vw, 4.3rem);
  }

  .hub-impact-statline {
    flex-direction: column;
    gap: 0.5rem;
  }

  .hub-partner-logo {
    min-height: 180px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .fade-in {
    opacity: 1;
    transform: none;
  }
}
