/* ================================================
   ASSOCIATION DES AMI·E·S DES ÉDITIONS MUSICALES HENRY LABATIAZ
   Stylesheet — Swiss Editorial Minimalism with Royal Blue
   ================================================ */

/* ---- Fonts ---- */
@font-face {
  font-family: 'FOEDidotModern';
  src: url('fonts/FoeDidotModern/FOEDidotModern-Medium.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'FOEDidotModern';
  src: url('fonts/FoeDidotModern/FOEDidotModern-BoldItalic.ttf') format('truetype');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Portonovo';
  src: url('fonts/Portonovo/Portonovo-Book.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Portonovo';
  src: url('fonts/Portonovo/Portonovo-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Portonovo';
  src: url('fonts/PortonovoText/PortonovoText-BoldItalic.ttf') format('truetype');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('fonts/Inter/Inter-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('fonts/Inter/Inter-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('fonts/Inter/Inter-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* ---- Variables ---- */
:root {
  --main-color: #FFFDF8;
  --highlight: #261b62;
  --link-color: #4a3db0;
  --dark-grey: #333333;
  --black: #1A1A1A;
  --white: #ffffff;
  --light-grey: #f4f4f4;
  --beige: #FCF4DF;
  --blue-pale: #EDEAF8;
  --blue-mid: #4a3db0;
  --blue-dark: #150e36;
  --border-color: rgba(38, 27, 98, 0.13);
  --text-primary: #1A1A1A;
  --text-secondary: #5A5A6A;
  --transition-fast: 0.2s ease;
  --transition: 0.35s ease;
  --shadow-sm: 0 1px 4px rgba(38, 27, 98, 0.07);
  --shadow-md: 0 4px 24px rgba(38, 27, 98, 0.11);
  --shadow-lg: 0 12px 48px rgba(38, 27, 98, 0.16);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Portonovo', Georgia, serif;
  background-color: var(--main-color);
  color: var(--text-primary);
  line-height: 1.65;
  overflow-x: hidden;
}
a { color: var(--link-color); text-decoration: none; transition: color var(--transition-fast); }
a:hover { color: var(--highlight); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

/* ---- Language Bar ---- */
.lang-bar {
  background-color: var(--highlight);
  color: var(--white);
  padding: 7px 0;
}
.lang-bar-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 2px;
}
.lang-btn {
  background: none;
  border: none;
  color: rgba(255,255,255,0.5);
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-size: 10.5px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 2px;
  transition: all var(--transition-fast);
}
.lang-btn:hover { color: var(--white); background: rgba(255,255,255,0.12); }
.lang-btn.active { color: var(--white); font-weight: 600; background: rgba(255,255,255,0.18); }
.lang-sep { color: rgba(255,255,255,0.2); font-size: 10px; padding: 0 1px; }

/* ---- Site Header ---- */
.site-header {
  background-color: var(--main-color);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}
.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 92px;
}

/* ---- Logo ---- */
.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
}
.logo-img {
  width: 68px;
  height: 68px;
  object-fit: contain;
}
.logo-divider {
  width: 1px;
  height: 36px;
  background: var(--border-color);
  flex-shrink: 0;
}
.logo-text { display: flex; flex-direction: column; gap: 1px; }
.logo-assoc {
  font-family: 'FOEDidotModern', serif;
  font-weight: 700;
  font-style: italic;
  font-size: 14.5px;
  color: var(--highlight);
  line-height: 1.2;
  letter-spacing: 0.01em;
}
.logo-name {
  font-family: 'FOEDidotModern', serif;
  font-weight: 400;
  font-size: 12.5px;
  color: var(--dark-grey);
  line-height: 1.2;
  letter-spacing: 0.06em;
}

/* ---- Navigation ---- */
.site-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.site-nav a {
  font-family: 'Inter', sans-serif;
  font-size: 11.5px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dark-grey);
  text-decoration: none;
  padding: 4px 0;
  border-bottom: 1.5px solid transparent;
  transition: all var(--transition-fast);
}
.site-nav a:hover, .site-nav a.active {
  color: var(--highlight);
  border-bottom-color: var(--highlight);
}

/* ---- Hamburger ---- */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--dark-grey);
  transition: var(--transition);
}

/* ---- Mobile Nav ---- */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--main-color);
  z-index: 200;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 36px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-family: 'FOEDidotModern', serif;
  font-size: 26px;
  font-weight: 600;
  color: var(--dark-grey);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color var(--transition-fast);
}
.mobile-nav a:hover { color: var(--highlight); }
.mobile-lang-bar {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}
.mobile-lang-bar .lang-btn {
  color: var(--dark-grey);
  background: var(--blue-pale);
}
.mobile-lang-bar .lang-btn.active {
  color: var(--white);
  background: var(--highlight);
}
.mobile-nav-close {
  position: absolute;
  top: 20px;
  right: 36px;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: var(--dark-grey);
  font-weight: 300;
  line-height: 1;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 13px 26px;
  border-radius: 2px;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
  border: none;
}
.btn-primary { background: var(--highlight); color: var(--white); }
.btn-primary:hover {
  background: var(--blue-dark);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(26, 60, 140, 0.28);
}
.btn-outline {
  background: transparent;
  color: var(--highlight);
  border: 1.5px solid var(--highlight);
}
.btn-outline:hover { background: var(--highlight); color: var(--white); }
.btn-white { background: var(--white); color: var(--highlight); }
.btn-white:hover { background: var(--blue-pale); }

