/*
Theme Name: Sabir Wealth
Theme URI:
Author: Puja
Author URI:
Description: Sabir Wealth – Private venture desk. A minimal WordPress theme for institutional-grade venture capital.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sabir-wealth
*/

/* --------------------------------------------------------------------------
   Design tokens – SAPIR WEALTH pattern
   -------------------------------------------------------------------------- */
:root {
  --color-bg: #0d0d0d;
  --color-bg-elevated: #141414;
  --color-text: #ffffff;
  --color-text-muted: rgba(255, 255, 255, 0.85);
  --color-gold: #c9a227;
  --color-gold-hover: #d4af37;
  --font-sans: "Segoe UI", system-ui, -apple-system, sans-serif;
  --container: min(1200px, 100% - 3rem);
  --header-height: 84px;
}

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

body {
  margin: 0;
  font-family: var(--font-sans);
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  overflow-x: hidden;
}

/* Skip link: off-screen until focused (WordPress.org accessibility requirement) */
.skip-link.screen-reader-text {
  position: absolute;
  left: -10000px;
  top: 0;
  z-index: 100000;
  padding: 0.75rem 1rem;
  background: var(--color-gold);
  color: var(--color-bg);
  font-weight: 600;
  text-decoration: none;
}

.skip-link.screen-reader-text:focus {
  left: 0;
  outline: 2px solid var(--color-gold-hover);
  outline-offset: 2px;
}

a {
  color: inherit;
  text-decoration: none;
}

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

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(13, 13, 13, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

/* Nav links + CTA grouped together, close to Contact */
.header-nav-group {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.site-logo {
  display: inline-flex;
  align-items: center;
}

.site-logo-img {
  display: block;
  max-height: 62px;
  width: auto;
  height: auto;
  object-fit: contain;
  /* Lighten dark logo for visibility on dark background */
  filter: brightness(0) invert(1);
}

/* Legacy text logo (if no image) */
.logo-icon {
  width: 36px;
  height: 36px;
  background: var(--color-gold);
  color: var(--color-bg);
  font-weight: 700;
  font-size: 1.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.logo-text {
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.02em;
  color: var(--color-text);
}

.site-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 2rem;
}

.nav-list a {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  transition: color 0.2s;
}

.nav-list a:hover {
  color: var(--color-text);
}

.header-cta {
  display: inline-block;
  padding: 0.7rem 1.5rem;
  background: var(--color-gold);
  color: var(--color-bg) !important;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  border: none;
  transition: background 0.2s;
}

.header-cta:hover {
  background: var(--color-gold-hover);
}

/* Hamburger button – hidden on desktop */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.nav-toggle:hover {
  border-color: var(--color-gold);
  background: rgba(201, 162, 39, 0.08);
}

.nav-toggle:focus {
  outline: 2px solid var(--color-gold);
  outline-offset: 2px;
}

.nav-toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--color-text);
  border-radius: 1px;
  margin: 0 auto;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--header-height) + 4rem) 1.5rem 4rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-color: #0d0d0d;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  /* Sharp rendering for building/skyscraper hero images */
  image-rendering: auto;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  /* Fallback when no Customizer image is set */
  background-image: linear-gradient(135deg, #0d0d0d 0%, #1a1a1a 50%, #0f0f0f 100%);
}

/* Dark overlay when a hero image is used – keeps text readable */
.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(13, 13, 13, 0.65);
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 50% at 50% 20%, rgba(201, 162, 39, 0.08) 0%, transparent 60%);
}

.hero-inner {
  position: relative;
  max-width: 720px;
  text-align: center;
}

.hero-title {
  margin: 0 0 1.25rem;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--color-text);
}

.hero-title-accent {
  color: var(--color-gold);
}

