@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;600;700&family=Fira+Sans:wght@300;400;500;600&display=swap');

:root {
  --hub-color-primary: #C84B31;
  --hub-color-secondary: #D4775B;
  --hub-color-accent: #2D4059;
  --hub-color-background: #FFF8F0;
  --hub-color-surface: #FFFFFF;
  --hub-color-text: #2D2424;
  --hub-color-text-light: #7A6565;
  --hub-color-border: #ECDDD0;
  --hub-hero-overlay: linear-gradient(145deg, rgba(200, 75, 49, 0.82), rgba(212, 119, 91, 0.5));
  --hub-gradient-brand: linear-gradient(135deg, #C84B31 0%, #D4775B 55%, #F0B295 100%);
  --hub-gradient-accent: linear-gradient(135deg, #2D4059 0%, #49627E 100%);
  --hub-gradient-soft: linear-gradient(180deg, rgba(255, 248, 240, 0.35) 0%, rgba(255, 255, 255, 0.9) 100%);
  --hub-gradient-line: linear-gradient(90deg, rgba(200, 75, 49, 0) 0%, rgba(200, 75, 49, 0.7) 48%, rgba(45, 64, 89, 0.7) 100%);
  --hub-shadow-lg: 0 24px 60px rgba(200, 75, 49, 0.18);
  --hub-shadow-md: 0 16px 40px rgba(200, 75, 49, 0.14);
  --hub-shadow-sm: 0 10px 24px rgba(45, 64, 89, 0.12);
  --hub-radius: 8px;
  --hub-radius-pill: 999px;
  --hub-content-width: min(1180px, calc(100% - 2rem));
  --hub-nav-height: 84px;
  --hub-transition: 0.4s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Fira Sans', sans-serif;
  font-weight: 400;
  color: var(--hub-color-text);
  background:
    radial-gradient(circle at top left, rgba(212, 119, 91, 0.22), transparent 28%),
    radial-gradient(circle at right 15%, rgba(45, 64, 89, 0.08), transparent 24%),
    linear-gradient(180deg, #fff3e7 0%, var(--hub-color-background) 18%, #fffaf5 100%);
  line-height: 1.65;
  overflow-x: hidden;
}

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

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

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

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--hub-color-text);
}

p {
  margin: 0;
}

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

.hub-site-shell {
  position: relative;
}

.hub-site-shell::before,
.hub-site-shell::after {
  content: '';
  position: fixed;
  inset: auto;
  width: 22rem;
  height: 22rem;
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
  filter: blur(20px);
}

.hub-site-shell::before {
  top: -8rem;
  left: -8rem;
  background: radial-gradient(circle, rgba(200, 75, 49, 0.22), transparent 68%);
}

.hub-site-shell::after {
  right: -8rem;
  bottom: 10%;
  background: radial-gradient(circle, rgba(45, 64, 89, 0.12), transparent 68%);
}

.hub-shell-width,
.hub-nav-wrap,
.hub-hero-wrap,
.hub-section-wrap,
.hub-footer-wrap {
  width: var(--hub-content-width);
  margin-inline: auto;
}

.hub-gradient-heading {
  background: linear-gradient(135deg, var(--hub-color-primary), var(--hub-color-secondary), var(--hub-color-accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hub-section-block {
  position: relative;
  padding: 5.5rem 0;
}

.hub-section-block::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: min(16rem, 32vw);
  height: 1px;
  transform: translateX(-50%);
  background: var(--hub-gradient-line);
}

.hub-section-head {
  display: grid;
  gap: 1rem;
  margin-bottom: 2rem;
}

.hub-section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  width: fit-content;
  padding: 0.45rem 0.9rem;
  border-radius: var(--hub-radius-pill);
  background: rgba(212, 119, 91, 0.14);
  color: var(--hub-color-accent);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  font-weight: 600;
}

.hub-section-title {
  font-size: clamp(2.5rem, 4vw, 4.4rem);
}

.hub-section-copy {
  max-width: 42rem;
  color: var(--hub-color-text-light);
  font-size: 1.04rem;
}

.hub-surface-card,
.hub-story-card,
.hub-news-card,
.hub-program-card,
.hub-event-card,
.hub-spotlight-card,
.hub-quote-card,
.hub-post-card,
.hub-action-card,
.hub-team-card,
.hub-page-card,
.hub-contact-card {
  position: relative;
  border-radius: var(--hub-radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 1));
  border: 1px solid transparent;
  box-shadow: var(--hub-shadow-sm);
  overflow: hidden;
}

.hub-surface-card::before,
.hub-story-card::before,
.hub-news-card::before,
.hub-program-card::before,
.hub-event-card::before,
.hub-spotlight-card::before,
.hub-quote-card::before,
.hub-post-card::before,
.hub-action-card::before,
.hub-team-card::before,
.hub-page-card::before,
.hub-contact-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(200, 75, 49, 0.55), rgba(45, 64, 89, 0.18), rgba(212, 119, 91, 0.4));
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.hub-story-card:hover,
.hub-news-card:hover,
.hub-program-card:hover,
.hub-event-card:hover,
.hub-quote-card:hover,
.hub-post-card:hover,
.hub-action-card:hover,
.hub-team-card:hover,
.hub-page-card:hover,
.hub-contact-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--hub-shadow-md);
}

