:root {
  --ink: #14213d;
  --ink-soft: #34405b;
  --paper: #fffaf1;
  --white: #ffffff;
  --red: #e72d4f;
  --orange: #f47b20;
  --yellow: #ffd500;
  --green: #51b94b;
  --blue: #008fd5;
  --purple: #6d2c79;
  --line: rgba(20, 33, 61, 0.14);
  --shadow: 0 18px 50px rgba(20, 33, 61, 0.12);
  --radius-lg: 32px;
  --radius-md: 20px;
  --radius-sm: 12px;
  --content: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 4%, rgba(255, 213, 0, 0.16), transparent 20rem),
    radial-gradient(circle at 92% 22%, rgba(0, 143, 213, 0.11), transparent 26rem),
    var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

body.menu-open,
body.lightbox-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

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

button,
.button {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1000;
  transform: translateY(-180%);
  padding: 0.75rem 1rem;
  border-radius: 999px;
  color: var(--white);
  background: var(--ink);
}

.skip-link:focus {
  transform: translateY(0);
}

.shell {
  width: min(calc(100% - 2rem), var(--content));
  margin-inline: auto;
}

.announcement {
  color: var(--white);
  background: var(--ink);
  font-size: 0.88rem;
}

.announcement-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 42px;
}

.announcement p {
  margin: 0;
}

.quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem;
  font-weight: 750;
}

.quick-links a {
  text-decoration: none;
}

.quick-links a:hover {
  color: var(--yellow);
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(20, 33, 61, 0.08);
  background: rgba(255, 250, 241, 0.93);
  backdrop-filter: blur(18px);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  min-height: 88px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-right: auto;
  text-decoration: none;
}

.brand img {
  width: 62px;
  height: 62px;
  object-fit: contain;
}

.brand-text {
  display: grid;
  line-height: 1.15;
}

.brand-text strong {
  font-size: 1rem;
  letter-spacing: 0.01em;
}

.brand-text span {
  color: var(--ink-soft);
  font-size: 0.78rem;
}

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

.nav-links a {
  padding: 0.62rem 0.68rem;
  border-radius: 10px;
  font-size: 0.92rem;
  font-weight: 760;
  text-decoration: none;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--red);
  background: rgba(231, 45, 79, 0.08);
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  border-radius: 14px;
  color: var(--white);
  background: var(--ink);
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  border-radius: 2px;
  background: currentColor;
  content: "";
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle[aria-expanded="true"] span {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"]::before {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"]::after {
  transform: translateY(-7px) rotate(-45deg);
}

main {
  min-height: 62vh;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(4.5rem, 8vw, 8rem) 0 clamp(4rem, 7vw, 7rem);
}

.hero::after {
  position: absolute;
  right: -15vw;
  bottom: -21rem;
  width: 42rem;
  height: 42rem;
  border: 95px solid rgba(244, 123, 32, 0.12);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(340px, 0.88fr);
  align-items: center;
  gap: clamp(2.5rem, 6vw, 6rem);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 1.25rem;
  color: var(--red);
  font-size: 0.79rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 30px;
  height: 4px;
  border-radius: 10px;
  background: linear-gradient(90deg, var(--red), var(--orange), var(--yellow));
  content: "";
}

.display-title,
.page-title {
  margin: 0;
  font-size: clamp(3.1rem, 8vw, 7rem);
  font-weight: 950;
  letter-spacing: -0.065em;
  line-height: 0.89;
  text-wrap: balance;
}