.hero-desc {
  margin: 0 0 2rem;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--color-text-muted);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.btn {
  display: inline-block;
  padding: 0.85rem 1.75rem;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  border: 2px solid transparent;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

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

.btn-primary:hover {
  background: var(--color-gold-hover);
  color: var(--color-bg);
}

.btn-secondary {
  background: transparent;
  color: var(--color-text);
  border-color: var(--color-gold);
}

.btn-secondary:hover {
  background: rgba(201, 162, 39, 0.15);
  border-color: var(--color-gold-hover);
}

/* --------------------------------------------------------------------------
   Stats
   -------------------------------------------------------------------------- */
.stats {
  background: var(--color-bg-elevated);
  padding: 3.5rem 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.stats-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  text-align: center;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text);
}

.stat-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--color-text-muted);
}

/* --------------------------------------------------------------------------
   Section common
   -------------------------------------------------------------------------- */
.section-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

.section-eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--color-text-muted);
  text-transform: uppercase;
}

.section-title {
  margin: 0 0 2.5rem;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-text);
}

/* --------------------------------------------------------------------------
   Leadership Experience & Credentials (home)
   -------------------------------------------------------------------------- */
.credentials-section {
  background: var(--color-bg);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.credentials-heading {
  margin: 0 0 2.5rem;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-gold);
}

.credentials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.credential-card {
  margin: 0;
  padding: 1.5rem 1.25rem;
  background: var(--color-bg-elevated);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.credential-card:hover {
  border-color: rgba(201, 162, 39, 0.35);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.credential-card-title {
  margin: 0 0 0.6rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-text);
}

.credential-card-desc {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--color-text-muted);
}

@media (max-width: 900px) {
  .credentials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .credentials-grid {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   Core principles
   -------------------------------------------------------------------------- */
.principles {
  background: var(--color-bg);
}

.principles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
}

.principle-card {
  padding: 0;
  margin: 0;
  border: none;
  background: none;
}

.principle-line {
  display: block;
  width: 40px;
  height: 3px;
  background: var(--color-gold);
  margin-bottom: 1.25rem;
}

.principle-title {
  margin: 0 0 0.75rem;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-text);
}

.principle-desc {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--color-text-muted);
}

/* --------------------------------------------------------------------------
   News section
   -------------------------------------------------------------------------- */
.news-section {
  background: var(--color-bg-elevated);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

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

@media (max-width: 700px) {
  .news-grid {
    grid-template-columns: 1fr;
  }
}

.news-card {
  margin: 0;
  padding: 0;
  border: none;
  background: var(--color-bg);
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
  border-color: rgba(201, 162, 39, 0.2);
}

.news-card-link {
  display: block;
  color: inherit;
  padding: 0 1.35rem 1.35rem;
  transition: none;
}

.news-card-link:hover .news-card-more {
  color: var(--color-gold);
}

.news-card-image {
  aspect-ratio: 16 / 10;
  background: var(--color-bg-elevated);
  overflow: hidden;
  margin: 0 -1.35rem 1.25rem -1.35rem;
}

.news-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-card-image-placeholder {
  background: linear-gradient(145deg, #1a1a1a 0%, #252525 100%);
}

.news-card-image-placeholder--1 {
  background: linear-gradient(135deg, #1a1a1a 0%, #2a2520 50%, #1f1f1f 100%);
}

.news-card-image-placeholder--2 {
  background: linear-gradient(135deg, #1a1a1a 0%, #1e2528 50%, #1f1f1f 100%);
}

.news-card-cat {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--color-gold);
  margin-bottom: 0.5rem;
}

.news-card-title {
  margin: 0 0 0.5rem;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--color-text);
}

.news-card-excerpt {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--color-text-muted);
}

.news-card-more {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--color-text-muted);
  transition: color 0.2s;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--color-bg);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 4rem;
}

.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem 2.5rem;
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 2.5rem;
}

@media (max-width: 900px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .footer-inner {
    grid-template-columns: 1fr;
  }
}

.footer-logo {
  display: inline-block;
  margin-bottom: 1rem;
}

