/* ============================================================
   THE ROYAL ADVISOR — ABOUT PAGE CSS
   Shared styles are in style.css
   ============================================================ */

/* ===== PAGE HERO ===== */
.page-hero {
  position: relative; padding: 120px 8% 100px;
  background: radial-gradient(ellipse at 30% 60%, #120d00 0%, #080808 65%);
  overflow: hidden; text-align: center;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0; opacity: 0.04;
  background-image:
    linear-gradient(0deg, var(--gold) 1px, transparent 1px),
    linear-gradient(90deg, var(--gold) 1px, transparent 1px);
  background-size: 70px 70px;
}
.page-hero-mono {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  font-family: 'Cormorant Garamond', serif; font-size: 30vw; font-weight: 900;
  color: rgba(184,150,46,0.03); pointer-events: none; line-height: 1; white-space: nowrap;
}
.page-hero-lines {
  position: absolute; bottom: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(184,150,46,0.4), transparent);
}
.breadcrumb {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  font-size: 0.72rem; color: var(--grey); letter-spacing: 1.5px;
  text-transform: uppercase; margin-bottom: 20px;
  position: relative; z-index: 1;
  animation: fadeUp 0.8s ease 0.2s both;
}
.breadcrumb a { color: var(--gold); text-decoration: none; transition: opacity 0.3s; }
.breadcrumb a:hover { opacity: 0.7; }
.breadcrumb i { font-size: 0.55rem; color: var(--grey); }
.page-hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3rem, 7vw, 6rem); font-weight: 700;
  color: var(--white); line-height: 1.05;
  position: relative; z-index: 1;
  animation: fadeUp 0.8s ease 0.4s both;
}
.page-hero-title em { font-style: italic; color: var(--gold); }
.page-hero-sub {
  font-size: 1rem; color: var(--text); line-height: 1.9; font-weight: 300;
  max-width: 600px; margin: 20px auto 0;
  position: relative; z-index: 1;
  animation: fadeUp 0.8s ease 0.6s both;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ===== SECTION PADDING ===== */
.about-sec      { padding: 100px 8%; background: var(--dark2); }
.mission-sec    { padding: 100px 8%; background: var(--dark); }
.values-sec     { padding: 100px 8%; background: var(--dark2); }
.team-sec       { padding: 100px 8%; background: var(--dark); }
.faq-sec        { padding: 100px 8%; background: var(--dark2); }
.contact-strip  { background: var(--dark3); padding: 90px 8%; display: grid; grid-template-columns: 1fr 1.3fr; gap: 80px; align-items: start; }

/* ===== SECTION DIVIDER ===== */
.sec-divider {
  height: 80px; display: flex; align-items: center; justify-content: center; position: relative;
}
.sec-divider::before {
  content: ''; position: absolute; left: 8%; right: 8%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(184,150,46,0.2), transparent);
}
.sec-divider-icon {
  background: var(--dark); padding: 0 20px; position: relative; z-index: 1;
  color: rgba(184,150,46,0.35); font-size: 1.1rem;
}