.display-title span {
  display: block;
  color: transparent;
  background: linear-gradient(102deg, var(--red) 0%, var(--orange) 38%, #eeaf00 74%, var(--green) 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.lead {
  max-width: 720px;
  margin: 1.75rem 0 0;
  color: var(--ink-soft);
  font-size: clamp(1.08rem, 2.2vw, 1.35rem);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 50px;
  padding: 0.8rem 1.2rem;
  border: 2px solid var(--ink);
  border-radius: 999px;
  color: var(--white);
  background: var(--ink);
  font-weight: 820;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(20, 33, 61, 0.17);
}

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

.button.secondary:hover {
  background: var(--white);
}

.button.red {
  border-color: var(--red);
  background: var(--red);
}

.hero-art {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 470px;
}

.hero-art::before,
.hero-art::after {
  position: absolute;
  border-radius: 50%;
  content: "";
}

.hero-art::before {
  width: 94%;
  aspect-ratio: 1;
  background: conic-gradient(from 125deg, var(--yellow), var(--green), var(--blue), var(--purple), var(--red), var(--orange), var(--yellow));
  box-shadow: var(--shadow);
}

.hero-art::after {
  width: 77%;
  aspect-ratio: 1;
  background: var(--white);
}

.hero-art img {
  position: relative;
  z-index: 2;
  width: 84%;
  max-height: 390px;
  object-fit: contain;
  filter: drop-shadow(0 24px 18px rgba(20, 33, 61, 0.17));
}

.floating-note {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 0;
  max-width: 260px;
  padding: 1rem 1.1rem;
  border: 2px solid var(--ink);
  border-radius: 16px;
  background: var(--yellow);
  font-size: 0.9rem;
  font-weight: 780;
  transform: rotate(-2deg);
}

.section {
  padding: clamp(4.5rem, 8vw, 7rem) 0;
}

.section.compact {
  padding: 3rem 0;
}

.section.dark {
  color: var(--white);
  background: var(--ink);
}

.section.white {
  background: rgba(255, 255, 255, 0.72);
}

.section.red-wash {
  background: rgba(231, 45, 79, 0.06);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2.2rem;
}

.section-head h2,
.content-title {
  margin: 0;
  font-size: clamp(2rem, 5vw, 4.25rem);
  font-weight: 930;
  letter-spacing: -0.045em;
  line-height: 0.98;
  text-wrap: balance;
}

.section-head p {
  max-width: 520px;
  margin: 0;
  color: var(--ink-soft);
}

.dark .section-head p {
  color: rgba(255, 255, 255, 0.73);
}

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

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

.card {
  position: relative;
  overflow: hidden;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: 0 9px 30px rgba(20, 33, 61, 0.07);
}

.card h3 {
  margin: 0.35rem 0 0.65rem;
  font-size: 1.35rem;
  line-height: 1.15;
}

.card p {
  margin: 0;
  color: var(--ink-soft);
}

.card .text-link {
  display: inline-flex;
  margin-top: 1.1rem;
  color: var(--red);
  font-weight: 830;
  text-underline-offset: 4px;
}

.date-tile {
  display: inline-grid;
  place-items: center;
  min-width: 74px;
  min-height: 74px;
  padding: 0.35rem;
  border-radius: 18px;
  color: var(--ink);
  background: var(--yellow);
  font-size: 0.8rem;
  font-weight: 850;
  line-height: 1.05;
  text-align: center;
  text-transform: uppercase;
}

.date-tile strong {
  font-size: 1.7rem;
}

.event-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.event-card h3 {
  margin-top: 0;
}

.event-meta {
  margin-top: 0.8rem !important;
  font-size: 0.88rem;
  font-weight: 760;
}

.trio-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2.5rem;
  align-items: stretch;
}

.photo-placeholder {
  display: grid;
  place-items: center;
  min-height: 390px;
  padding: 2rem;
  border: 2px dashed rgba(255, 255, 255, 0.38);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(231, 45, 79, 0.92), rgba(109, 44, 121, 0.86)),
    var(--purple);
  text-align: center;
}

.photo-placeholder img {
  width: min(480px, 70%);
  max-height: 480x;
  margin: 0 auto 1.2rem;
  object-fit: contain;
  filter: drop-shadow(0 16px 14px rgba(0, 0, 0, 0.17));
}

.photo-placeholder strong {
  display: block;
  font-size: 1.15rem;
}

.photo-placeholder span {
  display: block;
  max-width: 320px;
  margin-top: 0.4rem;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.91rem;
}

.trio-copy {
  display: grid;
  align-content: center;
  gap: 1.15rem;
}

.regent {
  padding: 1.1rem 1.2rem;
  border-left: 5px solid var(--yellow);
  border-radius: 0 16px 16px 0;
  background: rgba(255, 255, 255, 0.08);
}

.regent:nth-child(2) {
  border-color: var(--red);
}

.regent:nth-child(3) {
  border-color: var(--green);
}

.regent h3 {
  margin: 0;
  font-size: 1.35rem;
}

.regent p {
  margin: 0.25rem 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.social-card {
  min-height: 230px;
}

.social-card::after {
  position: absolute;
  right: -28px;
  bottom: -42px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: var(--accent, var(--yellow));
  opacity: 0.22;
  content: "";
}

.social-label,
.tag {
  display: inline-flex;
  align-items: center;
  min-height: 27px;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  color: var(--ink);
  background: var(--yellow);
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.page-hero {
  padding: clamp(4rem, 7vw, 7rem) 0 4rem;
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  align-items: center;
  gap: 3rem;
}

.page-title {
  max-width: 850px;
  font-size: clamp(3rem, 7vw, 6rem);
}

.page-hero .lead {
  max-width: 760px;
}

.page-symbol {
  display: grid;
  place-items: center;
  min-height: 310px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--yellow), var(--orange));
  box-shadow: var(--shadow);
}