.footer-logo-img {
  display: block;
  max-height: 52px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.footer-logo .logo-icon {
  width: 32px;
  height: 32px;
  font-size: 1rem;
}

.footer-tagline {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--color-text-muted);
  max-width: 280px;
}

.footer-address {
  margin: 0 0 0.25rem;
  font-size: 0.85rem;
  font-style: normal;
  color: var(--color-text-muted);
}

.footer-email {
  font-size: 0.9rem;
  color: var(--color-gold);
}

.footer-email:hover {
  text-decoration: underline;
}

.footer-phone {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.9rem;
  color: var(--color-gold);
  text-decoration: none;
}

.footer-phone:hover {
  text-decoration: underline;
}

.footer-heading {
  margin: 0 0 1rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--color-text-muted);
  text-transform: uppercase;
}

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

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.footer-links a:hover {
  color: var(--color-gold);
}

.footer-bottom {
  padding: 1.25rem 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem 1.5rem;
}

.footer-copy {
  margin: 0;
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
}

.footer-legal a {
  color: var(--color-text-muted);
}

.footer-legal a:hover {
  color: var(--color-gold);
}

.footer-legal .sep {
  color: rgba(255, 255, 255, 0.3);
}

/* --------------------------------------------------------------------------
   Inner pages (blog / single) – use same dark theme
   -------------------------------------------------------------------------- */
.site-main .site-container {
  max-width: 720px;
  margin: 0 auto;
  padding: calc(var(--header-height) + 3rem) 1.5rem 4rem;
}

.entry-title {
  margin-top: 0;
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-text);
}

.entry-content {
  margin-top: 1rem;
  color: var(--color-text-muted);
}

.entry-content p {
  margin: 0 0 1em;
}

/* Links in content must be underlined (WordPress.org accessibility requirement) */
.entry-content a {
  text-decoration: underline;
}

.no-posts {
  padding: 2rem;
  text-align: center;
  color: var(--color-text-muted);
}

