:root {
  --color-bg: #000000;
  --color-bg-alt: #0a0a0a;
  --color-surface: #000000;
  --color-surface-alt: #111111;
  --color-border: rgba(218, 165, 32, 0.3);
  /* Muted Gold Border */
  --color-primary: #d4af37;
  /* Metallic Gold */
  --color-primary-strong: #c5a028;
  --color-primary-soft: rgba(212, 175, 55, 0.1);
  --color-text: #e5e5e5;
  --color-muted: #888888;
  --radius-card: 0px;
  /* Sharp corners for professional look */
  --shadow-soft: none;
  /* Minimalist - no heavy shadows */
  --transition-fast: 300ms ease;
  --container-width: 1200px;
  --hero-symbol-size: 450px;
}

/* ========== Preloader (Curtain Split) ========== */

body.is-loading {
  overflow: hidden;
}

.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  overflow: hidden;
}

.preloader.is-done {
  visibility: hidden;
}

/* Curtain Panels - Start in center, slide apart */
.preloader-panel {
  position: fixed;
  top: 0;
  width: 50%;
  height: 100%;
  background: #000;
  z-index: 9998;
  transition: transform 1.4s cubic-bezier(0.76, 0, 0.24, 1);
}

.preloader-panel--left {
  left: 0;
  transform: translateX(0);
  /* Starts at left edge, covering left half */
}

.preloader-panel--right {
  right: 0;
  transform: translateX(0);
  /* Starts at right edge, covering right half */
}

/* When animation triggers, slide panels away from center */
.preloader.is-done .preloader-panel--left {
  transform: translateX(-100%);
  /* Slides off to the left */
}

.preloader.is-done .preloader-panel--right {
  transform: translateX(100%);
  /* Slides off to the right */
}

/* Logo in center (on top of panels) */
.preloader-inner {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.8s ease-out 0.2s;
}

.preloader.is-done .preloader-inner {
  opacity: 0;
}

html {
  overflow-x: hidden;
}

/* ========== NEW Side-by-Side Preloader Logos ========== */
.preloader-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.preloader-logo-left {
  width: 350px;
  margin-right: 20px;
  /* Gap instead of overlap */
}

.preloader-logo-right {
  width: 320px;
}

@media (max-width: 768px) {
  .preloader-logos {
    flex-direction: row;
    align-items: center;
    gap: 10px;
    transform: scale(0.45);
  }

  .preloader-logo-left {
    width: 200px;
    margin-right: 0;
  }

  .preloader-logo-right {
    width: 180px;
  }
}

.preloader-logos svg {
  width: 100%;
  height: auto;
}

.preloader-logos svg rect {
  fill: #000;
}

