/* ═══════════════════════════════════════════════
   GLOBAL
═══════════════════════════════════════════════ */
:root {
  --gold: #ffb950;
  --gold-alt: #c8a050;
  --bg: #000000;
  --bg-dark: #000019;
  --text: #f0e6d0;
  --muted: rgba(240, 230, 208, 0.5);
  --font-body: 'Inter', sans-serif;
  --font-heading: 'Playfair Display SC', serif;
}

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

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-body);
}

.inter {
  font-family: var(--font-body);
  font-size: 1em;
  font-weight: bold;
}

.bold    { font-weight: 700; }
.semibold { font-weight: 600; }
.bg-black { background-color: #000; }

/* ═══════════════════════════════════════════════
   BORDER GLOW
═══════════════════════════════════════════════ */
.border-glow {
  position: relative;
  border-bottom: 5px solid #FFBF00;
  box-shadow: 0px 8px 15px rgba(255, 191, 0, 0.5),
              0px -8px 15px rgba(255, 191, 0, 0.5);
}

/* ═══════════════════════════════════════════════
   LOGO
═══════════════════════════════════════════════ */
.logo { height: 40px; width: auto; }
@media (max-width: 768px) { .logo { height: 30px; } }
@media (max-width: 480px) { .logo { height: 27px; } }

/* ═══════════════════════════════════════════════
   SIDEBAR
═══════════════════════════════════════════════ */
#sidebar {
  position: fixed;
  top: 0;
  left: -280px;
  width: 280px;
  height: 100%;
  background-color: #000;
  border-right: 1px solid rgba(200, 160, 80, 0.35);
  z-index: 1055;
  transition: left 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  padding: 2rem 1.5rem;
  overflow-y: auto;
}

#sidebar.open { left: 0; }

#sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1050;
}

#sidebar-overlay.show { display: block; }

#sidebar .sidebar-logo { width: 80px; margin-bottom: 2rem; }

#sidebar .sidebar-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: var(--gold-alt);
  font-size: 1.5rem;
  cursor: pointer;
}

#sidebar nav a {
  display: block;
  color: #e8dcc8;
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 1.05rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(200, 160, 80, 0.15);
  letter-spacing: 0.06em;
  transition: color 0.2s, padding-left 0.2s;
}

#sidebar nav a:hover { color: var(--gold-alt); padding-left: 0.4rem; }

#sidebar nav a i {
  margin-right: 0.6rem;
  font-size: 0.9rem;
  color: var(--gold-alt);
}

#sidebar .sidebar-contact {
  margin-top: auto;
  padding-top: 1.5rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
  font-family: var(--font-body);
}

/* ═══════════════════════════════════════════════
   TOP NAVBAR
═══════════════════════════════════════════════ */
.site-navbar { background-color: #000000 !important; }

.site-navbar .nav-links a {
  color: rgba(232, 220, 200, 0.8);
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  transition: color 0.2s;
  white-space: nowrap;
}

.site-navbar .nav-links a:hover { color: var(--gold-alt); }

.site-navbar .nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.hamburger-btn {
  background: none;
  border: none;
  color: var(--gold-alt);
  padding: 0.35rem 0.45rem;
  font-size: 1.4rem;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
}

.hamburger-btn:hover { color: #e8c97a; }

.search-icon-btn {
  color: var(--gold-alt);
  font-size: 1.1rem;
  line-height: 1;
  transition: color 0.2s;
  text-decoration: none;
  padding: 0.35rem 0.45rem; /* matches hamburger-btn padding */
}

.search-icon-btn:hover { color: #e8c97a; }

@media (max-width: 768px) {
  .site-navbar .nav-links { display: none; }
}

/* ═══════════════════════════════════════════════
   DISCLAIMER BAR (non-blocking, bottom-anchored)
═══════════════════════════════════════════════ */
#disclaimer-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99999; /* always on top, above sidebar/overlays */
  background: rgba(5, 5, 5, 0.97);
  border-top: 1px solid rgba(200, 160, 80, 0.35);
  box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.45);
  transform: translateY(100%);
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none; /* only the bar's own content is clickable */
}

#disclaimer-bar.show {
  transform: translateY(0);
  pointer-events: auto;
}

