/* ===== RESET & BASE ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --navy: #192a45;
  --navy-deep: #0f1b2d;
  --navy-light: #243a5e;
  --navy-subtle: #2c4a73;
  --gold: #c9a84c;
  --gold-light: #dfc06e;
  --gold-pale: #f0e1b5;
  --cream: #faf7f0;
  --white: #ffffff;
  --off-white: #f8f6f1;
  --black: #0a0a0a;
  --text: #2d2d2d;
  --text-muted: #6b6b6b;
  --text-light: rgba(255,255,255,0.7);
  --border-subtle: rgba(201, 168, 76, 0.15);
  --font-display: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.12);
  --shadow-gold: 0 4px 30px rgba(201, 168, 76, 0.15);
  --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-slow: all 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul { list-style: none; }

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

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}

.container-narrow {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 32px;
}

::selection {
  background: var(--gold);
  color: var(--navy-deep);
}

/* ===== NAVIGATION ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: transparent;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(15, 27, 45, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-brand img {
  height: 44px;
  width: auto;
}

.nav-brand .brand-text {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--white);
  font-weight: 600;
  letter-spacing: 2px;
  line-height: 1.2;
}

.nav-brand .brand-sub {
  font-family: var(--font-body);
  font-size: 0.6rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 3px;
  font-weight: 500;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  color: rgba(255,255,255,0.8);
  font-size: 0.78rem;
  font-weight: 500;
  padding: 8px 18px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown .dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: rgba(15, 27, 45, 0.98);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 8px 0;
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-lg);
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 10px 24px;
  font-size: 0.78rem;
  border-radius: 0;
}

.dropdown-menu a:hover {
  background: rgba(201, 168, 76, 0.08);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
  border-radius: 2px;
}

/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.05);
  animation: heroZoom 20s ease-in-out infinite alternate;
}

@keyframes heroZoom {
  0% { transform: scale(1.05); }
  100% { transform: scale(1.12); }
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(15, 27, 45, 0.85) 0%,
    rgba(25, 42, 69, 0.65) 40%,
    rgba(15, 27, 45, 0.80) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 0 32px;
}

.hero-crest {
  width: 140px;
  height: auto;
  margin: 0 auto 32px;
  opacity: 0.95;
  filter: drop-shadow(0 4px 20px rgba(201, 168, 76, 0.2));
  animation: fadeInDown 1s ease 0.2s both;
}

.hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 600;
  letter-spacing: 4px;
  margin-bottom: 8px;
  line-height: 1.1;
  animation: fadeInUp 1s ease 0.4s both;
}

.hero-content .motto {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: var(--gold);
  font-style: italic;
  margin-bottom: 12px;
  letter-spacing: 4px;
  font-weight: 400;
  animation: fadeInUp 1s ease 0.6s both;
}

.hero-content .tagline {
  font-size: 0.95rem;
  opacity: 0.7;
  margin-bottom: 48px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 400;
  animation: fadeInUp 1s ease 0.8s both;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 1s ease 1s both;
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  animation: bounce 2s ease infinite;
}

.hero-scroll span {
  display: block;
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  margin: 0 auto;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(10px); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 0.95; transform: translateY(0); }
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 36px;
  font-size: 0.78rem;
  font-weight: 600;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: var(--transition);
  font-family: var(--font-body);
}

.btn-primary {
  background: var(--gold);
  color: var(--navy-deep);
}

.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.3);
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
}

.btn-navy:hover {
  background: var(--navy-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-white {
  background: var(--white);
  color: var(--navy);
}

.btn-white:hover {
  background: var(--cream);
  transform: translateY(-2px);
}

/* ===== SECTION STYLES ===== */
.section {
  padding: 120px 0;
}

.section-navy {
  background: var(--navy-deep);
  color: var(--white);
}

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

.section-cream {
  background: var(--cream);
}

.section-header {
  text-align: center;
  margin-bottom: 72px;
}

.section-header .label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--gold);
  margin-bottom: 16px;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 600;
  margin-bottom: 16px;
  letter-spacing: 1px;
  line-height: 1.2;
}

.section-header .divider {
  width: 50px;
  height: 2px;
  background: var(--gold);
  margin: 20px auto;
}

.section-header p {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.8;
}

.section-navy .section-header p,
.section-dark .section-header p {
  color: var(--text-light);
}

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
  position: relative;
  padding: 180px 0 100px;
  background: var(--navy-deep);
  color: var(--white);
  text-align: center;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 400px;
  height: 400px;
  background: url('../images/crest-white.png') center/contain no-repeat;
  opacity: 0.03;
}