/* ---- Section Utilities ---- */
.section { padding: 96px 40px; max-width: 1280px; margin: 0 auto; }
.section--alt { background-color: var(--blue-pale); }
.section--dark { background-color: var(--highlight); }
.section--beige { background-color: var(--beige); }
.section-inner { max-width: 1280px; margin: 0 auto; padding: 96px 40px; }

.section-label {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--link-color);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-label::before {
  content: '';
  display: block;
  width: 28px;
  height: 1.5px;
  background: var(--link-color);
  flex-shrink: 0;
}
.section--dark .section-label { color: rgba(255,255,255,0.55); }
.section--dark .section-label::before { background: rgba(255,255,255,0.4); }

.section-title {
  font-family: 'FOEDidotModern', serif;
  font-size: clamp(26px, 3.5vw, 44px);
  font-weight: 600;
  color: var(--highlight);
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}
.section--dark .section-title { color: var(--white); }

.section-subtitle {
  font-family: 'Portonovo', serif;
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 640px;
  line-height: 1.75;
  margin-bottom: 48px;
}
.section--dark .section-subtitle { color: rgba(255,255,255,0.75); }

/* ---- Hero ---- */
.hero {
  background-color: var(--main-color);
  border-bottom: 1px solid var(--border-color);
  overflow: hidden;
}
.hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 112px 40px 96px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: center;
}
.hero-eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--link-color);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 32px;
  height: 1.5px;
  background: var(--link-color);
}
.hero-title {
  font-family: 'FOEDidotModern', serif;
  font-weight: 700;
  font-style: italic;
  font-size: clamp(40px, 5.5vw, 72px);
  color: var(--highlight);
  line-height: 1.0;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.hero-subtitle {
  font-family: 'FOEDidotModern', serif;
  font-weight: 400;
  font-size: clamp(18px, 2.2vw, 28px);
  color: var(--dark-grey);
  line-height: 1.35;
  margin-bottom: 32px;
  letter-spacing: 0.01em;
}
.hero-desc {
  font-family: 'Portonovo', serif;
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 44px;
  max-width: 500px;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  min-height: 300px;
}
.hero-logo-bg {
  position: absolute;
  width: 380px;
  height: 380px;
  object-fit: contain;
  opacity: 0.055;
  right: -60px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}
.hero-logo-main {
  width: 280px;
  height: 280px;
  object-fit: contain;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 20px 56px rgba(26, 60, 140, 0.22));
}