/* Initial state - paths ready for animation */
.preloader-logos svg path {
  fill: transparent;
  stroke: #d4af37;
  stroke-width: 2;
  filter: drop-shadow(0 0 8px #d4af37) drop-shadow(0 0 20px rgba(212, 175, 55, 0.5));
}

/* ========== Nav Bar Logo (Large & Static with Glow) ========== */
.nav-logo-combined {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 5px 0;
  /* Add slight padding */
}

.nav-logo-left {
  width: 180px;
  transition: all 0.4s ease;
}

/* Shrink on scroll */
.site-header.scrolled .nav-logo-left {
  width: 140px;
}

.nav-logo-combined svg {
  width: 100%;
  height: auto;
  overflow: visible;
}

.nav-logo-left {
  overflow: visible;
}

.nav-logo-combined svg rect {
  fill: transparent;
}

.nav-logo-combined svg path {
  fill: #fff;
  filter: drop-shadow(0 0 5px #d4af37) drop-shadow(0 0 12px rgba(212, 175, 55, 0.4));
  transition: filter 0.3s ease;
}

.nav-logo-combined:hover svg path {
  filter: drop-shadow(0 0 8px #d4af37) drop-shadow(0 0 20px rgba(212, 175, 55, 0.6));
}

/* Hide older preloader elements */
.preloader-text-reveal,
.preloader-logo-wrap,
.preloader-orbit,
.preloader-progress,
.preloader-logo-reveal {
  display: none;
}

@keyframes textReveal {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Global */

*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Header Logo */
.brand-link {
  display: block;
  line-height: 0;
}

.header-logo {
  height: 60px;
  /* Adjust based on navbar height */
  width: auto;
  max-width: 200px;
  object-fit: contain;
  /* Ensure it blends if it has a black background */
  mix-blend-mode: screen;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Inter", "Helvetica Neue", sans-serif;
  /* Clean sans-serif for body */
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.6;
}

.brand-name,
.section-title,
.hero-title,
.nav-links a,
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Lora", "Times New Roman", serif;
  /* Prestige Serif */
  font-weight: 400;
  letter-spacing: 0.05em;
}

body {
  /* Matte Glass Background */
  background:
    url("../img/matte_bg.png") top center / cover no-repeat fixed;
  background-color: #000;
  /* Fallback */
}

body.no-scroll {
  overflow: hidden;
}

/* Global */

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ========== Header / Nav ========== */

/* ========== Header / Nav ========== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 0;
  /* No padding */
  transition: transform 0.4s ease, background 0.4s ease, padding 0.4s ease;
  background: transparent;
  border-bottom: 1px solid transparent;
  /* Add initial shadow for visibility if requested, though usually for scrolled */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

/* Allow header container to go full width to push logo to corner */
.site-header .container {
  max-width: 100%;
  padding: 0 2rem;
  /* Add side padding so it's not touching edge */
}

.site-header.scrolled {
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(15px);
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.site-header.header-hidden {
  transform: translateY(-100%);
  /* Hide on scroll down */
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand-logo {
  display: none;
  /* Text only for now, like reference */
}

.header-logo {
  height: 50px;
  width: auto;
  display: block;
  background: #000;
  padding: 0.5rem;
  filter: brightness(1.1);
}

/* SVG Header Logo with Neon Glow */
.header-logo-svg {
  height: 52px;
  width: auto;
  display: block;
  overflow: visible;
}

.header-logo-svg #header-logo-graphics path {
  fill: #FFFFFF;
  filter: drop-shadow(0 0 3px rgba(212, 175, 55, 0.4));
  transition: filter 0.3s ease;
}

.header-logo-svg:hover #header-logo-graphics path {
  filter: drop-shadow(0 0 8px #d4af37) drop-shadow(0 0 15px rgba(212, 175, 55, 0.5));
}


.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 1.1rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #fff;
}

.brand-subtitle {
  display: none;
  /* Simplify */
}

/* Nav */

.nav {
  margin-left: auto;
}

/* Mobile menu toggle - hidden on desktop */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle-line {
  display: block;
  width: 20px;
  height: 2px;
  background: #fff;
  transition: transform 0.3s ease;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-size: 0.8rem;
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-family: "Inter", sans-serif;
  transition: color var(--transition-fast);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  width: 0;
  height: 1px;
  background: var(--color-primary);
  transition: width 0.3s ease, left 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: #fff;
}

.nav-links a.active::after {
  width: 100%;
  left: 0;
}

/* ========== Hero ========== */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10rem;
  align-items: center;
}

.hero-text-side {
  text-align: left;
}

.hero-kicker-wrap {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.hero-kicker-line {
  height: 1px;
  width: 60px;
  background: var(--color-primary);
}

.hero-kicker {
  font-size: 0.85rem;
  letter-spacing: 0.35rem;
  text-transform: uppercase;
  color: var(--color-primary);
  font-family: "Inter", sans-serif;
  font-weight: 500;
}

.hero-main-title {
  font-family: "Lora", serif;
  font-size: clamp(3.5rem, 8vw, 6rem);
  line-height: 1.1;
  color: #fff;
  margin-bottom: 0.5rem;
  font-weight: 500;
  display: flex;
  flex-direction: column;
}

.hero-title-suffix {
  font-size: 0.55em;
  color: #fff;
  letter-spacing: 0.1em;
  margin-top: -0.5rem;
  font-weight: 400;
}

.hero-subtitle {
  font-size: 1.2rem;
  line-height: 1.8;
  color: var(--color-muted);
  max-width: 500px;
  margin-bottom: 3rem;
  font-family: "Inter", sans-serif;
}

.hero-actions {
  display: flex;
  gap: 1.5rem;
}

.hero-symbol-side {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-symbol-wrap {
  width: var(--hero-symbol-size, 450px);
  max-width: 100%;
  filter: drop-shadow(0 0 30px rgba(212, 175, 55, 0.15));
  opacity: 1;
}

.hero-symbol-img {
  width: 100%;
  height: auto;
  display: block;
}

/* Responsive tweaks */
@media (max-width: 1024px) {
  .hero-split {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }

  .hero-text-side {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-symbol-side {
    display: none;
  }

  .hero-symbol-svg,
  .hero-symbol-img,
  .hero-symbol-wrap {
    max-width: 160px;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
}


/* Hero Page Variant (for About, Team, Practice Areas, Contact) */
.hero--page {
  min-height: 60vh;
  /* Increased slightly for better visual balance */
  padding: 10rem 0 6rem;
}

.hero--page .hero-split {
  align-items: center;
  gap: 4rem;
  /* Tighter gap for inner pages compared to home */
}

.hero--page .hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-family: "Lora", serif;
  /* Ensure Lora is used here too */
  margin-bottom: 1rem;
}

.hero--page .hero-subtitle {
  font-size: 1.1rem;
  max-width: 600px;
}

.hero-visual-side {
  display: flex;
  justify-content: flex-end;
  position: relative;
}

.hero-visual-image {
  max-width: 100%;
  width: 450px;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  filter: brightness(0.85);
  transition: transform 0.5s ease, filter 0.5s ease;
}

.hero-visual-image:hover {
  transform: translateY(-5px);
  filter: brightness(1.1);
}

.hero-map-embed {
  width: 450px;
  max-width: 100%;
  height: 350px;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  position: relative;
  border: 1px solid rgba(248, 211, 122, 0.4);
}

.hero-map-embed iframe {
  width: 100%;
  height: 100%;
  display: block;
}


/* Mobile Responsiveness for Inner Pages */
@media (max-width: 1024px) {
  .hero--page .hero-split {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }

  .hero--page .hero-text-side {
    order: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero--page .hero-visual-side {
    justify-content: center;
    order: 2;
    margin-top: 1rem;
  }

  .hero-visual-image {
    width: 100%;
    max-width: 320px;
  }

  .hero-map-embed {
    width: 100%;
    height: 280px;
  }

  .hero--page .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 2.2rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  border: 1px solid var(--color-primary);
  background: transparent;
  color: var(--color-primary);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
  border-radius: 0;
  /* Sharp */
}

.btn-primary {
  background: var(--color-primary);
  color: #000;
  position: relative;
  overflow: hidden;
}

.btn-primary:hover {
  background: #fff;
  color: #000;
  border-color: #fff;
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4), 0 0 40px rgba(212, 175, 55, 0.2);
  transform: translateY(-3px) scale(1.03);
}

.btn-outline:hover {
  background: rgba(212, 175, 55, 0.15);
  box-shadow: 0 8px 20px rgba(212, 175, 55, 0.3);
  transform: translateY(-3px) scale(1.03);
}

/* Button glow pulse animation */
@keyframes btnPulse {

  0%,
  100% {
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
  }

  50% {
    box-shadow: 0 0 25px rgba(212, 175, 55, 0.5);
  }
}

.btn-primary {
  animation: btnPulse 3s ease-in-out infinite;
}

/* Hero portrait */

.hero-portrait {
  display: flex;
  justify-content: flex-end;
}

.portrait-card {
  background: radial-gradient(circle at top, #1a1c2b 0, #05060a 65%);
  border-radius: 28px;
  padding: 0.75rem;
  box-shadow: var(--shadow-soft);
  position: relative;
  border: 1px solid rgba(248, 211, 122, 0.18);
}

.portrait-img {
  border-radius: 22px;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.portrait-tag {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  background: rgba(6, 7, 16, 0.9);
  color: #f9fafb;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid rgba(248, 211, 122, 0.5);
}

/* ========== Sections ========== */

.section {
  padding: 6rem 0;
  border-bottom: 1px solid #111;
}

.section-alt {
  background: #050505;
}

.section-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 2.2rem;
  align-items: flex-start;
}

.section-label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.section-title {
  font-size: 2.2rem;
  margin: 0 0 1rem;
  color: #fff;
}

.section-lead {
  margin: 0 0 1.25rem;
  color: var(--color-muted);
  font-size: 0.98rem;
}

.section-split .section-content {
  padding-right: 1.2rem;
}

/* Pills / Tags */

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.pill {
  padding: 0.5rem 1rem;
  border: 1px solid #333;
  color: var(--color-muted);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  background: transparent;
  border-radius: 0;
}

/* Info cards */

.section-aside {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.info-card {
  background: rgba(15, 15, 15, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius-card, 12px);
  padding: 1rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55);
}

.section-aside .info-card {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: none;
  padding: 0;
  box-shadow: none;
  margin-bottom: 2rem;
}

.info-title {
  color: var(--color-primary);
  font-family: "Lora", serif;
  font-size: 1.1rem;
  border-bottom: 1px solid #222;
  padding-bottom: 0.5rem;
  display: inline-block;
  margin-bottom: 1rem;
}

.info-list {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.9rem;
  color: var(--color-muted);
}

.info-list li+li {
  margin-top: 0.25rem;
}

.info-list-inline {
  list-style: none;
  padding-left: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--color-muted);
}

/* Cards grid (Practice areas, Testimonials) */

.cards-grid {
  perspective: 1200px;
  /* add depth context */
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.card {
  transform-origin: center center;
  background: rgba(15, 15, 15, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-card, 12px);
  padding: 2rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

/* Card hover glow effect */
.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at center, rgba(212, 175, 55, 0.05) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.card:hover {
  transform: translateY(-8px);
  border-color: rgba(212, 175, 55, 0.4);
  background: rgba(20, 20, 20, 0.6);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(212, 175, 55, 0.15);
}

.card:hover::before {
  opacity: 1;
}

.testimonial-card:hover {
  transform: translateY(-4px) translateZ(10px);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.9),
    0 0 12px rgba(248, 211, 122, 0.15);
}

.card-title {
  font-family: "Lora", serif;
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 1rem;
}

.card-body {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--color-muted);
}

/* Timeline */

.timeline {
  margin-top: 1.8rem;
  border-left: 1px solid rgba(248, 211, 122, 0.45);
  padding-left: 1.6rem;
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  left: -4px;
  top: 0;
  bottom: 0;
  border-left: 1px dashed rgba(248, 211, 122, 0.4);
}

.timeline-item {
  position: relative;
  margin-bottom: 1.8rem;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -1.8rem;
  top: 0.35rem;
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: #05060a;
  border: 2px solid var(--color-primary);
}

.timeline-year {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--color-muted);
}

.timeline-content h3 {
  margin: 0.2rem 0 0.25rem;
  font-size: 0.98rem;
}

.timeline-content p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--color-muted);
}

/* Testimonials */

.testimonials-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.testimonial-card {
  background: var(--color-surface);
  border-radius: 18px;
  padding: 1.2rem 1.2rem;
  border: 1px solid var(--color-border);
  font-size: 0.9rem;
}

.testimonial-text {
  margin: 0 0 0.7rem;
  color: #f3f4f6;
}

.testimonial-meta {
  margin: 0;
  font-size: 0.8rem;
  color: var(--color-muted);
}

/* ========== Team Page Styles ========== */

.team-section {
  background: linear-gradient(180deg, #05060a 0%, #0a0b10 50%, #05060a 100%);
}

/* Founder Wrapper */
.team-founder-wrapper {
  margin-bottom: 4rem;
}

/* Team Card Base */
.team-card {
  background: rgba(15, 15, 15, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.team-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 30%, rgba(212, 175, 55, 0.03) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.team-card:hover {
  border-color: rgba(212, 175, 55, 0.4);
  background: rgba(20, 20, 20, 0.6);
  transform: translateY(-10px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(212, 175, 55, 0.1);
}

.team-card:hover::before {
  opacity: 1;
}

/* Founder Card (Featured) */
.team-card--founder {
  display: flex;
  gap: 2.5rem;
  padding: 3rem;
  background: linear-gradient(135deg, rgba(15, 15, 20, 0.95) 0%, rgba(10, 10, 15, 0.95) 100%);
  border: 1px solid rgba(212, 175, 55, 0.3);
}

.team-card--founder:hover {
  border-color: var(--color-primary);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.9), 0 0 60px rgba(212, 175, 55, 0.15);
}

/* Avatar Styles */
.team-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1a1b20 0%, #0d0e12 100%);
  border: 2px solid var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  transition: all 0.4s ease;
}

.team-avatar--large {
  width: 120px;
  height: 120px;
}

.avatar-initials {
  font-family: 'Lora', serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-primary);
  letter-spacing: 0.05em;
}

.team-avatar--large .avatar-initials {
  font-size: 2rem;
}

/* Avatar Glow Effect */
.avatar-glow {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent, var(--color-primary), transparent);
  opacity: 0.3;
  animation: avatarGlowRotate 8s linear infinite;
  z-index: -1;
}

@keyframes avatarGlowRotate {
  100% {
    transform: rotate(360deg);
  }
}

.team-card:hover .team-avatar {
  transform: scale(1.1);
  box-shadow: 0 0 30px rgba(212, 175, 55, 0.4);
}

/* Team Info */
.team-info {
  flex: 1;
}

.team-role {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-primary);
  font-weight: 500;
}

.team-name {
  font-size: 1.5rem;
  margin: 0.5rem 0 0.3rem;
  color: #fff;
  font-family: 'Lora', serif;
  transition: color 0.3s ease;
}

.team-card--founder .team-name {
  font-size: 2rem;
}

.team-card:hover .team-name {
  color: var(--color-primary);
  text-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

.team-experience {
  font-size: 0.85rem;
  color: var(--color-muted);
  margin: 0 0 1rem;
}

.team-bio {
  font-size: 0.95rem;
  color: #999;
  line-height: 1.7;
  margin: 0 0 1.5rem;
}

/* Expertise Tags */
.team-expertise {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.expertise-tag {
  padding: 0.35rem 0.8rem;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.3);
  color: var(--color-primary);
  border-radius: 4px;
  transition: all 0.3s ease;
}

.team-card:hover .expertise-tag {
  background: rgba(212, 175, 55, 0.2);
  border-color: var(--color-primary);
}

/* Partners Grid */
.team-partners-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

/* Partner Card */
.team-card--partner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2.5rem 1.5rem;
  perspective: 1000px;
}

.team-card--partner .team-avatar {
  margin-bottom: 1.5rem;
}

.team-card--partner .team-name {
  font-size: 1.2rem;
}

/* 3D Tilt Effect on Partner Cards */
.team-card--partner:hover {
  transform: translateY(-10px) rotateX(5deg) rotateY(-5deg);
}

/* Bio Popup */
.team-bio-popup {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, rgba(5, 6, 10, 0.95) 0%, rgba(10, 11, 16, 0.98) 100%);
  padding: 1.5rem;
  transform: translateY(100%);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-top: 1px solid var(--color-primary);
}