.page-hero .label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--gold);
  margin-bottom: 16px;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  font-weight: 600;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.page-hero p {
  font-size: 1.1rem;
  opacity: 0.6;
  max-width: 500px;
  margin: 0 auto;
}

/* ===== PILLARS / VALUES ===== */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}

.pillar-card {
  text-align: center;
  padding: 48px 20px;
  border-radius: 8px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(201, 168, 76, 0.1);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.pillar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transition: var(--transition);
}

.pillar-card:hover::before {
  transform: scaleX(1);
}

.pillar-card:hover {
  background: rgba(255,255,255,0.06);
  transform: translateY(-4px);
}

.pillar-card .icon {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: var(--gold);
}

.pillar-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--white);
  letter-spacing: 1px;
}

.pillar-card p {
  font-size: 0.85rem;
  opacity: 0.6;
  line-height: 1.6;
}

/* ===== ABOUT / SPLIT SECTION ===== */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.split-text .label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--gold);
  margin-bottom: 16px;
}

.split-text h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 600;
  margin-bottom: 24px;
  line-height: 1.2;
  letter-spacing: 0.5px;
}

.split-text p {
  margin-bottom: 20px;
  color: var(--text-muted);
  line-height: 1.9;
  font-size: 0.98rem;
}

.split-image {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
}

.split-image img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: 8px;
}

.split-image::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  pointer-events: none;
}

/* ===== STATS ===== */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(201, 168, 76, 0.2);
  border-bottom: 1px solid rgba(201, 168, 76, 0.2);
}

.stat-item {
  text-align: center;
  padding: 48px 16px;
  border-right: 1px solid rgba(201, 168, 76, 0.1);
}

.stat-item:last-child { border-right: none; }

.stat-item .number {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
}

.stat-item .label {
  font-size: 0.75rem;
  margin-top: 10px;
  opacity: 0.5;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 500;
}

/* ===== PHOTO STRIP ===== */
.photo-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  margin: 0;
}

.photo-strip img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  transition: var(--transition-slow);
}

.photo-strip img:hover {
  opacity: 0.85;
}

/* ===== INSTAGRAM FEED ===== */
.instagram-section {
  padding: 100px 0;
  background: var(--cream);
}


/* ===== HISTORY PAGE ===== */
.history-content h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  margin: 48px 0 20px;
  color: var(--navy);
  letter-spacing: 0.5px;
}

.history-content p {
  color: var(--text-muted);
  line-height: 2;
  margin-bottom: 16px;
  font-size: 1.02rem;
}

.purposes-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 32px 0;
}

.purposes-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: var(--cream);
  border-radius: 6px;
  font-size: 0.92rem;
  color: var(--text);
  border-left: 3px solid var(--gold);
  transition: var(--transition);
}

.purposes-list li:hover {
  box-shadow: var(--shadow);
  transform: translateX(4px);
}

.purposes-list li .num {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--gold);
  font-size: 1.1rem;
  min-width: 28px;
}

/* ===== ROSTER ===== */
.roster-section {
  margin-bottom: 40px;
}

.roster-section h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--navy);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--gold);
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}

.roster-names {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.roster-names span {
  display: inline-block;
  padding: 7px 16px;
  background: var(--cream);
  border-radius: 4px;
  font-size: 0.86rem;
  color: var(--text);
  transition: var(--transition);
  border: 1px solid transparent;
}

.roster-names span:hover {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.roster-names span.deceased::after {
  content: ' \2020';
  color: var(--gold);
  font-weight: 700;
}

.roster-search {
  position: sticky;
  top: 80px;
  z-index: 10;
  background: var(--white);
  padding: 24px 0;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--border-subtle);
}

.roster-search input {
  width: 100%;
  max-width: 480px;
  padding: 16px 24px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 0.95rem;
  font-family: var(--font-body);
  transition: var(--transition);
  background: var(--cream);
}

.roster-search input:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(25, 42, 69, 0.1);
  background: var(--white);
}

/* ===== SCHOLARSHIP ===== */
.scholarship-content {
  max-width: 900px;
  margin: 0 auto;
}

.memorial-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 48px 0;
}

.memorial-card {
  background: var(--white);
  padding: 40px 28px;
  border-radius: 8px;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: var(--shadow);
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.memorial-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--navy), var(--gold));
}

.memorial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.memorial-card h4 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--navy);
  margin-bottom: 14px;
}

.memorial-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.8;
}