/* Comments (required template) */
.comments-area {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.comments-title {
  margin: 0 0 1rem;
  font-size: 1.25rem;
  color: var(--color-text);
}

.comment-list {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
}

.comment-body {
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.comment-body.comment-by-author .comment-author-badge {
  margin-left: 0.5rem;
  padding: 0.15rem 0.4rem;
  font-size: 0.75rem;
  background: var(--color-gold);
  color: var(--color-bg);
  border-radius: 4px;
}

.comment-meta {
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.comment-meta img {
  vertical-align: middle;
  margin-right: 0.5rem;
  border-radius: 4px;
}

.comment-content a {
  text-decoration: underline;
}

.page-links {
  margin-top: 1rem;
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

/* Mobile nav: hamburger + slide-down menu (max-width: 768px) */
@media (max-width: 768px) {
  .site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
  }

  .header-inner {
    flex-wrap: nowrap;
    height: var(--header-height);
    min-height: var(--header-height);
    padding-top: 0;
    padding-bottom: 0;
  }

  /* Hamburger always visible on mobile */
  .nav-toggle {
    display: flex !important;
    order: 2;
  }

  /* Nav hidden by default on mobile – only show when menu is open */
  .header-nav-group {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    background: var(--color-bg);
    padding: 2rem 1.5rem;
    overflow-y: auto;
  }

  .site-header.is-menu-open .header-nav-group {
    display: flex;
  }

  .site-nav {
    width: 100%;
    justify-content: center;
  }

  .nav-list {
    flex-direction: column;
    align-items: center;
    gap: 0;
    text-align: center;
  }

  .nav-list li {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .nav-list a {
    display: block;
    padding: 1rem 1.5rem;
    font-size: 1.1rem;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .header-cta {
    width: 100%;
    max-width: 280px;
    text-align: center;
    padding: 1rem 1.5rem;
  }

  /* Hamburger to X when open */
  .site-header.is-menu-open .nav-toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .site-header.is-menu-open .nav-toggle-bar:nth-child(2) {
    opacity: 0;
  }

  .site-header.is-menu-open .nav-toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
}

/* --------------------------------------------------------------------------
   About page
   -------------------------------------------------------------------------- */
.page-about {
  padding-top: var(--header-height);
}

/* About Hero */
.about-hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  padding: 4rem 1.5rem;
  overflow: hidden;
}

.about-hero-bg {
  position: absolute;
  inset: 0;
  background-color: #0d0d0d;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-image: linear-gradient(135deg, #0d0d0d 0%, #1a1a1a 50%, #0f0f0f 100%);
}

.about-hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(13, 13, 13, 0.65);
}

.about-hero-inner {
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
  width: 100%;
}

.about-hero-title {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 4.5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--color-text);
}

.about-hero-desc {
  margin: 0;
  max-width: 640px;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--color-text-muted);
}

.about-hero-desc.entry-content p {
  margin: 0 0 0.5em;
}

/* Our Legacy */
.about-legacy {
  background: var(--color-bg-elevated);
  padding: 4rem 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.about-legacy-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

@media (max-width: 900px) {
  .about-legacy-inner {
    grid-template-columns: 1fr;
  }

  .about-legacy-image-wrap {
    order: -1;
  }
}

.about-legacy-text {
  margin: 0 0 2rem;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text-muted);
}

.about-metrics {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.about-metric {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.about-metric-value {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-gold);
}

.about-metric-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
}

.about-legacy-image-wrap {
  position: relative;
}

.about-legacy-image {
  aspect-ratio: 4 / 3;
  background: var(--color-bg);
  overflow: hidden;
  border-radius: 4px;
}

.about-legacy-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-legacy-image-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(145deg, #1a1a1a 0%, #252525 100%);
}

.about-legacy-badge {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  width: 48px;
  height: 48px;
  background: var(--color-gold);
  color: var(--color-bg);
  font-size: 1.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
}

/* About Philosophy (Core Principles) */
.about-philosophy {
  background: var(--color-bg);
  padding-bottom: 4rem;
}

.about-philosophy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

@media (max-width: 900px) {
  .about-philosophy-grid {
    grid-template-columns: 1fr;
  }
}

.about-philosophy-card {
  padding: 0;
  margin: 0;
  border: none;
  background: none;
}

.about-philosophy-icon {
  display: inline-flex;
  color: var(--color-gold);
  margin-bottom: 1rem;
}

.about-philosophy-icon svg {
  width: 40px;
  height: 40px;
}

.about-philosophy-title {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-text);
}

.about-philosophy-desc {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--color-text-muted);
}

/* Leadership */
.about-leadership {
  background: var(--color-bg-elevated);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.about-leadership-intro {
  margin: 0 0 2.5rem;
  max-width: 640px;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--color-text-muted);
}

.about-team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

@media (max-width: 768px) {
  .about-team-grid {
    grid-template-columns: 1fr;
  }
}

.about-team-card {
  text-align: center;
  padding: 0;
  margin: 0;
  border: none;
  background: none;
}

.about-team-photo {
  width: 100%;
  aspect-ratio: 1;
  max-width: 280px;
  margin: 0 auto 1.25rem;
  border-radius: 4px;
  overflow: hidden;
  background: var(--color-bg);
}

.about-team-avatar {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  display: block;
}

.about-team-name {
  margin: 0 0 0.5rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--color-text);
}

.about-team-bio {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--color-text-muted);
}

/* Partner CTA */
.about-cta {
  background: var(--color-bg);
  padding: 4rem 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.about-cta-inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.about-cta-title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--color-text);
}

.about-cta-desc {
  margin: 0 0 1.5rem;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text-muted);
}

.about-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* --------------------------------------------------------------------------
   Portfolio page
   -------------------------------------------------------------------------- */
.page-portfolio {
  padding-top: var(--header-height);
}

/* Portfolio Hero */
.portfolio-hero {
  position: relative;
  padding: 4.5rem 1.5rem;
  overflow: hidden;
}

