:root {
  --ink: #123235;
  --muted: #66797b;
  --line: #d9e9e8;
  --paper: #fbfdfc;
  --white: #ffffff;
  --blue: #0a5e66;
  --blue-dark: #053f45;
  --teal: #0a5e66;
  --teal-light: #72d0c8;
  --mist: #e9f7f5;
  --gold: #d8b84f;
  --gold-soft: #f4df8a;
  --shadow: 0 20px 60px rgba(10, 94, 102, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: "Lora", Georgia, "Times New Roman", serif;
  line-height: 1.5;
  overflow-x: hidden;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 78px;
  padding: 16px clamp(20px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.84);
  border-bottom: 1px solid rgba(217, 225, 232, 0.62);
  backdrop-filter: blur(18px);
  transition: background 0.28s ease, box-shadow 0.28s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 40px rgba(10, 94, 102, 0.08);
}

.brand {
  display: grid;
  grid-template-columns: auto minmax(170px, 290px);
  align-items: center;
  gap: 16px;
  color: var(--blue-dark);
  font-weight: 700;
  line-height: 1.16;
  justify-self: flex-start;
}

.brand img {
  width: clamp(190px, 16vw, 260px);
  height: auto;
  filter: brightness(0) saturate(100%) invert(29%) sepia(42%) saturate(992%) hue-rotate(142deg) brightness(91%) contrast(92%);
}

.brand span {
  display: block;
  max-width: 290px;
  font-size: 0.9rem;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--blue-dark);
  font-size: 0.9rem;
  font-weight: 700;
}

.main-nav a {
  padding: 10px 0;
  border-bottom: 2px solid transparent;
}

.main-nav a:hover {
  border-color: var(--gold);
}

.main-nav a.is-active {
  color: var(--blue);
  border-color: var(--gold);
}

.hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.6fr);
  align-items: stretch;
  gap: clamp(28px, 5vw, 64px);
  padding: clamp(72px, 9vw, 130px) clamp(20px, 5vw, 72px) clamp(52px, 8vw, 96px);
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.94), rgba(251, 253, 252, 0.7)),
    linear-gradient(135deg, #ffffff 0%, #e9f7f5 48%, #fff8dd 100%);
}

.hero-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.58;
  filter: saturate(1.02) contrast(1.08);
  transform: scale(1.04);
}

.hero-video::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.84) 0%, rgba(251, 253, 252, 0.62) 47%, rgba(233, 247, 245, 0.28) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.56));
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(10, 94, 102, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 94, 102, 0.08) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(90deg, transparent 0%, #000 18%, #000 82%, transparent 100%);
  z-index: 1;
  animation: gridDrift 24s linear infinite;
}

.motion-field {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.path {
  position: absolute;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(10, 94, 102, 0.64), rgba(114, 208, 200, 0.72), rgba(216, 184, 79, 0.66), transparent);
  transform-origin: left center;
  opacity: 0.8;
  animation: signalSweep 5.6s ease-in-out infinite;
}

.path-a {
  top: 28%;
  left: 47%;
  width: 38vw;
  transform: rotate(-14deg);
}

.path-b {
  top: 58%;
  left: 52%;
  width: 32vw;
  transform: rotate(18deg);
  animation-delay: 1.2s;
}

.path-c {
  top: 76%;
  left: 8%;
  width: 50vw;
  transform: rotate(-5deg);
  animation-delay: 2.4s;
}

.node {
  position: absolute;
  width: 12px;
  height: 12px;
  border: 2px solid rgba(10, 94, 102, 0.72);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 0 0 8px rgba(114, 208, 200, 0.16), 0 0 28px rgba(216, 184, 79, 0.18);
  animation: nodePulse 3.8s ease-in-out infinite;
}

.node-a { top: 24%; left: 58%; }
.node-b { top: 39%; left: 86%; animation-delay: 0.8s; }
.node-c { top: 66%; left: 72%; animation-delay: 1.5s; }
.node-d { top: 78%; left: 33%; animation-delay: 2.1s; }
 
.hero-copy,
.hero-panel {
  position: relative;
  z-index: 2;
}

.hero-copy {
  max-width: 850px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  color: var(--blue-dark);
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-size: clamp(2.7rem, 6vw, 5.8rem);
  font-weight: 600;
  line-height: 0.98;
}