.scholarship-details {
  background: var(--cream);
  padding: 48px;
  border-radius: 8px;
  margin: 40px 0;
  border: 1px solid rgba(0,0,0,0.04);
}

.scholarship-details h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--navy);
  margin-bottom: 24px;
}

.scholarship-details ul {
  list-style: none;
  padding: 0;
}

.scholarship-details li {
  margin-bottom: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  padding-left: 24px;
  position: relative;
}

.scholarship-details li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}

.award-amount {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--navy);
  text-align: center;
  margin: 40px 0;
  font-weight: 600;
}

/* ===== GALLERY ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  grid-auto-flow: dense;
}

.gallery-grid .wide { grid-column: span 2; }
.gallery-grid .tall { grid-row: span 2; }

.gallery-item {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  background: var(--navy-deep);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.gallery-item:hover img {
  transform: scale(1.04);
}

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 27, 45, 0.4), transparent 60%);
  opacity: 0;
  transition: var(--transition);
}

.gallery-item:hover::after {
  opacity: 1;
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(10, 10, 10, 0.96);
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
}

.lightbox.active { display: flex; }

.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 4px;
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 32px;
  font-size: 1.8rem;
  color: var(--white);
  cursor: pointer;
  z-index: 2001;
  background: none;
  border: none;
  opacity: 0.5;
  transition: var(--transition);
  font-weight: 300;
}

.lightbox-close:hover { opacity: 1; }

/* ===== RUSH / EVENTS ===== */
.rush-banner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--white);
  padding: 72px;
  border-radius: 12px;
  text-align: center;
  margin-bottom: 80px;
  position: relative;
  overflow: hidden;
}

.rush-banner::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
  height: 300px;
  background: url('../images/crest-white.png') center/contain no-repeat;
  opacity: 0.04;
}

.rush-banner h3 {
  font-family: var(--font-display);
  font-size: 2.4rem;
  margin-bottom: 16px;
  position: relative;
}

.rush-banner p {
  opacity: 0.7;
  margin-bottom: 32px;
  font-size: 1.02rem;
  position: relative;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 32px;
}

.events-table {
  width: 100%;
  border-collapse: collapse;
  margin: 32px 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.events-table th {
  background: var(--navy);
  color: var(--white);
  padding: 16px 24px;
  text-align: left;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
}

.events-table td {
  padding: 16px 24px;
  border-bottom: 1px solid rgba(0,0,0,0.04);
  font-size: 0.92rem;
}

.events-table tbody tr {
  transition: var(--transition);
}

.events-table tbody tr:hover {
  background: var(--cream);
}

/* ===== DIRECTORY TABLE ===== */
.directory-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.directory-table thead {
  position: sticky;
  top: 0;
  z-index: 2;
}

.directory-table th {
  background: var(--navy);
  color: #fff;
  padding: 12px 16px;
  text-align: left;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.directory-table th:first-child {
  border-radius: 6px 0 0 0;
}

.directory-table th:last-child {
  border-radius: 0 6px 0 0;
}

.directory-table td {
  padding: 10px 16px;
  border-bottom: 1px solid #efefef;
  vertical-align: middle;
}

.directory-table tbody tr {
  transition: background 0.15s;
}

.directory-table tbody tr:hover {
  background: #f0f4f8;
}

.dir-phone-add {
  color: var(--gold);
  font-weight: 600;
  font-size: 0.82rem;
  cursor: pointer;
  text-decoration: none;
}

.dir-phone-add:hover {
  text-decoration: underline;
}

.dir-phone-input-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
}

.dir-phone-input-wrap input {
  width: 130px;
  padding: 5px 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 0.84rem;
  font-family: var(--font-body);
}

.dir-phone-input-wrap button {
  padding: 4px 10px;
  border: none;
  border-radius: 4px;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font-body);
}

.dir-phone-input-wrap .dir-phone-save {
  background: var(--navy);
  color: #fff;
}

.dir-phone-input-wrap .dir-phone-cancel {
  background: #e0e0e0;
  color: var(--text);
}