.team-bio-popup p {
  margin: 0;
  font-size: 0.85rem;
  color: #ccc;
  line-height: 1.6;
}

.team-card--partner:hover .team-bio-popup {
  transform: translateY(0);
  opacity: 1;
}

/* Responsive */
@media (max-width: 992px) {
  .team-partners-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .team-card--founder {
    flex-direction: column;
    text-align: center;
    padding: 2rem;
  }

  .team-card--founder .team-avatar--large {
    margin: 0 auto;
  }

  .team-card--founder .team-expertise {
    justify-content: center;
  }

  .team-partners-grid {
    grid-template-columns: 1fr;
  }
}

.section-gallery {
  background: radial-gradient(circle at top, #0f101a 0, #05060a 65%);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.35rem;
  margin-top: 1.8rem;
}

.gallery-item {
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.6);
  transition: all 0.4s ease;
  cursor: pointer;
}

.gallery-item:hover {
  transform: translateY(-5px);
  border-color: var(--color-primary);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 20px rgba(212, 175, 55, 0.1);
}

.gallery-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item figcaption {
  padding: 0.7rem 0.9rem 0.85rem;
  font-size: 0.82rem;
  color: var(--color-muted);
  background: var(--color-surface);
  transition: all 0.3s ease;
}

.gallery-item:hover figcaption {
  color: var(--color-primary);
  background: rgba(10, 10, 10, 0.95);
}