.disclaimer-bar-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.5rem 1.5rem 0.6rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.4rem;
}

.disclaimer-bar-text {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.72rem;
  line-height: 1.4;
  color: rgba(232, 220, 200, 0.75);
}

.disclaimer-bar-text strong { color: #e8dcc8; }

.disclaimer-bar-link {
  background: none;
  border: none;
  padding: 0;
  color: var(--gold-alt);
  font-size: 0.76rem;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
  font-family: var(--font-body);
}

.disclaimer-bar-link:hover { color: #e8c97a; }

.disclaimer-bar-actions {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

#btn-disagree {
  background: transparent;
  border: none;
  color: rgba(232, 220, 200, 0.45);
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.3rem 0.5rem;
  cursor: pointer;
  transition: color 0.2s;
}

#btn-disagree:hover { color: rgba(232, 220, 200, 0.75); }

#btn-agree {
  background: var(--gold-alt);
  border: 1px solid var(--gold-alt);
  color: #000000;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.32rem 0.9rem;
  border-radius: 3px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s, box-shadow 0.2s;
}

#btn-agree:hover { background: #e0b860; box-shadow: 0 2px 12px rgba(200, 160, 80, 0.4); }

/* Expandable full-text panel (collapsed by default) */
#disclaimer-full {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  border-top: 1px solid rgba(200, 160, 80, 0.12);
}

#disclaimer-full.open { max-height: 260px; overflow-y: auto; }

.disclaimer-full-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.75rem 1.5rem 1rem;
  font-family: var(--font-body);
  font-size: 0.74rem;
  line-height: 1.6;
  color: rgba(232, 220, 200, 0.7);
}

.disclaimer-full-inner ul { padding-left: 1.1rem; margin: 0.4rem 0 0; }
.disclaimer-full-inner ul li { margin-bottom: 0.35rem; }
.disclaimer-full-inner strong { color: #e8dcc8; }

@media (max-width: 768px) {
  .disclaimer-bar-inner {
    padding: 0.6rem 1rem 0.7rem;
  }
}

/* ═══════════════════════════════════════════════
   HERO SECTION
═══════════════════════════════════════════════ */
.hero-section {
  position: relative;
  min-height: 92vh;
  background-color: var(--bg);
  display: flex;
  align-items: center;
  padding: 5rem 7vw 4rem;
  gap: 5vw;
  overflow: hidden;
}

/* ── Faded check / grid pattern ── */
.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 48px 48px;
  /* Vignette: grid visible in centre, fades to nothing at edges */
  -webkit-mask-image: radial-gradient(ellipse 75% 75% at 50% 50%,
    black 0%, black 30%, transparent 80%);
  mask-image: radial-gradient(ellipse 75% 75% at 50% 50%,
    black 0%, black 30%, transparent 80%);
  pointer-events: none;
  z-index: 0;
}

/* Dark radial overlay */
.hero-gradient-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 90% 80% at 60% 50%,
    rgba(0,0,0,0.3) 0%,
    rgba(0,0,0,0.75) 55%,
    rgba(0,0,0,0.97) 100%);
  pointer-events: none;
  z-index: 1;
}