/* ===========================
   ABOUT SECTION
   =========================== */
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 90px; align-items: center;
}
.about-visual { position: relative; }
.about-frame {
  width: 100%; aspect-ratio: 4/5;
  background: linear-gradient(135deg, #1a1200 0%, #0f0900 100%);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 16px; position: relative; overflow: hidden;
}
.about-frame-pattern {
  position: absolute; inset: 0; opacity: 0.05;
  background-image: repeating-linear-gradient(45deg, var(--gold) 0, var(--gold) 1px, transparent 0, transparent 50%);
  background-size: 22px 22px;
}
.about-frame-icon { font-size: 8rem; color: rgba(184,150,46,0.15); position: relative; z-index: 1; }
.about-frame-label {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  padding: 30px 24px 18px;
  display: flex; justify-content: space-between; align-items: flex-end;
}
.about-frame-label span { font-size: 0.65rem; color: var(--gold); letter-spacing: 2.5px; text-transform: uppercase; }

/* Corner brackets */
.bracket {
  position: absolute; width: 50px; height: 50px;
  border-style: solid; border-color: rgba(184,150,46,0.5); border-width: 0;
  animation: bracketGlow 3s ease-in-out infinite;
}
.bracket.tl { top: -14px; left: -14px; border-top-width: 2px; border-left-width: 2px; }
.bracket.br { bottom: -14px; right: -14px; border-bottom-width: 2px; border-right-width: 2px; animation-delay: 1.5s; }
@keyframes bracketGlow {
  0%,100% { border-color: rgba(184,150,46,0.3); }
  50%      { border-color: rgba(184,150,46,0.8); }
}

/* Floating stat badge */
.about-badge {
  position: absolute; bottom: -24px; right: -24px; z-index: 3;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  padding: 20px 24px; text-align: center;
  animation: badgeFloat 4s ease-in-out infinite;
}
.about-badge strong {
  display: block; font-family: 'Cormorant Garamond', serif;
  font-size: 2.4rem; color: var(--dark); font-weight: 900; line-height: 1;
}
.about-badge span { font-size: 0.6rem; color: var(--dark); letter-spacing: 1.5px; text-transform: uppercase; font-weight: 700; }
@keyframes badgeFloat {
  0%,100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-8px) rotate(1deg); }
}

/* Highlight pills */
.about-pills { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 36px; }
.pill {
  padding: 7px 18px; border: 1px solid rgba(184,150,46,0.3);
  font-size: 0.7rem; color: var(--gold); letter-spacing: 1.5px; text-transform: uppercase;
  transition: all 0.3s; cursor: default;
}
.pill:hover { background: var(--gold-faint); border-color: var(--gold); }

/* ===========================
   STATS ROW
   =========================== */
.stats-row {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: linear-gradient(90deg, var(--dark3) 0%, #100d00 50%, var(--dark3) 100%);
  border-top: 1px solid rgba(184,150,46,0.1);
  border-bottom: 1px solid rgba(184,150,46,0.1);
}
.stat-cell { text-align: center; padding: 48px 20px; border-right: 1px solid rgba(184,150,46,0.1); }
.stat-cell:last-child { border-right: none; }
.stat-icon { font-size: 1.3rem; color: rgba(184,150,46,0.4); margin-bottom: 12px; }
.stat-num {
  font-family: 'Cormorant Garamond', serif; font-size: 3.6rem;
  font-weight: 700; color: var(--gold); line-height: 1;
}
.stat-num sup { font-size: 1.8rem; vertical-align: super; }
.stat-label { font-size: 0.7rem; color: var(--grey); letter-spacing: 2px; text-transform: uppercase; margin-top: 10px; }

/* ===========================
   MISSION / VISION / VALUES
   =========================== */
.mvv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; margin-top: 60px; }
.mvv-card {
  background: var(--dark2); padding: 48px 36px;
  position: relative; overflow: hidden; transition: all 0.4s;
  border-bottom: 2px solid transparent;
}
.mvv-card::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--gold-faint), transparent);
  opacity: 0; transition: opacity 0.4s;
}
.mvv-card:hover { border-bottom-color: var(--gold); transform: translateY(-5px); }
.mvv-card:hover::before { opacity: 1; }
.mvv-card-num {
  font-family: 'Cormorant Garamond', serif; font-size: 5rem; font-weight: 900;
  color: rgba(184,150,46,0.06); position: absolute; top: 16px; right: 24px;
  line-height: 1; transition: color 0.4s;
}
.mvv-card:hover .mvv-card-num { color: rgba(184,150,46,0.12); }
.mvv-icon {
  width: 58px; height: 58px; background: var(--gold-faint);
  border: 1px solid rgba(184,150,46,0.25);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; color: var(--gold); margin-bottom: 24px; transition: all 0.4s;
}
.mvv-card:hover .mvv-icon { background: var(--gold); color: var(--dark); }
.mvv-card h3 {
  font-family: 'Cormorant Garamond', serif; font-size: 1.5rem;
  color: var(--white); font-weight: 700; margin-bottom: 16px;
}
.mvv-card p { font-size: 0.88rem; color: var(--grey); line-height: 1.85; }

/* ===========================
   CORE VALUES
   =========================== */