.page-symbol img {
  width: min(290px, 78%);
  max-height: 270px;
  object-fit: contain;
  filter: drop-shadow(0 16px 15px rgba(20, 33, 61, 0.2));
}

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

.feature {
  padding: 1.35rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.82);
}

.feature strong {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 1.06rem;
}

.feature p {
  margin: 0;
  color: var(--ink-soft);
}

.trainer-section {
  background:
    radial-gradient(circle at 8% 18%, rgba(255, 213, 0, 0.16), transparent 25rem),
    radial-gradient(circle at 92% 78%, rgba(0, 143, 213, 0.2), transparent 28rem),
    var(--ink);
}

.trainer-section .feature {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-top: 6px solid var(--red);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.18);
}

.trainer-section .feature:nth-child(4n + 2) {
  border-top-color: var(--orange);
}

.trainer-section .feature:nth-child(4n + 3) {
  border-top-color: var(--green);
}

.trainer-section .feature:nth-child(4n + 4) {
  border-top-color: var(--blue);
}

.trainer-section .feature strong {
  color: var(--ink);
}

.trainer-section .feature p {
  color: var(--ink-soft);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
}

.split.top {
  align-items: start;
}

.poster-frame {
  overflow: hidden;
  border: 10px solid var(--white);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow);
  transform: rotate(-1.2deg);
}

.poster-frame img {
  width: 100%;
  max-height: 740px;
  object-fit: cover;
  object-position: top;
}

.prose {
  max-width: 780px;
}

.prose h2,
.prose h3 {
  margin-top: 2rem;
  line-height: 1.1;
}

.prose h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.035em;
}

.prose p,
.prose li {
  color: var(--ink-soft);
}

.prose a {
  color: var(--red);
  font-weight: 750;
}

.check-list {
  display: grid;
  gap: 0.65rem;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 1.8rem;
}

.check-list li::before {
  position: absolute;
  top: 0.13rem;
  left: 0;
  display: grid;
  place-items: center;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  color: var(--white);
  background: var(--green);
  font-size: 0.75rem;
  font-weight: 900;
  content: "✓";
}

.notice {
  padding: 1rem 1.15rem;
  border-left: 5px solid var(--orange);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--ink-soft);
  background: rgba(244, 123, 32, 0.1);
}

.notice strong {
  color: var(--ink);
}

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

.person-card {
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
}

.person-avatar {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 1rem;
  border-radius: 18px;
  color: var(--white);
  background: linear-gradient(135deg, var(--red), var(--purple));
  font-size: 1.25rem;
  font-weight: 900;
}

.person-card h3 {
  margin: 0;
  font-size: 1.08rem;
}

.person-card p {
  margin: 0.15rem 0 0;
  color: var(--ink-soft);
  font-size: 0.88rem;
}

.history-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 2rem;
}

.history-tools label {
  font-weight: 800;
}

.history-tools input {
  min-width: min(100%, 320px);
  min-height: 48px;
  padding: 0.7rem 1rem;
  border: 2px solid var(--line);
  border-radius: 999px;
  background: var(--white);
}

.timeline {
  position: relative;
  display: grid;
  gap: 1.2rem;
}

.timeline::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 31px;
  width: 4px;
  border-radius: 4px;
  background: linear-gradient(var(--red), var(--orange), var(--yellow), var(--green), var(--blue), var(--purple));
  content: "";
}

.history-card {
  position: relative;
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 1rem;
}

.history-card[hidden] {
  display: none;
}

.history-marker {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border: 5px solid var(--paper);
  border-radius: 50%;
  color: var(--white);
  background: var(--ink);
  font-size: 0.76rem;
  font-weight: 900;
  line-height: 1.05;
  text-align: center;
}

.history-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 170px;
  gap: 1.3rem;
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
}

.history-content h2 {
  margin: 0 0 0.75rem;
  font-size: 1.45rem;
}

.history-names {
  display: grid;
  gap: 0.7rem;
}

.history-names p {
  margin: 0;
  color: var(--ink-soft);
}

.history-names strong {
  color: var(--ink);
}

.history-photo {
  display: grid;
  place-items: center;
  min-height: 140px;
  padding: 1rem;
  border: 2px dashed var(--line);
  border-radius: 16px;
  color: var(--ink-soft);
  background: rgba(0, 143, 213, 0.05);
  font-size: 0.82rem;
  font-weight: 760;
  text-align: center;
}