/* Contact */

.contact-list {
  margin-top: 1rem;
}

.contact-list li+li {
  margin-top: 0.5rem;
}

.office-photo-wrapper {
  margin-top: 1.3rem;
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.7);
}

.office-photo {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Contact form */

.contact-form {
  background: var(--color-surface);
  border-radius: 22px;
  padding: 1.4rem 1.35rem;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-soft);
}

.form-field {
  margin-bottom: 0.9rem;
}

.form-field label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.form-field input,
.form-field textarea {
  width: 100%;
  border-radius: 11px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  padding: 0.55rem 0.75rem;
  font-size: 0.9rem;
  outline: none;
  transition:
    border-color var(--transition-fast),
    box-shadow var(--transition-fast),
    background var(--transition-fast);
  background: rgba(10, 11, 19, 0.95);
  color: var(--color-text);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: rgba(148, 163, 184, 0.95);
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--color-primary-strong);
  box-shadow: 0 0 0 1px rgba(248, 211, 122, 0.3);
  background: #05060a;
}

.form-note {
  font-size: 0.75rem;
  color: var(--color-muted);
  margin: 0 0 0.95rem;
}

.btn-block {
  width: 100%;
}

/* Form Success Message */
.form-success {
  background: var(--color-surface);
  border-radius: 22px;
  padding: 2.5rem 1.5rem;
  border: 1px solid var(--color-primary);
  box-shadow: var(--shadow-soft);
  text-align: center;
}