h2 {
  margin-bottom: 18px;
  color: var(--blue-dark);
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.7rem);
  font-weight: 600;
  line-height: 1.04;
}

h3 {
  margin-bottom: 10px;
  color: var(--blue-dark);
  font-family: "Lora", Georgia, "Times New Roman", serif;
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.2;
}

.hero-copy > p:not(.eyebrow),
.section-heading p,
.intro-band > div > p,
.contact-section p {
  max-width: 720px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 20px;
  border: 1px solid var(--blue);
  border-radius: 6px;
  font-weight: 800;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(10, 94, 102, 0.14);
}

.button.primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 14px 38px rgba(10, 94, 102, 0.2);
}

.button.secondary {
  background: transparent;
  color: var(--blue-dark);
}

.hero-panel {
  display: grid;
  gap: 16px;
}

.hero-panel > div {
  padding: 24px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.hero-panel > div:hover {
  transform: translateY(-4px);
  border-color: rgba(10, 94, 102, 0.34);
  box-shadow: 0 24px 70px rgba(10, 94, 102, 0.14);
}

.seal-card {
  display: grid;
  gap: 14px;
}

.seal-card img {
  width: 132px;
  height: auto;
}

.metric {
  display: block;
  color: var(--gold);
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-size: 3.2rem;
  line-height: 1;
}

.hero-panel p {
  margin: 8px 0 0;
  color: var(--muted);
}

.intro-band,
.section,
.contact-section {
  padding: clamp(56px, 8vw, 104px) clamp(20px, 5vw, 72px);
}

.intro-band {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(28px, 6vw, 72px);
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.intro-band::before,
.directory-section::before {
  content: "";
  position: absolute;
  inset: -20%;
  background: linear-gradient(110deg, transparent 0%, rgba(114, 208, 200, 0.16) 38%, rgba(244, 223, 138, 0.2) 50%, transparent 64%);
  transform: translateX(-42%);
  animation: paletteSweep 14s ease-in-out infinite;
  pointer-events: none;
}

.intro-band > *,
.directory-section > * {
  position: relative;
  z-index: 1;
}

.signal-rail {
  overflow: hidden;
  padding: 18px 0;
  background: linear-gradient(90deg, var(--blue-dark), var(--blue), var(--teal-light), var(--gold-soft));
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.rail-track {
  display: flex;
  width: max-content;
  gap: 18px;
  animation: railMove 28s linear infinite;
}

.rail-track span {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.rail-track span::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-soft);
  box-shadow: 0 0 18px rgba(244, 223, 138, 0.7);
}

.video-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(300px, 1.18fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding: clamp(64px, 8vw, 112px) clamp(20px, 5vw, 72px);
  background: var(--blue-dark);
  color: var(--white);
  overflow: hidden;
}

.section-video-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.section-video-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.28;
  filter: saturate(0.78) contrast(1.12);
}

.section-video-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(5, 63, 69, 0.96) 0%, rgba(10, 94, 102, 0.75) 48%, rgba(5, 63, 69, 0.9) 100%),
    radial-gradient(circle at 72% 45%, rgba(244, 223, 138, 0.2), transparent 42%);
}

.video-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: repeating-linear-gradient(120deg, rgba(255, 255, 255, 0.07) 0 1px, transparent 1px 22px);
  animation: gridDrift 30s linear infinite reverse;
}

.video-copy,
.video-concept {
  position: relative;
  z-index: 2;
}

.video-copy h2 {
  color: var(--white);
}

.video-copy p:not(.eyebrow) {
  max-width: 640px;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
}

.video-concept {
  min-height: 360px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.03)),
    radial-gradient(circle at 62% 45%, rgba(244, 223, 138, 0.18), transparent 42%);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.24);
  overflow: hidden;
}

.constellation {
  position: absolute;
  inset: 0;
}

.constellation::before,
.constellation::after {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(114, 208, 200, 0.85), rgba(244, 223, 138, 0.72), transparent);
  animation: signalSweep 4.8s ease-in-out infinite;
}

.constellation::before {
  top: 34%;
  transform: rotate(12deg);
}

.constellation::after {
  top: 62%;
  transform: rotate(-10deg);
  animation-delay: 1.4s;
}

.constellation span {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.72);
  background: rgba(114, 208, 200, 0.76);
  box-shadow: 0 0 24px rgba(114, 208, 200, 0.52), 0 0 42px rgba(244, 223, 138, 0.22);
  animation: nodePulse 3.4s ease-in-out infinite;
}