.history-photo:has(img) {
  padding: 0;
  border-style: solid;
  cursor: zoom-in;
  overflow: hidden;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.history-photo:has(img):hover,
.history-photo:has(img):focus-visible {
  border-color: var(--blue);
  box-shadow: 0 12px 28px rgba(20, 33, 61, 0.18);
  transform: translateY(-3px);
}

.history-photo img {
  width: 100%;
  height: 100%;
  min-height: 140px;
  object-fit: cover;
  transition: transform 220ms ease;
}

.history-photo:has(img):hover img,
.history-photo:has(img):focus-visible img {
  transform: scale(1.035);
}

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 4vw, 3rem);
  background: rgba(6, 12, 26, 0.92);
  backdrop-filter: blur(10px);
}

.image-lightbox[hidden] {
  display: none;
}

.image-lightbox-content {
  position: relative;
  display: grid;
  max-width: min(1100px, 96vw);
  max-height: 94vh;
  margin: auto;
}

.image-lightbox img {
  display: block;
  max-width: 100%;
  max-height: calc(94vh - 4rem);
  border: 8px solid var(--white);
  border-radius: 18px;
  object-fit: contain;
  background: var(--white);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.5);
}

.image-lightbox-close {
  position: absolute;
  z-index: 2;
  top: -18px;
  right: -18px;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 3px solid var(--white);
  border-radius: 50%;
  color: var(--white);
  background: var(--red);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

.image-lightbox-caption {
  margin: 0.75rem 0 0;
  color: var(--white);
  font-weight: 820;
  text-align: center;
}

.empty-result {
  padding: 1rem 0 0 80px;
  font-weight: 760;
}

.dance-card {
  display: grid;
  min-height: 300px;
}

.dance-badge {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  margin-bottom: 1.1rem;
  border-radius: 24px;
  color: var(--white);
  background: linear-gradient(135deg, var(--red), var(--orange));
  font-size: 1.35rem;
  font-weight: 950;
}

.dance-card:nth-child(2n) .dance-badge {
  background: linear-gradient(135deg, var(--blue), var(--purple));
}

.dance-card:nth-child(3n) .dance-badge {
  color: var(--ink);
  background: linear-gradient(135deg, var(--yellow), var(--green));
}

.dance-details {
  display: grid;
  gap: 0.5rem;
  align-self: end;
  margin-top: 1.3rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-size: 0.88rem;
}

.dance-details span {
  color: var(--ink-soft);
}

.dance-details strong {
  color: var(--ink);
}

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

.download-card {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
}

.file-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 68px;
  border-radius: 10px;
  color: var(--white);
  background: var(--red);
  font-size: 0.77rem;
  font-weight: 900;
}

.download-card h3 {
  margin: 0;
  font-size: 1.06rem;
}

.download-card p {
  margin: 0.2rem 0 0;
  color: var(--ink-soft);
  font-size: 0.84rem;
}

.download-link {
  display: inline-grid;
  place-items: center;
  min-height: 42px;
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
  color: var(--white);
  background: var(--ink);
  font-size: 0.82rem;
  font-weight: 820;
  text-decoration: none;
}

.brand-download {
  display: grid;
  grid-template-columns: 280px 1fr;
  align-items: center;
  gap: 2rem;
  padding: clamp(1.5rem, 4vw, 3rem);
  border-radius: var(--radius-lg);
  color: var(--white);
  background: var(--ink);
}

.brand-download img {
  width: 100%;
  max-height: 230px;
  padding: 1rem;
  border-radius: 18px;
  object-fit: contain;
  background: var(--white);
}

.brand-download h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1;
}

.brand-download p {
  color: rgba(255, 255, 255, 0.72);
}

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

.partner-card {
  display: grid;
  place-items: center;
  min-height: 170px;
  padding: 1.4rem;
  border: 2px dashed var(--line);
  border-radius: var(--radius-md);
  color: var(--ink-soft);
  background: var(--white);
  font-weight: 780;
  text-align: center;
}

.form-card {
  padding: clamp(1.4rem, 4vw, 2.5rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow);
}

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

.form-field {
  display: grid;
  gap: 0.4rem;
}

.form-field.full {
  grid-column: 1 / -1;
}

.form-field label,
.form-field legend {
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 820;
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  min-height: 50px;
  padding: 0.75rem 0.9rem;
  border: 2px solid var(--line);
  border-radius: 13px;
  color: var(--ink);
  background: #fffefa;
}

.form-field textarea {
  min-height: 150px;
  resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  border-color: var(--blue);
  outline: 0;
}

.form-status {
  display: none;
  margin: 1rem 0 0;
  padding: 0.8rem 1rem;
  border-radius: 12px;
  background: rgba(81, 185, 75, 0.13);
  font-weight: 740;
}