.form-success .success-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.15);
  border: 2px solid var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--color-primary);
}

.form-success h3 {
  margin: 0 0 0.5rem;
  font-size: 1.5rem;
  color: var(--color-primary);
}

.form-success p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--color-muted);
}

/* ========== Footer ========== */

.site-footer {
  padding: 2.5rem 0 1.6rem;
  background: #020308;
  color: #e5e7eb;
  margin-top: 2.4rem;
  border-top: 1px solid rgba(248, 211, 122, 0.2);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: 2rem;
  align-items: flex-start;
}

.footer-col {
  font-size: 0.86rem;
}

.footer-brand {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 0.6rem;
}

.footer-logo {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  object-fit: cover;
  border: 1px solid rgba(248, 211, 122, 0.85);
  background: radial-gradient(circle at 20% 10%, #f9e7b4, #3b2a12 70%);
}

.footer-heading-main {
  margin: 0;
  font-size: 1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-tagline {
  margin: 0.15rem 0 0;
  font-size: 0.78rem;
  color: rgba(209, 213, 219, 0.9);
}

.footer-small-block {
  margin: 0.6rem 0 0;
  font-size: 0.8rem;
  color: rgba(156, 163, 175, 0.95);
  max-width: 22rem;
}

.footer-heading {
  margin: 0 0 0.6rem;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--color-primary);
}

.footer-heading-spaced {
  margin-top: 1.2rem;
}

.footer-links {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.footer-links li+li {
  margin-top: 0.3rem;
}

.footer-links a {
  color: rgba(229, 231, 235, 0.9);
  font-size: 0.84rem;
}

.footer-links a:hover {
  color: var(--color-primary);
}

.footer-meta {
  list-style: none;
  padding-left: 0;
  margin: 0;
  font-size: 0.84rem;
  color: rgba(209, 213, 219, 0.95);
}

.footer-meta li+li {
  margin-top: 0.25rem;
}

.footer-meta-text {
  margin: 0.2rem 0 0;
  font-size: 0.84rem;
  color: rgba(209, 213, 219, 0.95);
}

.footer-contact .footer-meta a {
  color: rgba(229, 231, 235, 0.9);
}

.footer-contact .footer-meta a:hover {
  color: var(--color-primary);
}

.footer-social {
  display: flex;
  gap: 0.45rem;
  margin-top: 0.35rem;
}

.footer-social-icon {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  border: 1px solid rgba(248, 211, 122, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(15, 23, 42, 0.8);
  color: var(--color-primary);
}

.footer-social-icon:hover {
  background: rgba(248, 211, 122, 0.12);
}

/* Footer bar */

.footer-bar {
  border-top: 1px solid rgba(55, 65, 81, 0.9);
  padding-top: 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.footer-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-cta-text {
  font-size: 0.86rem;
  color: rgba(229, 231, 235, 0.95);
}

.footer-cta-btn {
  padding-inline: 1.4rem;
  font-size: 0.84rem;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  font-size: 0.78rem;
  color: rgba(156, 163, 175, 0.95);
}

/* Old generic footer text styles (still used) */

.footer-small {
  margin: 0;
  color: rgba(156, 163, 175, 0.95);
}

/* ========== Reveal on Scroll ========== */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 600ms ease-out,
    transform 600ms ease-out;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ========== Responsive Styles ========== */

@media (max-width: 900px) {

  .hero-inner,
  .section-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .section-split .section-content {
    padding-right: 0;
  }

  .hero {
    padding-top: 3rem;
  }

  .hero-portrait {
    justify-content: flex-start;
  }
}

@media (max-width: 900px) {
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .hero-main-title {
    font-size: clamp(2.5rem, 12vw, 4rem);
  }

  .hero {
    padding: 6rem 0 3rem;
  }

  .hero--page {
    padding: 7rem 0 4rem;
  }

  .section {
    padding: 4rem 0;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 56px;
    right: 1rem;
    background: #05060a;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.9);
    padding: 0.7rem 0.9rem;
    flex-direction: column;
    align-items: flex-start;
    min-width: 190px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-6px);
    transition:
      opacity 140ms ease-out,
      transform 140ms ease-out;
    border: 1px solid rgba(248, 211, 122, 0.25);
  }

  .nav-links.show {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: block;
    padding: 0.35rem 0.2rem;
  }

  .cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .testimonials-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .timeline {
    padding-left: 1.2rem;
  }

  .header-inner {
    align-items: center;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.6rem;
  }

  .footer-cta {
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .cards-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .gallery-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-meta {
    gap: 0.75rem;
  }

  .hero-meta-item {
    width: 100%;
  }

  .contact-form {
    padding: 1.15rem 1.05rem;
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-brand {
    align-items: flex-start;
  }
}


/* ========== Preloader ========== */

#preloader {
  position: fixed;
  inset: 0;
  background: #020308;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

.preloader-inner {
  text-align: center;
}

.preloader-logo {
  width: 76px;
  height: 76px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(248, 211, 122, 0.9);
  margin: 0 auto 0.9rem;
  background: radial-gradient(circle at 20% 10%, #f9e7b4, #3b2a12 70%);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.9);
}

.preloader-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.preloader-text {
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(229, 231, 235, 0.9);
}

#preloader.preloader-hidden {
  opacity: 0;
  visibility: hidden;
}

/* ========== Legal Disclaimer Overlay ========== */

.disclaimer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 6, 12, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  z-index: 9998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease-out;
}

.disclaimer-overlay.disclaimer-visible {
  opacity: 1;
  pointer-events: auto;
}

.disclaimer-overlay.disclaimer-hidden {
  opacity: 0;
  pointer-events: none;
}

.disclaimer-modal {
  max-width: 640px;
  width: 100%;
  background: var(--color-surface);
  border-radius: 24px;
  padding: 1.8rem 1.9rem;
  border: 1px solid rgba(248, 211, 122, 0.55);
  box-shadow: var(--shadow-soft);
}

.disclaimer-title {
  margin: 0 0 0.7rem;
  font-size: 1.3rem;
}

.disclaimer-list {
  margin: 0.7rem 0 0.8rem;
  padding-left: 1.2rem;
  font-size: 0.9rem;
  color: var(--color-muted);
}

.disclaimer-note {
  font-size: 0.8rem;
  color: var(--color-muted);
  margin: 0 0 1.2rem;
}

.disclaimer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: flex-end;
}

/* ========== Team Layout ========== */

.team-section {
  margin-top: 2.4rem;
}

.team-heading {
  font-size: 1.2rem;
  margin: 0 0 1.2rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.team-partners-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.team-card {
  background: var(--color-surface);
  border-radius: var(--radius-card);
  padding: 1.2rem 1.15rem 1.3rem;
  border: 1px solid var(--color-border);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.6);
}

.team-photo-wrapper {
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 0.8rem;
  border: 1px solid rgba(248, 211, 122, 0.25);
}

.team-photo {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.team-name {
  margin: 0 0 0.15rem;
  font-size: 1rem;
}

.team-role {
  margin: 0 0 0.5rem;
  font-size: 0.85rem;
  color: var(--color-primary);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.team-bio {
  margin: 0;
  font-size: 0.88rem;
  color: var(--color-muted);
}

/* Responsive tweaks for team & disclaimer */

@media (max-width: 900px) {

  .team-grid,
  .team-partners-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {

  .team-grid,
  .team-partners-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .disclaimer-modal {
    padding: 1.4rem 1.3rem;
  }
}

/* --- Hero CTA buttons: keep them on a single row, even on mobile --- */

.hero-actions {
  display: flex;
  flex-wrap: nowrap;
  /* prevent wrapping to next line */
  gap: 0.75rem;
}

.hero-actions .btn {
  white-space: nowrap;
  /* keep full text in one line */
}

/* Slightly smaller buttons on narrow phones so they fit nicely side-by-side */
@media (max-width: 480px) {
  .hero-actions {
    justify-content: flex-start;
  }

  .hero-actions .btn {
    font-size: 0.8rem;
    padding: 0.6rem 0.9rem;
  }
}

/* ========== Chambers Showcase Gallery ========== */
.gallery-section {
  padding: 8rem 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.gallery-item {
  position: relative;
  height: 450px;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: #050505;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s cubic-bezier(0.19, 1, 0.22, 1), opacity 0.5s ease;
  opacity: 0.8;
}

.gallery-item:hover img {
  transform: scale(1.05);
  opacity: 1;
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2.5rem;
  transition: all 0.4s ease;
}

.gallery-item:hover .gallery-overlay {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.98) 0%, rgba(212, 175, 55, 0.08) 100%);
}

.gallery-cat {
  font-size: 0.725rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
  transform: translateY(20px);
  transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.gallery-title {
  font-size: 1.65rem;
  color: #fff;
  margin-bottom: 0.75rem;
  transform: translateY(20px);
  transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1) 0.05s;
}

.gallery-desc {
  font-size: 0.92rem;
  color: var(--color-muted);
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1) 0.1s;
  line-height: 1.6;
}

.gallery-item:hover .gallery-cat,
.gallery-item:hover .gallery-title,
.gallery-item:hover .gallery-desc {
  transform: translateY(0);
}

.gallery-item:hover .gallery-desc {
  opacity: 1;
}

/* Glassmorphism Info Section */
.parallax-bg-section {
  position: relative;
  padding: 10rem 0;
  background: linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.75)), url('https://images.unsplash.com/photo-1589829545856-d10d557cf95f?auto=format&fit=crop&q=80&w=2000') center/cover no-repeat fixed;
  overflow: hidden;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.glass-card {
  background: rgba(10, 10, 10, 0.4);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(212, 175, 55, 0.2);
  padding: 5rem 4rem;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.glass-card h2 {
  color: var(--color-primary);
  margin-bottom: 2rem;
  font-size: 2.5rem;
}

.glass-card p {
  font-size: 1.15rem;
  line-height: 2;
  color: #e5e5e5;
  max-width: 700px;
  margin: 0 auto;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 1rem;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  border: 1px solid rgba(212, 175, 55, 0.05);
  pointer-events: none;
}

/* Responsive Chambers */
@media (max-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item {
    height: 400px;
  }

  .glass-card {
    padding: 3rem 1.5rem;
  }
}

/* ========== Layout Utilities & Aesthetics ========== */
.stats-section {
  border-top: 1px solid #111;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-number {
  color: var(--color-primary);
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  font-family: 'Lora', serif;
}

.stat-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--color-muted);
}

.quote-author {
  margin-top: 2rem;
  color: var(--color-primary);
  font-family: 'Lora', serif;
  font-size: 1.2rem;
  font-style: italic;
}

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
}

.office-photo-wrapper {
  margin-top: 2rem;
}

.info-list.large-text {
  font-size: 1.1rem;
}

/* ========== Reveal on Scroll JS Support ========== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1.2s cubic-bezier(0.215, 0.61, 0.355, 1), transform 1.2s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.footer-address-link {
  transition: color 0.3s ease;
  color: inherit;
  text-decoration: none;
}

.footer-address-link:hover {
  color: var(--color-primary);
}