/* ===== CONTACT ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
}

.contact-form h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  margin-bottom: 32px;
}

.contact-form label {
  display: block;
  font-weight: 500;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 8px;
  color: var(--text);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 16px 20px;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  font-size: 0.95rem;
  font-family: var(--font-body);
  margin-bottom: 24px;
  transition: var(--transition);
  background: var(--cream);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(25, 42, 69, 0.08);
  background: var(--white);
}

.contact-form textarea {
  height: 160px;
  resize: vertical;
}

.contact-info-block {
  padding: 48px;
  background: var(--navy-deep);
  border-radius: 8px;
  color: var(--white);
}

.contact-info-block h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  margin-bottom: 32px;
}

.contact-info-item {
  display: flex;
  gap: 20px;
  margin-bottom: 28px;
  align-items: flex-start;
}

.contact-info-item .info-icon {
  font-size: 1.1rem;
  min-width: 28px;
  text-align: center;
  color: var(--gold);
}

.contact-info-item h4 {
  font-size: 0.9rem;
  margin-bottom: 4px;
  font-weight: 600;
}

.contact-info-item p,
.contact-info-item a {
  font-size: 0.88rem;
  opacity: 0.6;
  line-height: 1.6;
}

.contact-info-item a:hover {
  opacity: 1;
  color: var(--gold);
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 40px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.08);
  color: var(--white);
  border-radius: 50%;
  font-size: 1rem;
  transition: var(--transition);
  border: 1px solid rgba(255,255,255,0.1);
}

.social-links a:hover {
  background: var(--gold);
  color: var(--navy-deep);
  border-color: var(--gold);
  transform: translateY(-2px);
}

/* ===== CTA SECTION ===== */
.cta-section {
  padding: 100px 0;
  background: var(--navy-deep);
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 500px;
  background: url('../images/crest-white.png') center/contain no-repeat;
  opacity: 0.02;
}

.cta-section h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 16px;
  position: relative;
}

.cta-section p {
  opacity: 0.6;
  margin-bottom: 32px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--black);
  color: rgba(255,255,255,0.5);
  padding: 80px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-brand img {
  height: 80px;
  width: 80px;
  object-fit: contain;
  opacity: 0.8;
}

.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.8;
  max-width: 280px;
}

.footer h4 {
  color: var(--white);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 24px;
  font-weight: 600;
}

.footer-links a {
  display: block;
  color: rgba(255,255,255,0.45);
  font-size: 0.88rem;
  padding: 5px 0;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--gold);
  transform: translateX(4px);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
}

/* ===== ANIMATIONS ===== */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }
.fade-in-delay-5 { transition-delay: 0.5s; }

/* ===== BROTHERS PORTAL ===== */
.brothers-alert {
  border-radius: 8px;
  padding: 12px 14px;
  margin-bottom: 18px;
  font-size: 0.88rem;
}

.brothers-alert-info {
  background: #e9f2ff;
  color: #0c3f77;
  border: 1px solid #c8def9;
}

.brothers-alert-success {
  background: #e7f7ed;
  color: #145730;
  border: 1px solid #c7ebd6;
}

.brothers-alert-error {
  background: #fdeaea;
  color: #7d2121;
  border: 1px solid #f5c9c9;
}

.brothers-auth-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.brothers-panel {
  background: var(--white);
  border: 1px solid #ebebeb;
  border-radius: 10px;
  box-shadow: 0 8px 28px rgba(15, 27, 45, 0.06);
  padding: 24px;
}

.brothers-panel h3 {
  font-family: var(--font-display);
  color: var(--navy);
  font-size: 1.6rem;
  margin-bottom: 8px;
}