.portfolio-hero-bg {
  position: absolute;
  inset: 0;
  background-color: #0d0d0d;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-image: linear-gradient(135deg, #0d0d0d 0%, #1a1a1a 50%, #0f0f0f 100%);
}

.portfolio-hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(13, 13, 13, 0.65);
}

.portfolio-hero-inner {
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
}

.portfolio-hero-eyebrow {
  margin: 0 0 0.6rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--color-text-muted);
  text-transform: uppercase;
}

.portfolio-hero-title {
  margin: 0 0 1.25rem;
  font-size: clamp(2rem, 4.5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: var(--color-text);
}

.portfolio-hero-accent {
  color: var(--color-gold);
  position: relative;
  display: inline-block;
}

.portfolio-hero-desc {
  margin: 0;
  max-width: 640px;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--color-text-muted);
}

.portfolio-hero-desc.entry-content p {
  margin: 0 0 0.5em;
}

/* Portfolio filters */
.portfolio-filters {
  background: var(--color-bg-elevated);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.5rem 1.5rem;
}

.portfolio-filters-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.portfolio-filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.portfolio-filter-btn {
  padding: 0.6rem 1.15rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--color-text);
  background: transparent;
  border: none;
  border-bottom: 2px solid rgba(201, 162, 39, 0.4);
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.portfolio-filter-btn:hover {
  color: var(--color-gold);
  border-bottom-color: var(--color-gold);
}

.portfolio-filter-btn.is-active {
  background: var(--color-gold);
  color: var(--color-bg);
  border-bottom-color: var(--color-gold);
  box-shadow: 0 4px 14px rgba(201, 162, 39, 0.25);
}

.portfolio-count {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
}

/* Portfolio grid */
.portfolio-grid-section {
  background: var(--color-bg);
  padding: 2.5rem 1.5rem 3.5rem;
}

.portfolio-grid-inner {
  max-width: var(--container);
  margin: 0 auto;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

@media (max-width: 900px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 560px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

.portfolio-card {
  background: var(--color-bg-elevated);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  padding: 1.75rem;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

.portfolio-card:hover {
  border-color: rgba(201, 162, 39, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(201, 162, 39, 0.1);
}

.portfolio-card-line {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-gold) 0%, var(--color-gold-hover) 100%);
  border-radius: 8px 8px 0 0;
}

.portfolio-card-sector {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--color-gold);
  margin-bottom: 0.85rem;
}

.portfolio-card-name {
  margin: 0 0 0.6rem;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.3;
  color: var(--color-text);
}

.portfolio-card-desc {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--color-text-muted);
  flex: 1;
}

.portfolio-card-meta {
  margin: 0 0 1.25rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--color-text-muted);
  opacity: 0.9;
}

.portfolio-card-link {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--color-text);
  align-self: flex-start;
  border-bottom: 2px solid currentColor;
  padding-bottom: 3px;
  transition: color 0.25s ease, border-color 0.25s ease;
}

.portfolio-card-link:hover {
  color: var(--color-gold);
  border-bottom-color: var(--color-gold);
}

/* Portfolio pagination */
.portfolio-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 3rem;
}

.portfolio-pagination-btn {
  width: 2.75rem;
  height: 2.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--color-text-muted);
  background: var(--color-bg-elevated);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  cursor: pointer;
  transition: color 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.portfolio-pagination-btn:hover:not(:disabled) {
  color: var(--color-gold);
  border-color: var(--color-gold);
  background: rgba(201, 162, 39, 0.08);
}

.portfolio-pagination-btn:disabled {
  opacity: 0.4;
  cursor: default;
}