.hub-story-card,
.hub-news-card,
.hub-program-card,
.hub-event-card,
.hub-quote-card,
.hub-post-card,
.hub-action-card,
.hub-team-card,
.hub-page-card,
.hub-contact-card {
  transition: transform var(--hub-transition), box-shadow var(--hub-transition), border-color var(--hub-transition);
}

.hub-site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 1rem 0 0;
}

.hub-nav {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  min-height: var(--hub-nav-height);
  padding: 0.9rem 1.1rem;
  border-radius: calc(var(--hub-radius) * 2);
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.08));
  backdrop-filter: blur(18px);
  box-shadow: 0 12px 36px rgba(45, 64, 89, 0.1);
  transition: background var(--hub-transition), border-color var(--hub-transition), box-shadow var(--hub-transition), transform var(--hub-transition);
}

body.hub-scrolled .hub-nav {
  background: linear-gradient(135deg, rgba(255, 248, 240, 0.96), rgba(255, 255, 255, 0.94));
  border-color: rgba(236, 221, 208, 0.95);
  box-shadow: var(--hub-shadow-md);
}

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

.hub-nav-seal {
  width: 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--hub-gradient-brand);
  color: #fff;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  box-shadow: 0 8px 20px rgba(200, 75, 49, 0.26);
}

.hub-nav-title {
  display: grid;
  gap: 0.12rem;
}

.hub-nav-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  line-height: 1;
}

.hub-nav-subtitle {
  color: var(--hub-color-text-light);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hub-nav-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.hub-nav-links a {
  padding: 0.7rem 1rem;
  border-radius: var(--hub-radius-pill);
  color: var(--hub-color-text);
  font-weight: 500;
  transition: color var(--hub-transition), background var(--hub-transition), transform var(--hub-transition);
}

.hub-nav-links a:hover,
.hub-nav-links a:focus-visible {
  color: var(--hub-color-primary);
  background: rgba(200, 75, 49, 0.08);
  transform: translateY(-1px);
}

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

.hub-lang-toggle,
.hub-nav-toggle,
.hub-button,
.hub-button-alt,
.hub-button-ghost,
.hub-event-rsvp {
  border: 0;
  cursor: pointer;
  transition: transform var(--hub-transition), box-shadow var(--hub-transition), background var(--hub-transition), color var(--hub-transition);
}

.hub-lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.72rem 1rem;
  border-radius: var(--hub-radius-pill);
  background: rgba(45, 64, 89, 0.08);
  color: var(--hub-color-accent);
  font-size: 0.92rem;
  font-weight: 600;
}

.hub-lang-toggle:hover,
.hub-lang-toggle:focus-visible {
  transform: translateY(-2px);
  box-shadow: var(--hub-shadow-sm);
}

.hub-nav-toggle {
  display: none;
  width: 2.9rem;
  height: 2.9rem;
  padding: 0;
  border-radius: 50%;
  background: var(--hub-gradient-accent);
  color: #fff;
  box-shadow: 0 10px 24px rgba(45, 64, 89, 0.2);
}

.hub-nav-toggle span {
  display: block;
  width: 1.2rem;
  height: 2px;
  margin: 0.18rem auto;
  border-radius: 999px;
  background: currentColor;
  transition: transform var(--hub-transition), opacity var(--hub-transition);
}