.constellation span:nth-child(1) { left: 16%; top: 31%; }
.constellation span:nth-child(2) { left: 44%; top: 22%; animation-delay: 0.5s; }
.constellation span:nth-child(3) { left: 73%; top: 38%; animation-delay: 1s; }
.constellation span:nth-child(4) { left: 29%; top: 68%; animation-delay: 1.6s; }
.constellation span:nth-child(5) { left: 67%; top: 71%; animation-delay: 2.1s; }

.video-card {
  position: absolute;
  left: 32px;
  right: 32px;
  bottom: 32px;
  display: grid;
  gap: 6px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  background: rgba(8, 22, 34, 0.68);
  backdrop-filter: blur(18px);
}

.video-card strong {
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-size: 2.8rem;
  line-height: 1;
}

.video-card span {
  color: rgba(255, 255, 255, 0.74);
  font-weight: 700;
}

.principles,
.discipline-grid,
.director-grid,
.member-grid {
  display: grid;
  gap: 16px;
}

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

.principles article,
.discipline-grid article,
.member-card {
  min-width: 0;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.principles article:hover,
.discipline-grid article:hover,
.member-card:hover,
.director-card:hover {
  transform: translateY(-4px);
  border-color: rgba(10, 94, 102, 0.34);
  box-shadow: 0 18px 48px rgba(10, 94, 102, 0.1);
}

.principles p,
.discipline-grid p,
.member-card p,
.director-card p,
.benefit-list p {
  margin-bottom: 0;
  color: var(--muted);
}

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

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

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 72px);
  background:
    linear-gradient(120deg, rgba(5, 63, 69, 0.98), rgba(10, 94, 102, 0.94) 55%, rgba(216, 184, 79, 0.78)),
    var(--blue-dark);
}

.split h2,
.split .eyebrow {
  color: var(--white);
}

.benefit-list {
  display: grid;
  gap: 12px;
}

.benefit-list p {
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.84);
}

.directory-section {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(233, 247, 245, 0.94) 55%, rgba(255, 248, 221, 0.72)),
    repeating-linear-gradient(90deg, rgba(10, 94, 102, 0.08) 0 1px, transparent 1px 44px);
}

.directory-toolbar {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(220px, 340px);
  gap: 14px;
  margin-bottom: 18px;
}

.directory-toolbar label {
  display: grid;
  gap: 8px;
  color: var(--blue-dark);
  font-size: 0.85rem;
  font-weight: 800;
}

input,
select {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  font: inherit;
}

input:focus,
select:focus {
  outline: 3px solid rgba(114, 208, 200, 0.24);
  border-color: var(--teal);
}

.directory-summary {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 18px 0;
  color: var(--muted);
}

.directory-summary strong {
  color: var(--blue-dark);
  font-size: 1.5rem;
}

.directory-preview {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.directory-preview p {
  margin: 8px 0 0;
  color: var(--muted);
}

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

.member-grid > .button {
  grid-column: 1 / -1;
  justify-self: center;
  margin-top: 8px;
}

.member-card {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 152px;
}

.member-card.empty-state {
  grid-column: 1 / -1;
  min-height: 190px;
  align-content: center;
  text-align: center;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.76)),
    repeating-linear-gradient(120deg, rgba(10, 94, 102, 0.08) 0 1px, transparent 1px 22px);
}

.member-id {
  display: inline-flex;
  width: fit-content;
  padding: 4px 8px;
  background: rgba(216, 184, 79, 0.16);
  border-radius: 999px;
  color: #7a6320;
  font-size: 0.78rem;
  font-weight: 800;
}

.member-card h3 {
  margin-bottom: 0;
  font-size: 1rem;
}

.member-card p {
  font-size: 0.92rem;
}

.result-enter {
  animation: cardIn 0.42s ease both;
}

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

.director-card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.director-card img,
.director-card .initials {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 18%;
  background: #dfe9ee;
  transition: transform 0.5s ease, filter 0.5s ease;
}

.director-card:hover img {
  transform: scale(1.045);
  filter: saturate(1.04) contrast(1.03);
}

.director-card h3,
.director-card p {
  padding-inline: 18px;
}

.director-card h3 {
  margin: 18px 0 6px;
}