.portfolio-pagination-numbers {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.portfolio-pagination-num {
  min-width: 2.75rem;
  height: 2.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text-muted);
  background: var(--color-bg-elevated);
  border: 1px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  transition: color 0.25s ease, background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.portfolio-pagination-num:hover {
  color: var(--color-text);
  background: rgba(255, 255, 255, 0.05);
}

.portfolio-pagination-num.is-current {
  background: var(--color-gold);
  color: var(--color-bg);
  border-color: var(--color-gold);
  box-shadow: 0 2px 12px rgba(201, 162, 39, 0.3);
}

.portfolio-pagination-ellipsis {
  padding: 0 0.25rem;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

/* WordPress paginate_links() inside portfolio (links use .page-numbers) */
.portfolio-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.75rem;
  height: 2.75rem;
  padding: 0 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text-muted);
  background: var(--color-bg-elevated);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  text-decoration: none;
  transition: color 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.portfolio-pagination a.page-numbers:hover {
  color: var(--color-gold);
  border-color: var(--color-gold);
  background: rgba(201, 162, 39, 0.08);
}

.portfolio-pagination .page-numbers.current {
  background: var(--color-gold);
  color: var(--color-bg);
  border-color: var(--color-gold);
  box-shadow: 0 2px 12px rgba(201, 162, 39, 0.3);
}

.portfolio-pagination .page-numbers.dots {
  min-width: auto;
  background: transparent;
  border: none;
  cursor: default;
}

/* Portfolio CTA */
.portfolio-cta {
  background: var(--color-bg-elevated);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 4rem 1.5rem;
}

.portfolio-cta-inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.portfolio-cta-title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--color-text);
}

.portfolio-cta-desc {
  margin: 0 0 1.5rem;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text-muted);
}

.portfolio-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* Single portfolio company (case study) */
.single-portfolio-company {
  padding: calc(var(--header-height) + 2rem) 1.5rem 4rem;
  max-width: 800px;
  margin: 0 auto;
}

.portfolio-company-header {
  margin-bottom: 2rem;
}

.portfolio-company-meta {
  margin: 0 0 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--color-gold);
}

.portfolio-company-title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--color-text);
}

.portfolio-company-back {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.portfolio-company-back:hover {
  color: var(--color-gold);
}

.portfolio-company-image {
  margin-bottom: 2rem;
  border-radius: 8px;
  overflow: hidden;
}

.portfolio-company-image img {
  width: 100%;
  height: auto;
  display: block;
}

.portfolio-company-content {
  line-height: 1.7;
  color: var(--color-text);
}

.portfolio-company-content p {
  margin: 0 0 1rem;
}

/* --------------------------------------------------------------------------
   Contact page
   -------------------------------------------------------------------------- */
.page-contact {
  padding-top: var(--header-height);
}

/* Contact Hero */
.contact-hero {
  position: relative;
  padding: 4.5rem 1.5rem;
  overflow: hidden;
}

.contact-hero-bg {
  position: absolute;
  inset: 0;
  background-color: #0d0d0d;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-image: linear-gradient(135deg, #0d0d0d 0%, #1a1a1a 50%, #0f0f0f 100%);
}

.contact-hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(13, 13, 13, 0.65);
}

.contact-hero-inner {
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
}

.contact-hero-title {
  margin: 0 0 1.25rem;
  font-size: clamp(2rem, 4.5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: var(--color-text);
}

.contact-hero-accent {
  color: var(--color-gold);
  border-bottom: 3px solid var(--color-gold);
  padding-bottom: 2px;
}

.contact-hero-desc {
  margin: 0;
  max-width: 560px;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--color-text-muted);
}

.contact-hero-desc.entry-content p {
  margin: 0 0 0.5em;
}

/* Contact main two-column */
.contact-main {
  background: var(--color-bg);
  padding: 3rem 1.5rem 4.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.contact-main-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: start;
}

@media (max-width: 900px) {
  .contact-main-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

/* Contact form card */
.contact-form-wrap {
  min-width: 0;
}

.contact-form-card {
  background: var(--color-bg-elevated);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 2.25rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  transition: box-shadow 0.3s ease;
}

.contact-form-card:focus-within {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(201, 162, 39, 0.15);
}

.contact-form-title {
  margin: 0 0 1.75rem;
  padding-bottom: 0.75rem;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-text);
  border-bottom: 3px solid var(--color-gold);
  display: inline-block;
}