body.hub-menu-open .hub-nav-toggle span:nth-child(1) {
  transform: translateY(0.37rem) rotate(45deg);
}

body.hub-menu-open .hub-nav-toggle span:nth-child(2) {
  opacity: 0;
}

body.hub-menu-open .hub-nav-toggle span:nth-child(3) {
  transform: translateY(-0.37rem) rotate(-45deg);
}

.hub-button,
.hub-button-alt,
.hub-button-ghost,
.hub-event-rsvp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 3.15rem;
  padding: 0.8rem 1.4rem;
  border-radius: var(--hub-radius-pill);
  font-weight: 600;
}

.hub-button {
  color: #fff;
  background: var(--hub-gradient-brand);
  box-shadow: 0 12px 28px rgba(200, 75, 49, 0.24);
}

.hub-button:hover,
.hub-button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(200, 75, 49, 0.28);
}

.hub-button-alt,
.hub-event-rsvp {
  color: #fff;
  background: var(--hub-gradient-accent);
  box-shadow: 0 12px 28px rgba(45, 64, 89, 0.22);
}

.hub-button-alt:hover,
.hub-button-alt:focus-visible,
.hub-event-rsvp:hover,
.hub-event-rsvp:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(45, 64, 89, 0.3);
}

.hub-button-ghost {
  color: var(--hub-color-primary);
  background: rgba(200, 75, 49, 0.08);
}

.hub-main {
  padding-bottom: 6rem;
}

.hub-hero {
  position: relative;
  padding: 3rem 0 2.5rem;
}

.hub-hero-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(1.6rem, 3vw, 3rem);
  align-items: center;
}

.hub-hero-media {
  position: relative;
  min-height: 42rem;
  border-radius: calc(var(--hub-radius) * 2);
  overflow: hidden;
  box-shadow: var(--hub-shadow-lg);
  background:
    var(--hub-hero-overlay),
    radial-gradient(circle at top, rgba(255, 255, 255, 0.14), transparent 32%),
    linear-gradient(135deg, rgba(45, 64, 89, 0.2), rgba(200, 75, 49, 0.2));
}

.hub-hero-media::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(45, 64, 89, 0.08) 100%);
  z-index: 1;
}

.hub-hero-collage {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  grid-template-rows: 1.1fr 0.8fr 1fr;
  gap: 0.8rem;
  padding: 0.8rem;
}

.hub-hero-panel {
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--hub-radius) * 1.5);
}

.hub-hero-panel::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(45, 64, 89, 0.16));
}

.hub-hero-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
}

.hub-hero-panel:nth-child(1) {
  grid-row: 1 / span 2;
}

.hub-hero-panel:nth-child(2) {
  grid-column: 2;
  grid-row: 1;
}

.hub-hero-panel:nth-child(3) {
  grid-column: 2;
  grid-row: 2 / span 2;
}

.hub-hero-panel:nth-child(4) {
  grid-column: 1;
  grid-row: 3;
}

.hub-hero-note {
  position: absolute;
  right: -1.2rem;
  bottom: 2rem;
  z-index: 2;
  width: min(17rem, 48%);
  padding: 1.2rem 1.1rem;
  border-radius: calc(var(--hub-radius) * 1.5);
  background: rgba(255, 248, 240, 0.9);
  backdrop-filter: blur(14px);
  box-shadow: 0 14px 34px rgba(45, 64, 89, 0.14);
}

.hub-hero-note strong {
  display: block;
  margin-bottom: 0.3rem;
  color: var(--hub-color-accent);
  font-size: 0.95rem;
}

.hub-hero-note span {
  color: var(--hub-color-text-light);
  font-size: 0.93rem;
}

.hub-hero-copy {
  position: relative;
  display: grid;
  gap: 1.3rem;
  padding: 1.5rem 0;
}

.hub-hero-kicker {
  display: inline-flex;
  width: fit-content;
  padding: 0.45rem 0.9rem;
  border-radius: var(--hub-radius-pill);
  background: rgba(45, 64, 89, 0.08);
  color: var(--hub-color-accent);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.72rem;
  font-weight: 600;
}

.hub-hero-title {
  font-size: clamp(3.8rem, 8vw, 6.9rem);
}