.director-card p {
  margin-bottom: 20px;
}

.initials {
  display: grid;
  place-items: center;
  color: var(--blue-dark);
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-size: 3rem;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 32px;
  background: var(--white);
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(76px, 10vw, 132px) clamp(20px, 5vw, 72px) clamp(48px, 7vw, 86px);
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.96), rgba(233, 247, 245, 0.82)),
    linear-gradient(135deg, #ffffff 0%, #e9f7f5 58%, #fff8dd 100%);
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(10, 94, 102, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 94, 102, 0.08) 1px, transparent 1px);
  background-size: 56px 56px;
  animation: gridDrift 24s linear infinite;
}

.page-hero > * {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  max-width: 900px;
}

.page-hero p:not(.eyebrow) {
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.6vw, 1.24rem);
}

.content-band {
  position: relative;
  overflow: hidden;
  padding: clamp(56px, 8vw, 104px) clamp(20px, 5vw, 72px);
  background: var(--white);
}

.content-band.tinted {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(233, 247, 245, 0.9)),
    var(--mist);
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 6vw, 72px);
}

.text-list {
  display: grid;
  gap: 14px;
}

.text-list p,
.note-card,
.alliance-card {
  padding: 20px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
}

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

.note-card,
.alliance-card {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 190px;
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.note-card:hover,
.alliance-card:hover {
  transform: translateY(-4px);
  border-color: rgba(10, 94, 102, 0.34);
  box-shadow: 0 18px 48px rgba(10, 94, 102, 0.1);
}

.timeline {
  display: grid;
  gap: 16px;
  counter-reset: step;
}

.timeline article {
  position: relative;
  padding: 22px 22px 22px 68px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.timeline article::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 22px;
  top: 22px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: var(--blue);
  color: var(--white);
  font-weight: 900;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(220px, 0.9fr) minmax(190px, 0.7fr) minmax(260px, 1fr);
  gap: clamp(22px, 4vw, 48px);
  padding: clamp(34px, 5vw, 56px) clamp(20px, 5vw, 72px);
  background: var(--blue-dark);
  color: rgba(255, 255, 255, 0.78);
}

.site-footer img {
  width: 140px;
  filter: brightness(0) invert(1);
}

.site-footer p {
  margin: 0;
}

.footer-brand,
.footer-links,
.newsletter-form,
.footer-legal {
  display: grid;
  align-content: start;
  gap: 12px;
}

.footer-brand p {
  max-width: 320px;
}

.footer-links h2,
.newsletter-form label {
  margin: 0;
  color: var(--white);
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

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

.footer-links h2 {
  grid-column: 1 / -1;
}

.footer-links a,
.footer-legal a,
.footer-link-button {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 700;
}

.footer-links a:hover,
.footer-legal a:hover,
.footer-link-button:hover {
  color: var(--gold-soft);
}

.footer-link-button {
  padding: 0;
  background: transparent;
  border: 0;
  cursor: pointer;
  font: inherit;
}

.newsletter-form div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.newsletter-form input {
  min-height: 46px;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--white);
}

.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.54);
}

.newsletter-form .button {
  border-color: var(--gold-soft);
  background: var(--gold-soft);
  color: var(--blue-dark);
}

.newsletter-form p {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.9rem;
}