.brothers-panel-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.brothers-panel label {
  display: block;
  margin-bottom: 6px;
  margin-top: 12px;
  font-size: 0.74rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

.brothers-panel input,
.brothers-panel textarea {
  width: 100%;
  border: 1px solid #d8d8d8;
  border-radius: 6px;
  padding: 11px 12px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: border-color var(--transition);
}

.brothers-panel textarea {
  resize: vertical;
  min-height: 96px;
}

.brothers-panel input:focus,
.brothers-panel textarea:focus {
  outline: none;
  border-color: var(--navy);
}

.brothers-panel .btn {
  margin-top: 14px;
}

.btn-sm {
  padding: 8px 14px;
  font-size: 0.67rem;
  letter-spacing: 1.5px;
  border-radius: 6px;
}

.btn-danger {
  background: #b12d2d;
  color: var(--white);
}

.btn-danger:hover {
  background: #982727;
  transform: translateY(-1px);
}

.btn-muted {
  background: #f2f4f8;
  color: var(--navy);
  border: 1px solid #d5dce8;
}

.btn-muted:hover {
  background: #e7ecf6;
  transform: translateY(-1px);
}

.tag {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
}

.tag-active {
  background: #e8f5e8;
  color: #21612f;
}

.tag-officer {
  background: #e6edf8;
  color: #1e3f70;
}

.tag-owner {
  background: #f7edcf;
  color: #7a5d10;
}

.brothers-forum {
  display: grid;
  gap: 18px;
}

.brothers-app-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.brothers-app-tab-btn {
  border: 1px solid #d4d8df;
  background: #f4f6f9;
  border-radius: 999px;
  padding: 9px 15px;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-weight: 600;
  color: var(--text-muted);
}

.brothers-app-tab-btn:hover {
  border-color: #bfc8d7;
  color: var(--navy);
}

.brothers-app-tab-btn.active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

.brothers-app-panels {
  display: grid;
}

.brothers-app-panel {
  display: none;
}

.brothers-app-panel.active {
  display: block;
}

.brothers-forum-topbar {
  background: linear-gradient(120deg, var(--navy-deep), var(--navy));
  color: var(--white);
  border-radius: 10px;
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brothers-forum-topbar h3 {
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.6rem;
  margin-bottom: 4px;
}

.brothers-forum-topbar p {
  margin: 0;
  color: rgba(255,255,255,0.82);
  font-size: 0.84rem;
}

.brothers-forum-topbar-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.brothers-forum-grid {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 16px;
}

.brothers-sidebar,
.brothers-main {
  background: var(--white);
  border: 1px solid #ececec;
  border-radius: 10px;
  box-shadow: 0 8px 30px rgba(15, 27, 45, 0.05);
}

.brothers-sidebar {
  padding: 16px;
  align-self: start;
  position: sticky;
  top: 84px;
}

.brothers-sidebar-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.brothers-sidebar-head h4 {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--navy);
}

.forum-board-list {
  display: grid;
  gap: 8px;
}

.forum-board-item {
  border: 1px solid #e5e7eb;
  background: #fbfcff;
  border-radius: 8px;
  padding: 10px 12px;
  width: 100%;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--text);
}

.forum-board-item:hover {
  border-color: #c5d2e8;
  background: #f4f8ff;
}