/* ---- About Section (homepage) ---- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}
.about-text p {
  font-family: 'Portonovo', serif;
  font-size: 17px;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 20px;
}
.about-text p:last-child { margin-bottom: 0; }
.about-text strong { color: var(--text-primary); }
.about-aside {
  background: var(--blue-pale);
  border-left: 3px solid var(--highlight);
  padding: 40px 36px;
  border-radius: 0 3px 3px 0;
  position: sticky;
  top: 100px;
}
.about-quote {
  font-family: 'Portonovo', serif;
  font-weight: 400;
  font-style: italic;
  font-size: 15px;
  color: var(--highlight);
  line-height: 1.65;
  margin-bottom: 20px;
}
.about-quote-source {
  font-family: 'Inter', sans-serif;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-secondary);
}
.about-cta { margin-top: 32px; }

/* ---- Membership Cards ---- */
.membership-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 12px;
}
.membership-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 3px;
  padding: 36px 28px;
  position: relative;
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
}
.membership-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--border-color);
  transition: background var(--transition-fast);
}
.membership-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.membership-card:hover::after { background: var(--highlight); }
.membership-type {
  font-family: 'FOEDidotModern', serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--highlight);
  margin-bottom: 6px;
  line-height: 1.2;
}
.membership-price {
  font-family: 'FOEDidotModern', serif;
  font-weight: 400;
  font-style: normal;
  font-size: 30px;
  color: var(--dark-grey);
  line-height: 1.1;
  margin-bottom: 2px;
}
.membership-price-note {
  font-family: 'Inter', sans-serif;
  font-size: 10.5px;
  color: var(--text-secondary);
  letter-spacing: 0.04em;
  margin-bottom: 24px;
}
.membership-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 28px;
}
.membership-features li {
  font-family: 'Portonovo', serif;
  font-size: 14px;
  color: var(--text-secondary);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.5;
}
.membership-features li::before {
  content: '—';
  color: var(--link-color);
  font-weight: 700;
  flex-shrink: 0;
}

/* ---- Registration Form ---- */
.form-section-inner {
  max-width: 800px;
  margin: 0 auto;
}
.form-wrapper {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 3px;
  padding: 52px 48px;
  box-shadow: var(--shadow-sm);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 7px; }