.hub-hero-intro {
  max-width: 34rem;
  color: var(--hub-color-text-light);
  font-size: 1.1rem;
}

.hub-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 0.4rem;
}

.hub-hero-rail {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 1rem;
}

.hub-hero-stat {
  padding: 1rem 1rem 1.1rem;
  border-radius: calc(var(--hub-radius) * 1.5);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(255, 248, 240, 0.88));
  box-shadow: 0 10px 24px rgba(200, 75, 49, 0.08);
}

.hub-hero-stat strong {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--hub-color-primary);
  font-size: 1.6rem;
}

.hub-hero-stat span {
  color: var(--hub-color-text-light);
  font-size: 0.92rem;
}

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

.hub-story-card {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  min-height: 28rem;
}

.hub-story-visual,
.hub-news-visual,
.hub-spotlight-visual,
.hub-post-visual,
.hub-page-visual,
.hub-contact-visual {
  position: relative;
  min-height: 100%;
  overflow: hidden;
}

.hub-story-visual img,
.hub-news-visual img,
.hub-spotlight-visual img,
.hub-post-visual img,
.hub-page-visual img,
.hub-contact-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hub-story-body,
.hub-news-body,
.hub-program-body,
.hub-event-body,
.hub-spotlight-body,
.hub-quote-body,
.hub-post-body,
.hub-action-body,
.hub-team-body,
.hub-page-body,
.hub-contact-body {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1rem;
  padding: 2rem;
}

.hub-story-badge,
.hub-news-badge,
.hub-post-badge,
.hub-event-badge,
.hub-program-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-width: 2.9rem;
  min-height: 2.2rem;
  padding: 0.5rem 0.85rem;
  border-radius: var(--hub-radius-pill);
  background: rgba(45, 64, 89, 0.1);
  color: var(--hub-color-accent);
  font-size: 0.84rem;
  font-weight: 600;
}

.hub-story-title {
  font-size: clamp(2.4rem, 4vw, 3.6rem);
}

.hub-story-excerpt,
.hub-news-excerpt,
.hub-program-copy,
.hub-event-meta,
.hub-spotlight-quote,
.hub-post-excerpt,
.hub-team-role,
.hub-page-copy,
.hub-contact-copy {
  color: var(--hub-color-text-light);
}

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

.hub-news-card,
.hub-post-card {
  display: grid;
  grid-template-rows: 14rem auto;
}

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

.hub-program-card {
  padding: 1px;
}

.hub-program-card > * {
  position: relative;
  z-index: 1;
}

.hub-program-top {
  position: relative;
  min-height: 12rem;
  overflow: hidden;
}

.hub-program-top img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hub-program-icon {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  min-width: 3.2rem;
  min-height: 3.2rem;
  background: rgba(255, 248, 240, 0.88);
  backdrop-filter: blur(10px);
}

.hub-program-title {
  font-size: 1.8rem;
}

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

.hub-event-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding: 1.6rem;
  align-items: start;
}

.hub-event-date {
  display: grid;
  place-items: center;
  min-width: 5.5rem;
  min-height: 6.3rem;
  padding: 0.8rem;
  border-radius: calc(var(--hub-radius) * 1.5);
  background: var(--hub-gradient-brand);
  color: #fff;
  box-shadow: 0 12px 28px rgba(200, 75, 49, 0.22);
  text-align: center;
}

.hub-event-date strong {
  font-size: 2rem;
  line-height: 1;
}

.hub-event-date span {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hub-event-title {
  font-size: 2rem;
}

.hub-spotlight-card {
  display: grid;
  grid-template-columns: minmax(18rem, 0.9fr) minmax(0, 1.1fr);
  align-items: stretch;
}

.hub-spotlight-quote {
  font-size: 1.08rem;
}

.hub-spotlight-name {
  font-size: 2.4rem;
}

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

.hub-quote-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.76), rgba(255, 248, 240, 0.96)),
    linear-gradient(135deg, rgba(212, 119, 91, 0.18), rgba(45, 64, 89, 0.04));
}

.hub-quote-mark {
  color: var(--hub-color-primary);
  font-size: 2.8rem;
  line-height: 0.8;
}

.hub-partner-shell {
  padding: 2rem;
  border-radius: calc(var(--hub-radius) * 2);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(255, 248, 240, 0.94));
  box-shadow: var(--hub-shadow-sm);
}

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