.form-status.visible {
  display: block;
}

.drop-zone {
  display: grid;
  place-items: center;
  min-height: 280px;
  padding: 2rem;
  border: 3px dashed rgba(0, 143, 213, 0.36);
  border-radius: var(--radius-lg);
  background: rgba(0, 143, 213, 0.06);
  text-align: center;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.drop-zone.dragging {
  border-color: var(--blue);
  background: rgba(0, 143, 213, 0.13);
  transform: scale(1.01);
}

.drop-zone strong {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 1.35rem;
}

.drop-zone p {
  margin: 0;
  color: var(--ink-soft);
}

.drop-icon {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin-bottom: 1rem;
  border-radius: 24px;
  color: var(--white);
  background: var(--blue);
  font-size: 2rem;
  font-weight: 900;
}

.file-list {
  display: grid;
  gap: 0.65rem;
  margin-top: 1rem;
}

.selected-file {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 1rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
}

.selected-file strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.selected-file span {
  color: var(--ink-soft);
  font-size: 0.82rem;
  white-space: nowrap;
}

.contact-cards {
  display: grid;
  gap: 1rem;
}

.contact-card {
  padding: 1.3rem;
  border-radius: var(--radius-md);
  color: var(--white);
  background: var(--ink);
}

.contact-card:nth-child(2) {
  color: var(--ink);
  background: var(--yellow);
}

.contact-card:nth-child(3) {
  background: var(--red);
}

.contact-card span {
  display: block;
  margin-bottom: 0.3rem;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-card a,
.contact-card strong {
  font-size: 1.12rem;
  font-weight: 850;
  text-decoration: none;
}

.site-footer {
  color: var(--white);
  background: #0d172c;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 3rem;
  padding: 4rem 0 2.5rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-brand img {
  width: 90px;
  height: 90px;
  padding: 0.35rem;
  border-radius: 20px;
  object-fit: contain;
  background: var(--white);
}

.footer-brand strong {
  display: block;
  font-size: 1.1rem;
}

.footer-brand p {
  max-width: 370px;
  margin: 0.35rem 0 0;
  color: rgba(255, 255, 255, 0.63);
}

.footer-group h2 {
  margin: 0 0 0.85rem;
  color: var(--yellow);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.footer-links a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.3rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.82rem;
}

.footer-bottom p {
  margin: 0;
}

@media (max-width: 1080px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 130px;
    right: 1rem;
    left: 1rem;
    display: grid;
    max-height: calc(100vh - 150px);
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: var(--white);
    box-shadow: var(--shadow);
    overflow-y: auto;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-14px);
    transition: opacity 160ms ease, transform 160ms ease;
  }

  .nav-links.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-links a {
    padding: 0.85rem 0.9rem;
  }

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

@media (max-width: 850px) {
  .announcement-inner {
    justify-content: center;
  }

  .announcement p {
    display: none;
  }

  .hero-grid,
  .page-hero-grid,
  .trio-grid,
  .split {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    text-align: center;
  }

  .hero-copy .lead {
    margin-inline: auto;
  }

  .hero-copy .button-row,
  .hero-copy .eyebrow {
    justify-content: center;
  }

  .hero-art {
    width: min(100%, 540px);
    margin-inline: auto;
  }

  .page-symbol {
    min-height: 270px;
  }

  .section-head {
    display: grid;
  }

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

  .download-grid {
    grid-template-columns: 1fr;
  }

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

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

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

  .footer-brand {
    grid-column: 1 / -1;
  }
}

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

  .quick-links {
    gap: 0.75rem;
    font-size: 0.78rem;
  }

  .nav-inner {
    min-height: 76px;
  }

  .brand img {
    width: 50px;
    height: 50px;
  }

  .brand-text span {
    display: none;
  }

  .nav-links {
    top: 118px;
  }

  .hero-art {
    min-height: 340px;
  }

  .floating-note {
    right: 0.3rem;
    max-width: 210px;
    font-size: 0.79rem;
  }

  .card-grid,
  .card-grid.two,
  .feature-grid,
  .partner-grid,
  .board-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .download-card {
    grid-template-columns: 54px 1fr;
  }

  .download-link {
    grid-column: 1 / -1;
  }

  .brand-download {
    grid-template-columns: 1fr;
  }

  .brand-download img {
    width: min(250px, 100%);
  }

  .history-content {
    grid-template-columns: 1fr;
  }

  .history-photo {
    min-height: 100px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-brand {
    grid-column: auto;
    align-items: flex-start;
  }

  .footer-bottom {
    display: grid;
  }
}

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