.forum-board-item.active {
  border-color: #9fb3d8;
  background: linear-gradient(180deg, #f6f9ff 0%, #ecf2fd 100%);
  color: var(--navy);
  font-weight: 600;
}

.forum-board-content {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.forum-board-content strong {
  font-size: 0.88rem;
  line-height: 1.2;
}

.forum-board-content small {
  font-size: 0.72rem;
  color: var(--text-muted);
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.forum-board-delete {
  color: #a12727;
  font-size: 1.1rem;
  line-height: 1;
  padding: 0 4px;
  border-radius: 4px;
}

.forum-board-delete:hover {
  background: rgba(177, 45, 45, 0.1);
}

.forum-board-form {
  margin-top: 12px;
  border-top: 1px solid #efefef;
  padding-top: 12px;
}

.forum-board-form textarea {
  min-height: 82px;
}

.brothers-main {
  padding: 18px;
}

.brothers-main-head h3 {
  font-family: var(--font-display);
  color: var(--navy);
  font-size: 1.8rem;
  margin-bottom: 4px;
}

.brothers-main-head p {
  color: var(--text-muted);
  margin-bottom: 16px;
  font-size: 0.9rem;
}

.forum-thread-form {
  border: 1px solid #dbe3f0;
  border-radius: 12px;
  padding: 16px;
  background: linear-gradient(180deg, #fafcff 0%, #f7f9fd 100%);
  margin-bottom: 16px;
}

.forum-thread-form label {
  display: block;
  margin-bottom: 6px;
  margin-top: 8px;
  font-size: 0.74rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

.forum-thread-form input,
.forum-thread-form textarea {
  width: 100%;
  border: 1px solid #ccd6e6;
  border-radius: 6px;
  padding: 10px 11px;
  font-family: var(--font-body);
}

.forum-thread-form input:focus,
.forum-thread-form textarea:focus,
.forum-reply-form textarea:focus,
.forum-edit-box input:focus,
.forum-edit-box textarea:focus {
  outline: none;
  border-color: #94a8cc;
  box-shadow: 0 0 0 3px rgba(36, 58, 94, 0.08);
}

.forum-thread-form textarea {
  min-height: 96px;
  resize: vertical;
}

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

.forum-thread-card {
  border: 1px solid #dde5f2;
  border-radius: 12px;
  padding: 16px;
  background: var(--white);
  box-shadow: 0 6px 20px rgba(25, 42, 69, 0.04);
}

.forum-thread-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 6px;
}

.forum-thread-head h4 {
  font-size: 1.12rem;
  color: var(--navy);
  line-height: 1.25;
}

.forum-time-wrap {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  font-size: 0.75rem;
  white-space: nowrap;
}

.forum-edited-chip {
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid #d4dce9;
  background: #f2f5fb;
  color: #4a5e83;
  font-size: 0.62rem;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  font-weight: 700;
}

.forum-thread-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
  font-size: 0.75rem;
}

.forum-author-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 9px;
  border-radius: 999px;
  background: #f0f3f8;
  border: 1px solid #dde4ef;
  color: #46566f;
}

.forum-role-pill {
  background: #ece6d0;
  border-color: #dbcda0;
  color: #7a6120;
  font-weight: 700;
}

.forum-thread-body {
  margin-top: 10px;
  line-height: 1.74;
  font-size: 0.94rem;
}

.forum-item-actions {
  margin-top: 12px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.forum-item-actions .btn-outline {
  color: var(--navy);
  border-color: #cad5e7;
  background: #ffffff;
}

.forum-item-actions .btn-outline:hover {
  color: var(--navy);
  border-color: #9bb0d3;
  background: #f3f7ff;
}

.forum-empty-state {
  border: 1px dashed #d3dae8;
  border-radius: 10px;
  padding: 14px;
  background: #f8faff;
  color: #66758f;
  font-size: 0.88rem;
}

.forum-edit-box {
  margin-top: 12px;
  border: 1px solid #d9e1ef;
  border-radius: 10px;
  background: #f8faff;
  padding: 12px;
}

.forum-edit-box label {
  display: block;
  margin-bottom: 6px;
  margin-top: 8px;
  font-size: 0.7rem;
  color: #57698a;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
}

.forum-edit-box label:first-child {
  margin-top: 0;
}

.forum-edit-box input,
.forum-edit-box textarea {
  width: 100%;
  border: 1px solid #c9d4e6;
  border-radius: 6px;
  padding: 9px 10px;
  font-family: var(--font-body);
  background: #fff;
}

.forum-edit-box textarea {
  min-height: 92px;
  resize: vertical;
}

.forum-reply-edit textarea {
  min-height: 82px;
}

.forum-replies-wrap {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px dashed #e4e4e4;
}

.forum-replies-wrap h5 {
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.forum-reply-item {
  border: 1px solid #e2e8f2;
  border-radius: 10px;
  background: #f9fbff;
  padding: 11px;
  margin-bottom: 8px;
}

.forum-reply-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--text-muted);
  font-size: 0.75rem;
  margin-bottom: 6px;
}

.forum-reply-body {
  font-size: 0.9rem;
  line-height: 1.65;
}

.forum-reply-empty {
  color: #6a7891;
  font-size: 0.84rem;
  padding: 6px 2px;
}

.forum-reply-form textarea {
  width: 100%;
  min-height: 70px;
  border: 1px solid #ccd7e7;
  border-radius: 6px;
  padding: 10px 11px;
  font-family: var(--font-body);
  background: #fff;
  resize: vertical;
}

.forum-reply-form .btn {
  margin-top: 8px;
}

.admin-embed-frame {
  width: 100%;
  min-height: 900px;
  border: 1px solid #e7e7e7;
  border-radius: 8px;
  background: #fff;
}

/* ===== GUIDE CARDS ===== */
.guide-card-body[contenteditable="true"] {
  border: 1px solid #d9e1ef;
  border-radius: 8px;
  background: #f8faff;
  padding: 12px;
  outline: none;
  min-height: 80px;
}

.guide-card-actions {
  margin-top: 12px;
  display: flex;
  gap: 8px;
}

/* ===== REMEMBER ME ===== */
.remember-me-row {
  margin-top: 10px;
}

.remember-me-label {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 0.88rem !important;
  color: var(--text) !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  font-weight: 400 !important;
  margin: 0 !important;
}

.remember-me-label input[type="checkbox"] {
  width: auto;
  accent-color: var(--navy);
  cursor: pointer;
}

/* ===== GAMES TAB ===== */
.games-layout {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  align-items: start;
}

.game-canvas-wrap {
  position: relative;
  width: 320px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
  touch-action: manipulation;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
  cursor: pointer;
}

.game-canvas-wrap canvas {
  display: block;
  width: 100%;
  height: auto;
  background: var(--cream);
}

.game-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(15, 27, 45, 0.7);
  color: var(--white);
  text-align: center;
  z-index: 2;
}

.game-overlay h3 {
  font-family: var(--font-display);
  font-size: 2rem;
  margin-bottom: 8px;
}

.game-overlay p {
  font-size: 0.9rem;
  opacity: 0.85;
}

.game-score {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--navy);
  z-index: 1;
  text-shadow: 0 1px 4px rgba(255,255,255,0.8);
  pointer-events: none;
}