.form-group--full { grid-column: 1 / -1; }
.form-label {
  font-family: 'Inter', sans-serif;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dark-grey);
}
.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 11px 15px;
  border: 1px solid var(--border-color);
  border-radius: 2px;
  background: var(--main-color);
  font-family: 'Portonovo', serif;
  font-size: 15px;
  color: var(--text-primary);
  transition: border-color var(--transition-fast), background var(--transition-fast);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--highlight);
  background: var(--white);
}
.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='7' viewBox='0 0 11 7'%3E%3Cpath d='M1 1l4.5 4.5L10 1' stroke='%231A3C8C' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}
.form-textarea { resize: vertical; min-height: 90px; }
.form-checkbox-group { display: flex; flex-direction: column; gap: 14px; }
.form-checkbox { display: flex; align-items: flex-start; gap: 11px; cursor: pointer; }
.form-checkbox input[type="checkbox"] {
  width: 17px; height: 17px; min-width: 17px;
  border: 1.5px solid var(--border-color);
  border-radius: 2px;
  background: var(--main-color);
  cursor: pointer;
  accent-color: var(--highlight);
  margin-top: 2px;
}
.form-checkbox-label {
  font-family: 'Portonovo', serif;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.55;
  cursor: pointer;
}
.form-submit {
  margin-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.form-legal {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  color: var(--text-secondary);
  line-height: 1.55;
  max-width: 380px;
}
.form-message {
  display: none;
  border-radius: 3px;
  padding: 14px 18px;
  margin-top: 16px;
  font-family: 'Inter', sans-serif;
  font-size: 13.5px;
  line-height: 1.5;
}
.form-message.success {
  background: #EEF7EF;
  border: 1px solid #81C784;
  color: #2E7D32;
}
.form-message.error {
  background: #FFF0F0;
  border: 1px solid #EF9A9A;
  color: #C62828;
}

/* ---- Social Feed ---- */
.social-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 22px;
}
.social-platform {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 3px;
  overflow: hidden;
}
.social-platform-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--border-color);
}
.social-icon {
  width: 30px; height: 30px;
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
}
.social-icon.fb { background: #E8F0FE; }
.social-icon.ig { background: #FEE8F3; }
.social-icon.yt { background: #FEE8E8; }
.social-platform-name {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--dark-grey);
}
.social-handle {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  color: var(--text-secondary);
  margin-left: auto;
}
.social-embed-area {
  padding: 28px 22px;
  min-height: 160px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 8px;
}
.social-embed-area .embed-note {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.5;
}
.social-follow-link {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--link-color);
  text-decoration: none;
  margin-top: 8px;
}
.social-follow-link:hover { color: var(--highlight); }

/* ---- Page Hero (inner pages) ---- */
.page-hero {
  background-color: var(--highlight);
  color: var(--white);
  padding: 72px 40px 56px;
}
.page-hero-inner { max-width: 1280px; margin: 0 auto; }
.page-hero-label {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.page-hero-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: rgba(255,255,255,0.35);
}
.page-hero-title {
  font-family: 'FOEDidotModern', serif;
  font-weight: 700;
  font-style: italic;
  font-size: clamp(30px, 4.5vw, 56px);
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}
.page-hero-desc {
  font-family: 'Portonovo', serif;
  font-size: 17px;
  color: rgba(255,255,255,0.72);
  line-height: 1.7;
  max-width: 580px;
}

/* ---- Projects ---- */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  gap: 28px;
  margin-top: 12px;
}
.project-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 3px;
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
}
.project-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.project-card-header {
  background: var(--blue-pale);
  padding: 28px 28px 24px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: flex-end;
  gap: 14px;
  min-height: 110px;
}
.project-number {
  font-family: 'FOEDidotModern', serif;
  font-weight: 700;
  font-style: italic;
  font-size: 44px;
  color: rgba(26, 60, 140, 0.12);
  line-height: 1;
  flex-shrink: 0;
}
.project-title {
  font-family: 'FOEDidotModern', serif;
  font-size: 19px;
  font-weight: 600;
  color: var(--highlight);
  line-height: 1.3;
}
.project-card-body { padding: 28px; }
.project-tag {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--link-color);
  border: 1px solid rgba(43, 111, 212, 0.4);
  padding: 3px 8px;
  border-radius: 2px;
  margin-bottom: 14px;
}
.project-desc {
  font-family: 'Portonovo', serif;
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 20px;
}
.project-status {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: 'Inter', sans-serif;
  font-size: 10.5px;
  color: var(--text-secondary);
  letter-spacing: 0.06em;
}
.status-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--link-color);
  flex-shrink: 0;
}
.status-dot.done { background: var(--text-secondary); }
.status-dot.soon { background: #F4A827; }

/* ---- About Page Layout ---- */
.about-page-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 72px;
  align-items: start;
}
.about-sidebar {
  position: sticky;
  top: 108px;
}
.about-toc { display: flex; flex-direction: column; gap: 2px; }
.about-toc a {
  font-family: 'Inter', sans-serif;
  font-size: 11.5px;
  font-weight: 400;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 8px 16px;
  border-left: 2px solid var(--border-color);
  display: block;
  transition: all var(--transition-fast);
}
.about-toc a:hover, .about-toc a.active {
  color: var(--highlight);
  border-left-color: var(--highlight);
  padding-left: 20px;
}
.about-content section {
  margin-bottom: 72px;
  padding-bottom: 72px;
  border-bottom: 1px solid var(--border-color);
  scroll-margin-top: 120px;
}
.about-content section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}
.about-section-title {
  font-family: 'FOEDidotModern', serif;
  font-size: 26px;
  font-weight: 600;
  color: var(--highlight);
  margin-bottom: 28px;
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 20px;
  margin-bottom: 28px;
}
.team-card {
  background: var(--blue-pale);
  border: 1px solid var(--border-color);
  border-radius: 3px;
  padding: 26px 20px;
  text-align: center;
}
.team-avatar {
  width: 58px; height: 58px;
  border-radius: 50%;
  background: var(--highlight);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px;
  font-family: 'FOEDidotModern', serif;
  font-weight: 700;
  font-style: italic;
  font-size: 20px;
  color: var(--white);
}
.team-name {
  font-family: 'FOEDidotModern', serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--dark-grey);
  margin-bottom: 4px;
  line-height: 1.3;
}
.team-role {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  color: var(--link-color);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.about-note {
  font-family: 'Portonovo', serif;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  font-style: italic;
  padding: 20px 24px;
  border-left: 3px solid var(--border-color);
  background: var(--blue-pale);
  border-radius: 0 3px 3px 0;
}

/* ---- Contact Block ---- */
.contact-block {
  background: var(--blue-pale);
  border: 1px solid var(--border-color);
  border-radius: 3px;
  padding: 36px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 28px;
}
.contact-item-label {
  font-family: 'Inter', sans-serif;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--link-color);
  margin-bottom: 7px;
}
.contact-item-value {
  font-family: 'Portonovo', serif;
  font-size: 14.5px;
  color: var(--text-primary);
  line-height: 1.65;
  white-space: pre-line;
}
.contact-item-value a { color: var(--link-color); }
.contact-item-value a:hover { color: var(--highlight); }