.contact-form-row {
  display: grid;
  gap: 1.1rem;
}

.contact-form-row--half {
  grid-template-columns: 1fr 1fr;
}

@media (max-width: 480px) {
  .contact-form-row--half {
    grid-template-columns: 1fr;
  }
}

.contact-form-field {
  margin: 0 0 1.35rem;
}

.contact-form-field label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--color-text-muted);
}

.contact-form-field input,
.contact-form-field select,
.contact-form-field textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--color-text);
  background: rgba(13, 13, 13, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.contact-form-field input::placeholder,
.contact-form-field textarea::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.contact-form-field input:focus,
.contact-form-field select:focus,
.contact-form-field textarea:focus {
  outline: none;
  border-color: var(--color-gold);
  box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.15);
}

.contact-form-field select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23fff' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.25rem;
}

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

.contact-form-submit {
  margin: 1.75rem 0 0;
}

.contact-submit-btn {
  width: 100%;
  justify-content: center;
  padding: 0.9rem 1.5rem;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  border-radius: 6px;
  box-shadow: 0 4px 16px rgba(201, 162, 39, 0.25);
  transition: box-shadow 0.25s ease, transform 0.2s ease;
}

.contact-submit-btn:hover {
  box-shadow: 0 6px 24px rgba(201, 162, 39, 0.35);
  transform: translateY(-1px);
}

/* Contact sidebar: Global Presence */
.contact-sidebar {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.contact-global {
  background: var(--color-bg-elevated);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 2rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

.contact-global-icon {
  display: inline-flex;
  color: var(--color-gold);
  margin-bottom: 0.75rem;
}

.contact-global-icon svg {
  width: 28px;
  height: 28px;
}

.contact-global-title {
  margin: 0 0 0.35rem;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-text);
}

.contact-global-desc {
  margin: 0 0 1.5rem;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--color-text-muted);
}

.contact-offices {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-office {
  background: rgba(13, 13, 13, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  padding: 1.35rem 1.35rem 1.35rem 1.5rem;
  margin: 0;
  position: relative;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.contact-office:hover {
  border-color: rgba(201, 162, 39, 0.2);
  background: rgba(13, 13, 13, 0.7);
}

.contact-office-image {
  aspect-ratio: 16 / 9;
  margin: -1.35rem -1.35rem 1rem -1.35rem;
  overflow: hidden;
  border-radius: 8px 8px 0 0;
  background: var(--color-bg);
}

.contact-office-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.contact-office:first-child .contact-office-image {
  margin-top: -1.35rem;
}

.contact-office-accent {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--color-gold) 0%, var(--color-gold-hover) 100%);
  border-radius: 8px 0 0 8px;
}

.contact-office-name {
  margin: 0 0 0.6rem;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--color-text);
}

.contact-office-address {
  margin: 0 0 0.5rem;
  font-size: 0.9rem;
  font-style: normal;
  line-height: 1.5;
  color: var(--color-text-muted);
}

.contact-office-phone {
  display: inline-block;
  margin: 0 0 0.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-gold);
  transition: color 0.2s ease;
}

.contact-office-phone:hover {
  color: var(--color-gold-hover);
}

.contact-office-directions {
  display: inline-block;
  margin: 0;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--color-text-muted);
  transition: color 0.2s ease;
}

.contact-office-directions:hover {
  color: var(--color-gold);
}

/* --------------------------------------------------------------------------
   Responsive – mobile & tablet
   -------------------------------------------------------------------------- */