/* ── Left ── */
.hero-left {
  position: relative;
  z-index: 2;
  flex: 1 1 44%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* ── Hero Title — Playfair Display SC ── */
/* ── Hero Title — unified Playfair Display SC, all italic ── */
.hero-title {
  font-family: var(--font-heading);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.05em;
  margin-bottom: 0.8rem;
  opacity: 0;
  animation: fadeUp 0.7s ease 0.15s forwards;
}

/* Base shared by every span inside .hero-title */
.hero-title span {
  font-family: var(--font-heading);
  line-height: 1.25;
  display: block;
}

.hero-welcome {
  font-size: clamp(1.05rem, 2vw, 1.6rem);
  color: rgba(240, 230, 208, 0.72);
}

.hero-chambers {
  font-size: clamp(1.45rem, 2.8vw, 2.35rem);
  color: rgba(240, 230, 208, 0.88);
}

.hero-name {
  font-size: clamp(1.9rem, 3.8vw, 3.2rem);
  font-weight: 700;
  color: #ffffff;
}

/* "(Estb. 1994)" */
.hero-since {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: clamp(0.78rem, 1.3vw, 1rem);
  font-weight: 400;
  color: var(--gold-alt);
  margin-bottom: 0.2rem;
  opacity: 0;
  animation: fadeUp 0.65s ease 0.36s forwards;
}

.hero-rule {
  width: 52px;
  height: 2px;
  background: linear-gradient(to right, var(--gold), transparent);
  margin-top: 0.6rem;
  margin-bottom: 0.8rem;
  opacity: 0;
  animation: fadeUp 0.6s ease 0.46s forwards;
}

/* "3 Decades of Experience" */
.hero-tagline {
  font-family: var(--font-heading);
  font-size: clamp(0.82rem, 1.4vw, 1.05rem);
  font-weight: 400;
  color: var(--muted);
  margin-bottom: 2.2rem;
  opacity: 0;
  animation: fadeUp 0.65s ease 0.56s forwards;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: var(--gold);
  color: #000;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.78rem 1.9rem;
  border-radius: 3px;
  opacity: 0;
  animation: fadeUp 0.65s ease 0.74s forwards;
  transition: background 0.2s, box-shadow 0.25s, transform 0.2s;
}

.hero-btn:hover {
  background: #ffc96a;
  box-shadow: 0 4px 28px rgba(255, 185, 80, 0.45);
  transform: translateY(-2px);
  color: #000;
}

.btn-arrow { font-size: 1.05rem; transition: transform 0.2s; display: inline-block; }
.hero-btn:hover .btn-arrow { transform: translateX(4px); }

/* ── Right / Slider ── */
.hero-right {
  position: relative;
  z-index: 2;
  flex: 1 1 50%;
  max-width: 560px;
}

.slider {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: 8px;
  overflow: hidden;
}

.slide { position: absolute; inset: 0; opacity: 0; transition: opacity 0.8s ease; }
.slide.active { opacity: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; display: block; -webkit-touch-callout: none; pointer-events: none; }

.slider-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: background 0.25s, transform 0.25s;
}

.dot.active { background: var(--gold); transform: scale(1.3); }

/* ═══════════════════════════════════════════════
   COURTS SECTION
═══════════════════════════════════════════════ */
.courts-section {
  background-color: var(--bg);
  padding: 3.5rem 7vw 4rem;
  border-top: 1px solid rgba(255, 185, 80, 0.1);
  border-bottom: 1px solid rgba(255, 185, 80, 0.1);
}

.courts-heading {
  font-family: var(--font-body);
  font-size: clamp(1rem, 2.5vw, 1.45rem);
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 2.5rem;
}

.courts-row {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: clamp(1.5rem, 4vw, 4rem);
  flex-wrap: nowrap;
}

.court-item {
  flex: 1 1 0;
  max-width: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  cursor: pointer;
}

.court-item img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  filter: brightness(0.8) grayscale(0.15);
  border-radius: 4px;
  border: 1px solid transparent;
  transition: filter 0.3s, border-color 0.3s, box-shadow 0.3s, transform 0.3s;
  /* Prevent long-press save on iOS/Android */
  -webkit-touch-callout: none;
  pointer-events: none;
}

.court-item:hover img,
.court-item:focus-within img {
  filter: brightness(1.1) grayscale(0);
  border-color: rgba(255, 185, 80, 0.55);
  box-shadow:
    0 0 14px rgba(255, 185, 80, 0.38),
    0 0 36px rgba(255, 185, 80, 0.16),
    inset 0 0 10px rgba(255, 185, 80, 0.07);
  transform: translateY(-4px);
}

.court-item p {
  font-family: var(--font-body);
  font-size: clamp(0.62rem, 1.4vw, 0.78rem);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0;
  text-align: center;
  transition: color 0.3s;
}

.court-item:hover p { color: var(--gold); }

/* ═══════════════════════════════════════════════
   ABOUT SECTION
═══════════════════════════════════════════════ */
.about-section {
  background-color: #FFFFFF;
  padding: 100px 0;
  position: relative;
}

.about-title {
  font-family: var(--font-body);
  font-size: 2em;
  font-weight: 700;
  color: #000000;
  position: relative;
}