.values-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 60px; }
.value-card {
  background: var(--dark3); border: 1px solid rgba(255,255,255,0.04);
  padding: 32px 28px; display: flex; gap: 22px; align-items: flex-start;
  transition: all 0.4s;
}
.value-card:hover { border-color: rgba(184,150,46,0.3); transform: translateX(6px); }
.value-icon {
  width: 50px; height: 50px; flex-shrink: 0;
  background: var(--gold-faint); border: 1px solid rgba(184,150,46,0.25);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; color: var(--gold); transition: all 0.4s;
}
.value-card:hover .value-icon { background: var(--gold); color: var(--dark); }
.value-card h4 {
  font-size: 0.85rem; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--white); margin-bottom: 10px;
}
.value-card p { font-size: 0.84rem; color: var(--grey); line-height: 1.8; }

/* Quote block */
.about-quote {
  background: linear-gradient(135deg, var(--dark3) 0%, #0f0c00 100%);
  border-left: 3px solid var(--gold); padding: 42px 44px;
  position: relative; margin-top: 60px; overflow: hidden;
}
.about-quote::before {
  content: '"'; font-family: 'Cormorant Garamond', serif; font-size: 10rem;
  color: rgba(184,150,46,0.06); position: absolute; top: -10px; right: 30px; line-height: 1;
}
.about-quote p {
  font-family: 'Cormorant Garamond', serif; font-size: 1.25rem;
  color: var(--text); line-height: 1.8; font-style: italic; position: relative; z-index: 1;
}
.about-quote cite {
  display: block; margin-top: 16px; font-size: 0.72rem;
  color: var(--gold); letter-spacing: 2px; text-transform: uppercase;
}

/* ===========================
   TEAM SECTION
   =========================== */
.team-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; margin-top: 60px;
}
.team-card {
  background: var(--dark2); overflow: hidden;
  border: 1px solid rgba(255,255,255,0.04);
  transition: all 0.4s; position: relative;
}
.team-card:hover { border-color: rgba(184,150,46,0.35); transform: translateY(-8px); box-shadow: 0 24px 60px rgba(0,0,0,0.5); }