/* Tighter container and section padding on small screens */
@media (max-width: 768px) {
  :root {
    --container: min(1200px, 100% - 2rem);
  }

  .header-inner {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .site-logo-img {
    max-height: 48px;
    width: auto;
    height: auto;
  }

  .nav-list a,
  .header-cta {
    padding: 0.5rem 0.25rem;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  .hero {
    min-height: 75vh;
    padding: calc(var(--header-height) + 2rem) 1rem 2.5rem;
  }

  .hero-inner {
    max-width: 100%;
  }

  .hero-desc {
    font-size: 1rem;
  }

  .stats {
    padding: 2.5rem 1rem;
  }

  .stats-inner {
    gap: 1.5rem;
  }

  .stat-value {
    font-size: 1.25rem;
  }

  .section-inner {
    padding: 2.5rem 1rem;
  }

  .section-title {
    margin-bottom: 1.75rem;
    font-size: clamp(1.5rem, 4vw, 1.85rem);
  }

  .credentials-heading {
    margin-bottom: 1.75rem;
    font-size: clamp(1.5rem, 4vw, 1.85rem);
  }

  .credentials-section .section-inner {
    padding: 2.5rem 1rem;
  }

  .credentials-grid {
    gap: 1.25rem;
  }

  .credential-card {
    padding: 1.25rem 1rem;
  }

  .principle-card .principle-title {
    font-size: 1.1rem;
  }

  .principle-card .principle-desc {
    font-size: 0.9rem;
  }

  .news-section .section-inner {
    padding: 2.5rem 1rem;
  }

  .news-grid {
    gap: 1.5rem;
  }

  .news-card-title {
    font-size: 1.1rem;
  }

  .site-footer {
    padding-top: 2.5rem;
  }

  .footer-inner {
    padding-left: 1rem;
    padding-right: 1rem;
    padding-bottom: 2rem;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    padding: 1rem;
    gap: 0.5rem;
  }

  .footer-legal {
    flex-wrap: wrap;
    justify-content: center;
  }

  .portfolio-hero {
    padding: 3rem 1rem;
  }

  .portfolio-filters {
    padding: 1rem;
  }

  .portfolio-filters-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }

  .portfolio-filter-buttons {
    justify-content: flex-start;
  }

  .portfolio-count {
    text-align: center;
  }

  .portfolio-grid-section {
    padding: 1.5rem 1rem 2.5rem;
  }

  .portfolio-pagination {
    margin-top: 2rem;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
  }

  .portfolio-cta {
    padding: 2.5rem 1rem;
  }

  .portfolio-cta-title {
    font-size: 1.35rem;
  }

  .portfolio-cta-buttons {
    flex-direction: column;
  }

  .portfolio-cta-buttons .btn {
    width: 100%;
    text-align: center;
  }

  .about-hero {
    min-height: 50vh;
    padding: 2.5rem 1rem;
  }

  .about-legacy,
  .about-philosophy,
  .about-cta {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .about-legacy {
    padding-top: 2.5rem;
  }

  .about-metrics {
    gap: 1.5rem;
  }

  .contact-hero {
    padding: 3rem 1rem;
  }

  .contact-main-inner {
    padding: 0 1rem;
  }

  .contact-form-card {
    padding: 1.5rem 1.25rem;
  }

  .contact-offices {
    gap: 1.5rem;
  }

  .single-portfolio-company {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

/* Extra small screens – further tightening */
@media (max-width: 480px) {
  :root {
    --container: min(1200px, 100% - 1.5rem);
  }

  .hero {
    min-height: 70vh;
    padding-top: calc(var(--header-height) + 1.5rem);
  }

  .hero-title {
    font-size: clamp(1.65rem, 6vw, 2rem);
  }

  .hero-cta {
    flex-direction: column;
  }

  .hero-cta .btn {
    width: 100%;
  }

  .stats-inner {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .section-inner {
    padding: 2rem 1rem;
  }

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

  .principles-grid {
    gap: 1.75rem;
  }

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

  .footer-tagline {
    max-width: none;
  }

  .portfolio-card-name {
    font-size: 1.1rem;
  }

  .portfolio-card-desc {
    font-size: 0.85rem;
  }
}