.about-title::after {
  content: "";
  display: block;
  width: 110px;
  height: 3px;
  background-color: #FFBF00;
  position: absolute;
  bottom: -10px;
  left: 0;
}

.about-text {
  font-family: var(--font-body);
  font-size: 1em;
  font-weight: 400;
  line-height: 185%;
  color: #000000;
  text-align: justify;
  padding-top: 1.5em;
}

.about-image { max-width: 85%; height: auto; display: block; margin: 0 auto; }

.ending-line { width: 200px; height: 0; border: 3px solid #FFBF00; margin-top: 40px; }

@media (max-width: 480px) { .about-image { max-width: 100%; } }

/* ═══════════════════════════════════════════════
   PRACTICE AREAS LIST
═══════════════════════════════════════════════ */
#practice-areas {
  background-color: var(--bg-dark);
  padding: 50px 0;
}

#practice-areas .about-title {
  color: #fff;
  margin-bottom: 70px;
}

#practice-areas .about-title::after {
  background-color: #FFBF00;
}

.practice-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  list-style: none;
  padding: 0;
  font-family: var(--font-body);
  font-size: 1.2em;
  color: #fff;
}

.practice-list li { padding: 7px 0; border-bottom: 1px solid #ffbf00; }

/* ═══════════════════════════════════════════════
   TEAM / ABOUT PAGE
═══════════════════════════════════════════════ */
.team-section {
  background-color: var(--bg);
  padding: 5rem 7vw;
}

.team-heading {
  font-family: var(--font-body);
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 3.5rem;
  position: relative;
}

.team-heading::after {
  content: "";
  display: block;
  width: 48px;
  height: 2px;
  background: linear-gradient(to right, var(--gold), transparent);
  margin: 0.6rem auto 0;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2.5rem 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.team-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.team-photo-wrap {
  width: 100%;
  aspect-ratio: 3/4;
  overflow: hidden;
  border-radius: 4px;
  border: 1px solid rgba(255, 185, 80, 0.15);
  margin-bottom: 1rem;
  background-color: #0a0a0a;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.team-card:hover .team-photo-wrap {
  border-color: rgba(255, 185, 80, 0.5);
  box-shadow: 0 0 20px rgba(255, 185, 80, 0.15);
}

.team-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
  filter: grayscale(0.2);
  transition: filter 0.3s, transform 0.4s;
  -webkit-touch-callout: none;
  pointer-events: none;
}

.team-card:hover .team-photo-wrap img {
  filter: grayscale(0);
  transform: scale(1.03);
}

.team-info { padding: 0 0.25rem; }

.team-name {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.06em;
  margin-bottom: 0.25rem;
}

.team-role {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-style: italic;
  color: var(--gold-alt);
  letter-spacing: 0.1em;
  margin-bottom: 0.2rem;
}

.team-exp {
  font-family: var(--font-body);
  font-size: 0.65rem;
  color: var(--muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0;
}

@media (max-width: 480px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem 1rem;
  }
  .team-section { padding: 3rem 1.5rem; }
}


#scr-4 {
  background-color: #000;
  font-family: var(--font-body);
}

.letter-spacing { letter-spacing: 0.12em; }

.footer-brand {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}
.footer-brand-the {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-alt);
  opacity: 0.8;
}
.footer-brand-name {
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.04em;
}
.footer-brand-title {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 400;
  font-style: italic;
  color: var(--gold-alt);
  letter-spacing: 0.12em;
}

.footer-addr {
  line-height: 1.8;
  transition: color 0.2s;
}
.footer-addr:hover { color: var(--gold) !important; }

.footer-nav-link {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.2s;
  padding: 0.3rem 0.65rem;
}
.footer-nav-link:hover { color: var(--gold) !important; }

/* ── WhatsApp Float ── */
.whatsapp-float {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  z-index: 999;
  background-color: #25d366;
  color: #fff;
  border-radius: 50%;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 22px rgba(37, 211, 102, 0.65);
  color: #fff;
}