/* ---- Internal Page ---- */
.internal-notice {
  background: #FFFBEA;
  border: 1px solid #FFD54F;
  border-radius: 3px;
  padding: 14px 20px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: #664D00;
  margin-bottom: 44px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.resource-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 18px;
}
.resource-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 3px;
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  text-decoration: none;
  color: inherit;
}
.resource-card:hover {
  border-color: var(--link-color);
  box-shadow: var(--shadow-sm);
  color: inherit;
}
.resource-icon {
  width: 40px; height: 40px;
  background: var(--blue-pale);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
}
.resource-title {
  font-family: 'FOEDidotModern', serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--highlight);
}
.resource-desc {
  font-family: 'Portonovo', serif;
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.55;
  flex: 1;
}
.resource-arrow {
  font-family: 'Inter', sans-serif;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--link-color);
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 4px;
}

/* ---- Footer ---- */
.site-footer {
  background: var(--blue-dark);
  color: var(--white);
  padding: 60px 40px 28px;
}
.footer-inner { max-width: 1280px; margin: 0 auto; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.8fr 1fr;
  gap: 52px;
  margin-bottom: 52px;
  padding-bottom: 52px;
  border-bottom: 1px solid rgba(255,255,255,0.09);
}
.footer-brand .logo-assoc { color: rgba(255,255,255,0.9); font-size: 15px; }
.footer-brand .logo-name { color: rgba(255,255,255,0.55); }
.footer-brand .logo-divider { background: rgba(255,255,255,0.15); }
.footer-tagline {
  font-family: 'Portonovo', serif;
  font-size: 14px;
  color: rgba(255,255,255,0.45);
  line-height: 1.7;
  margin-top: 20px;
  max-width: 260px;
}
.footer-col-title {
  font-family: 'Inter', sans-serif;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 18px;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-family: 'Portonovo', serif;
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  transition: color var(--transition-fast);
}
.footer-links a:hover { color: var(--white); }
.footer-social { display: flex; gap: 10px; margin-top: 6px; }
.footer-social a {
  width: 34px; height: 34px;
  border-radius: 4px;
  background: rgba(255,255,255,0.07);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.55);
  font-size: 15px;
  text-decoration: none;
  transition: all var(--transition-fast);
}
.footer-social a:hover { background: rgba(255,255,255,0.14); color: var(--white); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}
.footer-copyright {
  font-family: 'Inter', sans-serif;
  font-size: 10.5px;
  color: rgba(255,255,255,0.28);
  letter-spacing: 0.04em;
}
.footer-legal-links { display: flex; gap: 20px; }
.footer-legal-links a {
  font-family: 'Inter', sans-serif;
  font-size: 10.5px;
  color: rgba(255,255,255,0.28);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: color var(--transition-fast);
}
.footer-legal-links a:hover { color: rgba(255,255,255,0.65); }

/* ---- Scroll Animations ---- */
.fade-up {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up.d1 { transition-delay: 0.08s; }
.fade-up.d2 { transition-delay: 0.16s; }
.fade-up.d3 { transition-delay: 0.24s; }

/* ---- Divider ---- */
.section-divider {
  border: none;
  border-top: 1px solid var(--border-color);
  margin: 0;
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 0; }
  .hero-visual { display: none; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-aside { position: static; }
  .membership-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .about-page-layout { grid-template-columns: 1fr; gap: 32px; }
  .about-sidebar { position: static; }
  .about-toc { flex-direction: row; flex-wrap: wrap; }
  .about-toc a { border-left: none; border-bottom: 2px solid var(--border-color); padding: 7px 12px; }
  .about-toc a:hover, .about-toc a.active { border-bottom-color: var(--highlight); padding-left: 12px; }
}

@media (max-width: 768px) {
  .section { padding: 60px 24px; }
  .section-inner { padding: 60px 24px; }
  .header-inner { padding: 0 24px; }
  .site-nav { display: none; }
  .hamburger { display: flex; }
  .membership-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form-wrapper { padding: 32px 22px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .page-hero { padding: 56px 24px 44px; }
  .hero-inner { padding: 76px 24px 60px; }
  .lang-bar-inner { padding: 0 24px; }
  .contact-block { grid-template-columns: 1fr; gap: 22px; }
  .team-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
  .form-submit { flex-direction: column; align-items: flex-start; }
}