.footer-legal {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.legal-content {
  max-width: 900px;
}

.legal-content h2 {
  margin: 34px 0 10px;
  font-family: inherit;
  font-size: 1.3rem;
  font-weight: 900;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p {
  color: var(--muted);
}

.legal-content ul {
  display: grid;
  gap: 10px;
  margin: 12px 0 24px;
  padding-left: 22px;
  color: var(--muted);
}

.legal-content li::marker {
  color: var(--blue);
}

.legal-content h3 {
  margin: 28px 0 10px;
}

.legal-copy {
  margin-top: 42px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-weight: 700;
}

.legal-table-wrap {
  overflow-x: auto;
  margin: 18px 0 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.legal-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

.legal-table th,
.legal-table td {
  padding: 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.legal-table th {
  background: var(--mist);
  color: var(--blue-dark);
  font-size: 0.9rem;
}

.legal-table td {
  color: var(--muted);
  font-size: 0.92rem;
}

.cookie-banner {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  width: 100%;
  padding: 12px clamp(16px, 4vw, 42px);
  background: rgba(255, 255, 255, 0.97);
  border-top: 1px solid rgba(10, 94, 102, 0.18);
  box-shadow: 0 -14px 42px rgba(5, 63, 69, 0.12);
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
  transition: opacity 0.24s ease, transform 0.24s ease;
}

.cookie-banner.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.cookie-preferences h2 {
  margin-bottom: 8px;
  font-size: clamp(1.7rem, 2.4vw, 2.2rem);
}

.cookie-copy p:not(.eyebrow),
.cookie-preferences p {
  margin-bottom: 0;
  color: var(--muted);
}

.cookie-copy p {
  font-size: 0.92rem;
}

.cookie-copy a {
  color: var(--blue);
  font-weight: 800;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.cookie-banner .button {
  min-height: 38px;
  padding: 8px 12px;
  font-size: 0.84rem;
}

.cookie-preferences {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(5, 63, 69, 0.42);
  backdrop-filter: blur(10px);
}

.cookie-preferences[hidden] {
  display: none;
}

.cookie-preferences-panel {
  display: grid;
  gap: 16px;
  width: min(620px, 100%);
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 30px 90px rgba(5, 63, 69, 0.22);
}

.cookie-option {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.cookie-option h3 {
  margin-bottom: 4px;
}

.cookie-option p {
  margin: 0;
  font-size: 0.94rem;
}

.cookie-option span {
  color: var(--blue);
  font-weight: 900;
}

.cookie-option input {
  width: 22px;
  min-height: 22px;
  accent-color: var(--blue);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.principles article,
.discipline-grid article,
.benefit-list p,
.director-card {
  animation: floatSoft 7s ease-in-out infinite;
}

.principles article:nth-child(2),
.discipline-grid article:nth-child(2),
.benefit-list p:nth-child(2),
.director-card:nth-child(2) {
  animation-delay: 0.8s;
}

.principles article:nth-child(3),
.discipline-grid article:nth-child(3),
.benefit-list p:nth-child(3),
.director-card:nth-child(3) {
  animation-delay: 1.6s;
}

@media (max-width: 1100px) {
  .member-grid,
  .director-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 821px) {
  .cookie-banner .cookie-actions {
    flex-wrap: nowrap;
  }
}

@media (max-width: 820px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  .brand {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .brand img {
    width: 190px;
  }

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

  .hero,
  .intro-band,
  .video-section,
  .split,
  .contact-section,
  .two-column {
    grid-template-columns: 1fr;
  }

  .principles,
  .discipline-grid,
  .member-grid,
  .director-grid,
  .directory-toolbar,
  .page-grid,
  .alliance-grid,
  .news-grid {
    grid-template-columns: 1fr;
  }

  .directory-preview {
    align-items: flex-start;
    flex-direction: column;
  }

  .contact-actions {
    margin-top: 0;
  }

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

  .footer-legal {
    grid-column: auto;
  }

  .newsletter-form div {
    grid-template-columns: 1fr;
  }

  .cookie-banner {
    grid-template-columns: 1fr;
    align-items: start;
    max-height: calc(100vh - 32px);
    overflow-y: auto;
    padding: 12px 14px;
  }

  .cookie-actions {
    justify-content: stretch;
  }

  .cookie-actions .button {
    width: 100%;
  }

  .cookie-option {
    grid-template-columns: 1fr;
  }

  .video-concept {
    min-height: 300px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}

@keyframes railMove {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@keyframes floatSoft {
  0%,
  100% {
    translate: 0 0;
  }

  50% {
    translate: 0 -5px;
  }
}

@keyframes cardIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes paletteSweep {
  0%,
  100% {
    transform: translateX(-42%);
    opacity: 0.52;
  }

  50% {
    transform: translateX(42%);
    opacity: 0.86;
  }
}

@keyframes gridDrift {
  from {
    background-position: 0 0, 0 0;
  }

  to {
    background-position: 112px 56px, 112px 56px;
  }
}

@keyframes signalSweep {
  0%,
  100% {
    opacity: 0.25;
    filter: saturate(0.8);
  }

  50% {
    opacity: 0.95;
    filter: saturate(1.25);
  }
}

@keyframes nodePulse {
  0%,
  100% {
    transform: scale(0.88);
    opacity: 0.58;
  }

  50% {
    transform: scale(1.18);
    opacity: 1;
  }
}