.hub-partner-card {
  display: grid;
  place-items: center;
  min-height: 7rem;
  padding: 1rem;
  border-radius: calc(var(--hub-radius) * 1.5);
  border: 1px solid var(--hub-color-border);
  background: rgba(255, 255, 255, 0.75);
  color: var(--hub-color-text-light);
  text-align: center;
}

.hub-gallery-grid {
  columns: 4 14rem;
  column-gap: 1rem;
}

.hub-gallery-tile {
  position: relative;
  margin-bottom: 1rem;
  border-radius: calc(var(--hub-radius) * 1.5);
  overflow: hidden;
  break-inside: avoid;
  box-shadow: var(--hub-shadow-sm);
}

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

.hub-gallery-tile::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 52%, rgba(45, 64, 89, 0.18) 100%);
}

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

.hub-action-card {
  min-height: 100%;
}

.hub-action-icon {
  width: 3.3rem;
  height: 3.3rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(200, 75, 49, 0.1);
  color: var(--hub-color-primary);
  font-weight: 700;
}

.hub-newsletter-shell {
  position: relative;
  overflow: hidden;
  padding: 2.2rem;
  border-radius: calc(var(--hub-radius) * 2);
  background:
    linear-gradient(120deg, rgba(200, 75, 49, 0.9), rgba(212, 119, 91, 0.92) 45%, rgba(45, 64, 89, 0.86)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0));
  color: #fff;
  box-shadow: var(--hub-shadow-lg);
}

.hub-newsletter-shell::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.2), transparent 18%),
    radial-gradient(circle at 84% 14%, rgba(255, 255, 255, 0.12), transparent 16%);
  pointer-events: none;
}

.hub-newsletter-head {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
}

.hub-newsletter-title {
  color: #fff;
  font-size: clamp(2.5rem, 4vw, 4rem);
}

.hub-newsletter-copy {
  max-width: 36rem;
  color: rgba(255, 255, 255, 0.82);
}

.hub-newsletter-form {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.9rem;
}

.hub-field-input,
.hub-field-textarea,
.hub-field-select {
  width: 100%;
  min-height: 3.35rem;
  padding: 0.9rem 1rem;
  border-radius: var(--hub-radius-pill);
  border: 1px solid var(--hub-color-border);
  background: rgba(255, 255, 255, 0.94);
  color: var(--hub-color-text);
  outline: none;
  transition: border-color var(--hub-transition), box-shadow var(--hub-transition), transform var(--hub-transition);
}

.hub-field-textarea {
  min-height: 8rem;
  border-radius: var(--hub-radius);
  resize: vertical;
}

.hub-field-input:focus,
.hub-field-textarea:focus,
.hub-field-select:focus {
  border-color: rgba(200, 75, 49, 0.62);
  box-shadow: 0 0 0 4px rgba(200, 75, 49, 0.14);
}

.hub-page-hero,
.hub-contact-hero {
  padding: 2rem 0 1.5rem;
}

.hub-page-hero-wrap,
.hub-contact-wrap {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  align-items: stretch;
}

.hub-page-card,
.hub-contact-card {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
}

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

.hub-team-card {
  overflow: hidden;
}

.hub-team-portrait {
  aspect-ratio: 0.9;
  overflow: hidden;
}

.hub-team-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hub-team-name {
  font-size: 1.9rem;
}

.hub-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.hub-contact-list {
  display: grid;
  gap: 0.9rem;
}

.hub-contact-item {
  padding: 1rem 1.05rem;
  border-radius: calc(var(--hub-radius) * 1.5);
  background: rgba(255, 248, 240, 0.88);
  border: 1px solid var(--hub-color-border);
}

.hub-contact-label {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--hub-color-primary);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.hub-site-footer {
  padding: 0 0 2.25rem;
}

.hub-footer-wrap {
  display: grid;
  gap: 1.2rem;
  padding: 2rem;
  border-radius: calc(var(--hub-radius) * 2);
  background: linear-gradient(180deg, rgba(45, 64, 89, 0.96), rgba(35, 49, 68, 0.96));
  color: rgba(255, 255, 255, 0.9);
}

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

.hub-footer-title {
  color: #fff;
  font-size: 1.9rem;
}