/* ═══════════════════════════════════════════════
   ANIMATIONS
═══════════════════════════════════════════════ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ═══════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════ */
@media (max-width: 768px) {
  .hero-section {
    flex-direction: column;
    padding: 3.5rem 1.5rem 2.5rem;
    gap: 2.5rem;
    min-height: unset;
  }

  .hero-left  { align-items: center; text-align: center; }
  .hero-title { align-items: center; }

  .hero-rule { margin-left: auto; margin-right: auto; }
  .hero-right { max-width: 100%; width: 100%; }
  .courts-section { padding: 2.5rem 1rem 3rem; }
  .courts-row {
    flex-wrap: nowrap;
    gap: clamp(0.5rem, 2vw, 1.25rem);
  }
  .court-item {
    flex: 1 1 0;
    min-width: 0;
    max-width: none;
  }
  .court-item p {
    font-size: clamp(0.5rem, 2.5vw, 0.7rem);
    letter-spacing: 0.08em;
  }
}




/* ============================================
About Page Styles
============================================ */

/* ── Reset single.html container for this page ── */
  .about-page-wrap {
    background-color: #000000;
    color: #f0e6d0;
    font-family: 'Inter', sans-serif;
  }

  /* ── About text block ── */
  .about-page-text {
    max-width: 720px;
    margin: 0 auto;
    padding: 4rem 2rem 3rem;
  }

  .about-page-text h1 {
    font-family: 'Inter', sans-serif;
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 1rem;
    position: relative;
  }

  .about-page-text h1::after {
    content: "";
    display: block;
    width: 52px;
    height: 2px;
    background: linear-gradient(to right, #ffb950, transparent);
    margin-top: 0.5rem;
  }

  .about-page-text p {
    font-size: 0.96rem;
    line-height: 1.9;
    color: rgba(240, 230, 208, 0.82);
    margin-bottom: 1.2rem;
  }

  /* ── Team section ── */
  .team-section {
    background-color: #000010;
    padding: 4.5rem 5vw 5rem;
    border-top: 1px solid rgba(255, 185, 80, 0.12);
  }

  .team-heading {
    font-family: 'Inter', sans-serif;
    font-size: clamp(0.9rem, 2vw, 1.2rem);
    font-weight: 700;
    color: #ffb950;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 0.5rem;
  }

  .team-heading-rule {
    width: 44px;
    height: 2px;
    margin: 0 auto 3.5rem;
  }

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 300px));
  gap: 2.5rem 2rem;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 5%;
  justify-content: center;
}

  .team-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .team-photo-wrap {
    width: 100%;
    aspect-ratio: 300 / 340;
    max-height: 340px;
    overflow: hidden;
    border-radius: 3px;
    border: 1px solid rgba(255, 185, 80, 0.15);
    background-color: #0a0a0a;
    margin-bottom: 1.1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
  }

  .team-card:hover .team-photo-wrap {
    border-color: rgba(255, 185, 80, 0.5);
    box-shadow: 0 0 22px rgba(255, 185, 80, 0.14);
  }

  .team-photo-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    display: block;
    filter: grayscale(0.15);
    transition: filter 0.3s, transform 0.45s;
    -webkit-touch-callout: none;
    pointer-events: none;
  }

  .team-card:hover .team-photo-wrap img {
    filter: grayscale(0);
    transform: scale(1.04);
  }

  /* Gold divider above name */
  .team-divider {
    width: 28px;
    height: 1px;
    background: #ffb950;
    margin: 0 auto 0.65rem;
    opacity: 0.6;
  }

  .team-name {
    font-family: 'Inter', sans-serif;
    font-size: 0.92rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.08em;
    margin-bottom: 0.25rem;
  }

  .team-role {
    font-family: 'Playfair Display SC', serif;
    font-size: 0.68rem;
    font-style: italic;
    color: #c8a050;
    letter-spacing: 0.1em;
    margin-bottom: 0.25rem;
  }

  .team-exp {
    font-family: 'Inter', sans-serif;
    font-size: 0.6rem;
    color: rgba(240, 230, 208, 0.4);
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin-bottom: 0;
  }


@media (max-width: 480px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem 0.9rem;
    padding: 0;
  }
  .team-section { padding: 3rem 1.25rem 3.5rem; }
  .about-page-text { padding: 2.5rem 1.25rem 2rem; }
}