/* Photo area */
.team-photo {
  width: 100%; aspect-ratio: 3/3.5; position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.team-photo-bg {
  position: absolute; inset: 0; transition: transform 0.6s ease;
}
.team-card:hover .team-photo-bg { transform: scale(1.05); }
.tp1 { background: linear-gradient(160deg, #1a1200 0%, #0d0900 100%); }
.tp2 { background: linear-gradient(160deg, #001020 0%, #000810 100%); }
.tp3 { background: linear-gradient(160deg, #0e0800 0%, #080808 100%); }
.tp4 { background: linear-gradient(160deg, #0a0012 0%, #06000c 100%); }
.tp5 { background: linear-gradient(160deg, #001a00 0%, #001000 100%); }
.tp6 { background: linear-gradient(160deg, #140008 0%, #0a0005 100%); }

.team-photo-icon {
  font-size: 5rem; color: rgba(184,150,46,0.18);
  position: relative; z-index: 1;
  transition: transform 0.4s;
}
.team-card:hover .team-photo-icon { transform: scale(1.08); }

/* Social overlay */
.team-socials {
  position: absolute; inset: 0; z-index: 2;
  background: rgba(0,0,0,0.7);
  display: flex; align-items: center; justify-content: center; gap: 14px;
  opacity: 0; transition: opacity 0.4s;
}
.team-card:hover .team-socials { opacity: 1; }
.team-social-btn {
  width: 40px; height: 40px; border: 1px solid rgba(184,150,46,0.6);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold); font-size: 0.9rem; text-decoration: none;
  transition: all 0.3s;
  transform: translateY(10px);
  transition: all 0.4s;
}
.team-card:hover .team-social-btn { transform: translateY(0); }
.team-social-btn:hover { background: var(--gold); color: var(--dark); }
.team-social-btn:nth-child(2) { transition-delay: 0.05s; }
.team-social-btn:nth-child(3) { transition-delay: 0.1s; }

/* Gold top bar on card */
.team-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform: scaleX(0); transition: transform 0.4s; z-index: 3;
}
.team-card:hover::before { transform: scaleX(1); }

.team-info { padding: 24px 22px; }
.team-dept {
  font-size: 0.62rem; color: var(--gold); letter-spacing: 3px;
  text-transform: uppercase; margin-bottom: 8px;
}
.team-name {
  font-family: 'Cormorant Garamond', serif; font-size: 1.2rem;
  color: var(--white); font-weight: 700; margin-bottom: 6px;
}
.team-role { font-size: 0.8rem; color: var(--grey); margin-bottom: 14px; }
.team-bio { font-size: 0.82rem; color: var(--text); line-height: 1.75; }

/* Team CTA */
.team-cta {
  text-align: center; margin-top: 60px;
  padding: 50px 60px;
  background: linear-gradient(135deg, #100c00, #0a0800);
  border: 1px solid rgba(184,150,46,0.15);
  position: relative; overflow: hidden;
}
.team-cta::before {
  content: '♛'; font-size: 12rem; position: absolute;
  right: 40px; top: 50%; transform: translateY(-50%);
  color: rgba(184,150,46,0.04); line-height: 1; pointer-events: none;
}
.team-cta h3 {
  font-family: 'Cormorant Garamond', serif; font-size: 1.8rem;
  color: var(--white); font-weight: 700; margin-bottom: 10px;
}
.team-cta h3 em { color: var(--gold); font-style: italic; }
.team-cta p { color: var(--text); font-size: 0.9rem; margin-bottom: 28px; line-height: 1.8; max-width: 520px; margin-left: auto; margin-right: auto; }

/* ===========================
   FAQ
   =========================== */
.faq-wrap { max-width: 820px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid rgba(255,255,255,0.06); overflow: hidden; }
.faq-q {
  width: 100%; background: none; border: none; text-align: left;
  padding: 22px 0; display: flex; justify-content: space-between; align-items: center;
  cursor: pointer; color: var(--white); font-family: 'Raleway', sans-serif;
  font-size: 0.92rem; font-weight: 600; letter-spacing: 0.5px;
  transition: color 0.3s; gap: 20px;
}
.faq-q:hover, .faq-q.open { color: var(--gold); }
.faq-icon { color: var(--gold); font-size: 0.75rem; flex-shrink: 0; transition: transform 0.35s; }
.faq-q.open .faq-icon { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-a.open { max-height: 320px; }
.faq-a p { padding-bottom: 20px; color: var(--text); font-size: 0.88rem; line-height: 1.9; font-weight: 300; }

/* ===========================
   CONTACT STRIP
   =========================== */
.cstrip-detail { display: flex; gap: 14px; margin-bottom: 18px; }
.cstrip-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  background: var(--gold-faint); border: 1px solid rgba(184,150,46,0.25);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold); transition: all 0.4s;
}
.cstrip-detail:hover .cstrip-icon { background: var(--gold); color: var(--dark); }
.cstrip-detail h5 { font-size: 0.68rem; color: var(--grey); letter-spacing: 2px; text-transform: uppercase; margin-bottom: 4px; }
.cstrip-detail p { color: var(--white); font-size: 0.9rem; margin: 0; }

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 1100px) {
  .team-grid     { grid-template-columns: repeat(2, 1fr); }
  .stats-row     { grid-template-columns: repeat(2, 1fr); }
  .values-grid   { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .about-grid    { grid-template-columns: 1fr; gap: 50px; }
  .mvv-grid      { grid-template-columns: 1fr; }
  .contact-strip { grid-template-columns: 1fr; }
  .about-badge   { right: 10px; bottom: 10px; }
}
@media (max-width: 768px) {
  .page-hero     { padding: 80px 5% 60px; }
  .about-sec, .mission-sec, .values-sec,
  .team-sec, .faq-sec { padding: 70px 5%; }
  .contact-strip { padding: 70px 5%; }
  .team-grid     { grid-template-columns: 1fr; }
  .stats-row     { grid-template-columns: 1fr 1fr; }
  .team-cta      { padding: 40px 28px; }
  .about-quote   { padding: 30px 28px; }
}