.hub-footer-copy,
.hub-footer-meta,
.hub-footer-links a {
  color: rgba(255, 255, 255, 0.76);
}

.hub-footer-links {
  display: grid;
  gap: 0.55rem;
}

.hub-footer-bottom {
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.92rem;
}

.fade-in {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

[data-lang]:not(html) {
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

html[data-hub-lang='sv'] [data-lang='en'],
html[data-hub-lang='en'] [data-lang='sv'] {
  display: none !important;
}

@media (max-width: 1100px) {
  .hub-hero-wrap,
  .hub-story-card,
  .hub-page-hero-wrap,
  .hub-contact-wrap,
  .hub-page-card,
  .hub-contact-card,
  .hub-spotlight-card {
    grid-template-columns: 1fr;
  }

  .hub-hero-media {
    min-height: 34rem;
    order: 2;
  }

  .hub-hero-copy {
    order: 1;
  }

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

  .hub-partner-grid,
  .hub-team-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

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

@media (max-width: 900px) {
  .hub-site-header {
    padding-top: 0.75rem;
  }

  .hub-nav {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .hub-nav-links {
    position: absolute;
    top: calc(100% + 0.7rem);
    left: 0;
    right: 0;
    display: grid;
    gap: 0.45rem;
    padding: 1rem;
    border-radius: calc(var(--hub-radius) * 2);
    background: linear-gradient(135deg, rgba(255, 248, 240, 0.97), rgba(255, 255, 255, 0.96));
    border: 1px solid rgba(236, 221, 208, 0.95);
    box-shadow: var(--hub-shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity var(--hub-transition), transform var(--hub-transition), visibility var(--hub-transition);
  }

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

  .hub-nav-tools {
    justify-content: flex-end;
  }

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

  .hub-story-card,
  .hub-news-grid,
  .hub-post-grid,
  .hub-contact-grid,
  .hub-newsletter-form {
    grid-template-columns: 1fr;
  }

  .hub-gallery-grid {
    columns: 3 12rem;
  }
}

@media (max-width: 720px) {
  .hub-section-block {
    padding: 4.5rem 0;
  }

  .hub-nav {
    padding: 0.9rem;
  }

  .hub-nav-name {
    font-size: 1.25rem;
  }

  .hub-nav-subtitle {
    font-size: 0.74rem;
  }

  .hub-lang-toggle {
    padding-inline: 0.85rem;
  }

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

  .hub-hero-media {
    min-height: 27rem;
  }

  .hub-hero-note {
    right: 1rem;
    bottom: 1rem;
    width: calc(100% - 2rem);
  }

  .hub-hero-rail,
  .hub-program-grid,
  .hub-events-grid,
  .hub-quote-grid,
  .hub-partner-grid,
  .hub-team-grid,
  .hub-action-grid,
  .hub-footer-grid {
    grid-template-columns: 1fr;
  }

  .hub-event-card {
    grid-template-columns: 1fr;
  }

  .hub-gallery-grid {
    columns: 2 10rem;
  }

  .hub-story-body,
  .hub-news-body,
  .hub-program-body,
  .hub-event-body,
  .hub-spotlight-body,
  .hub-quote-body,
  .hub-post-body,
  .hub-action-body,
  .hub-team-body,
  .hub-page-body,
  .hub-contact-body,
  .hub-partner-shell,
  .hub-newsletter-shell,
  .hub-footer-wrap {
    padding: 1.4rem;
  }
}

@media (max-width: 540px) {
  :root {
    --hub-content-width: min(100% - 1.2rem, 100%);
  }

  .hub-nav {
    min-height: 74px;
  }

  .hub-nav-brand {
    gap: 0.55rem;
  }

  .hub-nav-seal {
    width: 2.55rem;
    height: 2.55rem;
    font-size: 1.12rem;
  }

  .hub-hero-title,
  .hub-section-title,
  .hub-newsletter-title {
    line-height: 0.96;
  }

  .hub-hero-title {
    font-size: clamp(3rem, 14vw, 4.4rem);
  }

  .hub-hero-actions,
  .hub-nav-tools {
    flex-wrap: wrap;
  }

  .hub-button,
  .hub-button-alt,
  .hub-button-ghost,
  .hub-event-rsvp,
  .hub-lang-toggle {
    width: 100%;
  }

  .hub-gallery-grid {
    columns: 1;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

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