.game-leaderboard {
  background: var(--white);
  border: 1px solid #ebebeb;
  border-radius: 10px;
  box-shadow: 0 8px 28px rgba(15, 27, 45, 0.06);
  padding: 20px;
}

.game-leaderboard h4 {
  font-family: var(--font-display);
  color: var(--navy);
  font-size: 1.3rem;
  margin-bottom: 14px;
}

.leaderboard-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.leaderboard-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-bottom: 1px solid #f0f0f0;
  font-size: 0.88rem;
}

.leaderboard-item:last-child {
  border-bottom: none;
}

.leaderboard-rank {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #f0f2f5;
  font-weight: 700;
  font-size: 0.78rem;
  color: var(--text-muted);
  flex-shrink: 0;
}

.leaderboard-gold .leaderboard-rank {
  background: #f7edcf;
  color: #7a5d10;
}

.leaderboard-silver .leaderboard-rank {
  background: #e8eaed;
  color: #4a4a4a;
}

.leaderboard-bronze .leaderboard-rank {
  background: #f5e6d5;
  color: #7a4e1e;
}

.leaderboard-name {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.leaderboard-score {
  font-weight: 700;
  color: var(--navy);
  font-variant-numeric: tabular-nums;
}

.leaderboard-empty {
  padding: 16px 10px;
  color: var(--text-muted);
  font-size: 0.88rem;
  list-style: none;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .split {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-item:nth-child(2) { border-right: none; }

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

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

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

  .memorial-cards {
    grid-template-columns: 1fr;
  }

  .brothers-forum-grid {
    grid-template-columns: 1fr;
  }

  .brothers-sidebar {
    position: static;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100vh;
    background: rgba(15, 27, 45, 0.99);
    flex-direction: column;
    padding: 100px 32px 40px;
    gap: 4px;
    transform: translateX(100%);
    transition: var(--transition);
    align-items: flex-start;
  }

  .nav-links.open {
    transform: translateX(0);
  }

  .nav-links a {
    width: 100%;
    text-align: left;
    padding: 14px 0;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
  }

  .nav-dropdown .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: transparent;
    border: none;
    padding: 0 0 0 16px;
    min-width: auto;
    box-shadow: none;
  }

  .hamburger { display: flex; }

  .navbar .container { height: 64px; }
  .nav-brand img { height: 36px; }
  .nav-brand .brand-text { font-size: 1.1rem; letter-spacing: 1px; }
  .nav-brand .brand-sub { font-size: 0.55rem; letter-spacing: 2px; }

  .hero { min-height: 600px; }
  .hero-crest { width: 100px; margin-bottom: 24px; }
  .hero-content h1 { font-size: clamp(2rem, 8vw, 3.2rem); letter-spacing: 2px; }
  .hero-content .motto { font-size: clamp(0.85rem, 2.5vw, 1.1rem); letter-spacing: 2px; }
  .hero-content .tagline { font-size: 0.8rem; margin-bottom: 32px; letter-spacing: 1.5px; }

  .page-hero { padding: 140px 0 60px; }
  .page-hero h1 { font-size: clamp(2rem, 8vw, 3rem); }
  .page-hero p { font-size: 0.95rem; }

  .section { padding: 60px 0; }
  .section-header { margin-bottom: 48px; }
  .section-header h2 { font-size: clamp(1.8rem, 5vw, 2.4rem); }

  .pillars-grid,
  .pillars-grid[style] {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px;
  }

  .pillar-card { padding: 32px 16px; }
  .pillar-card h3 { font-size: 1.05rem; }
  .pillar-card p { font-size: 0.8rem; }

  .split-text h2 { font-size: clamp(1.6rem, 5vw, 2.2rem); }
  .split-image img { height: 360px; }

  .purposes-list {
    grid-template-columns: 1fr;
  }

  .rush-banner { padding: 40px 24px; }
  .rush-banner h3 { font-size: 1.8rem; }
  .rush-banner p { font-size: 0.92rem; }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .gallery-grid .wide { grid-column: span 1; }
  .gallery-item img { min-height: 200px; }

  .photo-strip {
    grid-template-columns: repeat(2, 1fr);
  }
  .photo-strip img { height: 200px; }

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

  .instagram-section { padding: 60px 0; }

  .events-table { font-size: 0.85rem; }
  .events-table th { padding: 12px 16px; font-size: 0.7rem; }
  .events-table td { padding: 12px 16px; }

  .directory-table th,
  .directory-table td { padding: 8px 10px; }

  .roster-search { top: 64px; padding: 16px 0; }
  .roster-search input { padding: 14px 20px; }
  .roster-names span { padding: 6px 12px; font-size: 0.82rem; }

  .contact-form h3 { font-size: 1.5rem; }
  .contact-info-block { padding: 36px 24px; }
  .contact-info-block h3 { font-size: 1.3rem; }

  .cta-section { padding: 60px 0; }
  .cta-section h2 { font-size: clamp(1.6rem, 5vw, 2.2rem); }

  .footer { padding: 60px 0 32px; }
  .footer-grid { gap: 32px; margin-bottom: 40px; }

  .btn { padding: 14px 28px; font-size: 0.75rem; }

  .brothers-auth-grid {
    grid-template-columns: 1fr;
  }

  .games-layout {
    grid-template-columns: 1fr;
  }

  .game-canvas-wrap {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
  }

  .brothers-forum-topbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .forum-thread-head,
  .forum-reply-meta {
    flex-direction: column;
    align-items: flex-start;
  }

  .forum-time-wrap {
    white-space: normal;
  }

  .forum-item-actions .btn,
  .forum-reply-form .btn {
    width: 100%;
    justify-content: center;
  }

  .admin-embed-frame {
    min-height: 740px;
  }

  .brothers-app-tabs {
    gap: 8px;
  }

  .brothers-app-tab-btn {
    padding: 10px 14px;
    font-size: 0.74rem;
  }

  .brothers-forum-topbar h3 {
    font-size: 1.3rem;
  }

  .brothers-forum-topbar-actions {
    width: 100%;
  }

  .brothers-forum-topbar-actions .btn {
    flex: 1;
    justify-content: center;
  }

  .brothers-panel {
    padding: 18px;
  }

  .brothers-panel h3 {
    font-size: 1.35rem;
  }

  .brothers-panel h4 {
    font-size: 1rem;
  }

  .brothers-main {
    padding: 14px;
  }

  .brothers-main-head h3 {
    font-size: 1.3rem;
  }

  .guide-card-actions {
    flex-wrap: wrap;
  }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }

  .directory-table .dir-col-email { display: none; }
  .directory-table th,
  .directory-table td { padding: 6px 8px; font-size: 0.8rem; }

  .stats-bar {
    grid-template-columns: 1fr 1fr;
  }
  .stat-item { padding: 32px 12px; }
  .stat-item .number { font-size: clamp(1.8rem, 6vw, 2.5rem); }
  .stat-item .label { font-size: 0.65rem; letter-spacing: 1.5px; }

  .pillars-grid,
  .pillars-grid[style] {
    grid-template-columns: 1fr !important;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  .hero-buttons .btn { width: 100%; justify-content: center; }

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

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

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

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

  .photo-strip { grid-template-columns: 1fr 1fr; gap: 2px; }
  .photo-strip img { height: 160px; }

  .page-hero { padding: 120px 0 48px; }

  .split-image img { height: 280px; }

  .rush-banner { padding: 32px 20px; }
  .rush-banner h3 { font-size: 1.5rem; }

  .scholarship-details { padding: 28px; }
  .contact-info-block { padding: 28px 20px; }
  .contact-form input,
  .contact-form textarea { padding: 14px 16px; }

  .roster-section h3 { font-size: 1.05rem; }

  .history-content h3 { font-size: 1.4rem; margin-top: 36px; }
  .history-content p { font-size: 0.92rem; line-height: 1.8; }
  .purposes-list li { padding: 16px; font-size: 0.85rem; }

  .brothers-app-tabs {
    gap: 6px;
  }

  .brothers-app-tab-btn {
    flex: 1;
    text-align: center;
    padding: 10px 10px;
    font-size: 0.68rem;
    letter-spacing: 0.5px;
  }

  .brothers-forum-topbar {
    padding: 14px;
  }

  .brothers-forum-topbar h3 {
    font-size: 1.15rem;
  }

  .brothers-panel {
    padding: 16px;
  }

  .brothers-panel h3 {
    font-size: 1.2rem;
  }

  .brothers-main {
    padding: 12px;
  }

  .brothers-main-head h3 {
    font-size: 1.15rem;
  }

  .forum-thread-form {
    padding: 12px;
  }

  .forum-thread-card {
    padding: 12px;
  }

  .forum-thread-card h4 {
    font-size: 0.95rem;
  }

  .forum-reply-item {
    padding: 10px;
  }

  .admin-embed-frame {
    min-height: 600px;
  }

  .guide-card-body[contenteditable="true"] {
    padding: 10px;
    min-height: 60px;
  }
}
