/* ═══════════════════════════════════════════════════════════
   UBIQUITY GROUP — Shared Stylesheet
   ═══════════════════════════════════════════════════════════ */

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

:root {
  --navy: #1c2568;
  --navy-dark: #12183f;
  --blue: #2e6fb7;
  --blue-mid: #236fc2;
  --sky: #65aac9;
  --charcoal: #383838;
  --offwhite: #f4f2ee;
  --white: #ffffff;
  --accent: #65aac9;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  background: var(--offwhite);
  color: var(--charcoal);
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Playfair Display', serif;
}

/* ── TYPOGRAPHY IMPORTS (referenced in HTML <head>) ───────── */
/* Fonts: Keep Calm, Playfair Display, Poppins via Google Fonts */

/* ── HEADER ────────────────────────────────────────────────── */
header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 4.5vw 0; /* Add top padding to avoid logo cropping */
  min-height: clamp(120px, 15vh, 160px); /* Increased height to accommodate the logo + padding */
  background: transparent;
}

/* Logo */
.logo {
  display: inline-block;
  text-decoration: none;
}

.logo-wordmark {
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  font-size: 18px;
  letter-spacing: 0.12em;
  color: var(--white);
  text-transform: uppercase;
}

.logo-sub {
  font-size: 9px;
  letter-spacing: 0.22em;
  color: var(--sky);
  text-transform: uppercase;
}

/* ── HAMBURGER BUTTON ───────────────────────────────────────── */
.menu-btn {
  background: rgba(0, 0, 0, 0.5);
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 8px;
  z-index: 1100;
  position: relative;
  border-radius: 4px;
  transition: background 0.3s;
}

.menu-btn span {
  display: block;
  width: 28px;
  height: 1.5px;
  background: white;
  transition: all 0.35s cubic-bezier(0.77, 0, 0.18, 1);
  transform-origin: center;
}

.menu-btn.open span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.menu-btn.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.menu-btn.open span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* ── SIDE DRAWER ────────────────────────────────────────────── */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(12, 16, 42, 0.72);
  z-index: 950;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s;
}

.overlay.open {
  opacity: 1;
  pointer-events: all;
}

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(440px, 100vw);
  height: 100vh;
  background: var(--navy-dark);
  z-index: 1000;
  transform: translateX(100%);
  transition: transform 0.5s cubic-bezier(0.77, 0, 0.18, 1);
  display: flex;
  flex-direction: column;
  padding: 100px 56px 64px;
  border-left: 1px solid rgba(101, 170, 201, 0.12);
}

.drawer.open {
  transform: translateX(0);
}

.drawer-nav {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.drawer-item-group {
  display: flex;
  flex-direction: column;
}

.drawer-link-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.drawer-nav>a,
.drawer-link-row {
  border-bottom: 1px solid rgba(101, 170, 201, 0.08);
}

.drawer-nav a {
  flex: 1;
  font-family: 'Playfair Display', serif;
  font-size: 34px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  letter-spacing: 0.01em;
  line-height: 1.2;
  padding: 20px 0;
  transition: color 0.25s, padding-left 0.25s;
  position: relative;
}

.submenu-toggle {
  background: transparent;
  border: none;
  color: var(--sky);
  font-size: 28px;
  cursor: pointer;
  padding: 0 10px;
  transition: transform 0.3s;
}

.submenu-toggle.open {
  transform: rotate(45deg);
}

.drawer-submenu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: flex;
  flex-direction: column;
  padding-left: 24px;
}

.drawer-submenu.open {
  max-height: 500px;
  padding-bottom: 20px;
}

.drawer-submenu a {
  font-size: 18px !important;
  color: rgba(255, 255, 255, 0.45) !important;
  padding: 8px 0 !important;
  border-bottom: none !important;
  text-transform: none;
  letter-spacing: 0.05em;
}

.drawer-submenu a:hover {
  color: var(--white) !important;
}

.drawer-nav a::before {
  content: '';
  position: absolute;
  left: -8px;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 0;
  background: var(--sky);
  transition: height 0.25s;
}

.drawer-nav a:hover {
  color: var(--white);
  padding-left: 12px;
}

.drawer-nav a:hover::before {
  height: 28px;
}

.drawer-footer {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.25);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.drawer-footer a {
  color: var(--sky);
  text-decoration: none;
}

/* ── SECTION PRIMITIVES ─────────────────────────────────────── */
.section-label {
  font-size: 15px;
  letter-spacing: 0.28em;
  color: var(--blue);
  text-transform: uppercase;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}

.section-label::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--blue);
}

.section-label.light {
  color: var(--sky);
}

.section-label.light::before {
  background: var(--sky);
}

.section-heading {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 400;
  color: var(--navy-dark);
  line-height: 1.15;
  margin-bottom: 24px;
}

.section-heading.white {
  color: var(--white);
}

.section-body {
  font-size: clamp(14px, 1vw + 10px, 15px);
  font-weight: 300;
  line-height: 1.8;
  color: #555;
}

.section-body p+p {
  margin-top: 16px;
}

/* ── PAGE HERO (non-home) ───────────────────────────────────── */
.page-hero {
  height: 60vh;
  min-height: 500px;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 0 48px 88px;
  overflow: hidden;
  background: var(--navy-dark);
}

.page-hero.careers-hub-hero {
  height: 85vh;
  min-height: 700px;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background: var(--navy-dark);
}

.page-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
  filter: brightness(0.8);
}

.page-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(101, 170, 201, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(101, 170, 201, 0.05) 1px, transparent 1px);
  background-size: 80px 80px;
  animation: gridShift 20s linear infinite;
  z-index: 1;
}

.page-hero-content {
  position: relative;
  z-index: 2;
  max-width: 1000px;
}

.page-hero-eyebrow {
  font-size: 13px;
  letter-spacing: 0.3em;
  color: var(--sky);
  text-transform: uppercase;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 400;
}

.page-hero-eyebrow::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--sky);
}

.page-hero-headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 400;
  color: var(--white);
  line-height: 1.1;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
}

.page-hero-sub {
  font-size: 16px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 20px;
  max-width: 600px;
  line-height: 1.7;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

/* ── HOME HERO ──────────────────────────────────────────────── */
.hero {
  height: 100vh;
  min-height: 600px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 6vw 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: #000;
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%);
  opacity: 0.35;
  z-index: 1;
  filter: brightness(0.8);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(101, 170, 201, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(101, 170, 201, 0.05) 1px, transparent 1px);
  background-size: 80px 80px;
  animation: gridShift 20s linear infinite;
}

@keyframes gridShift {
  from {
    transform: translate(0, 0);
  }

  to {
    transform: translate(80px, 80px);
  }
}

.hero-accent-line {
  position: absolute;
  top: 0;
  right: 160px;
  width: 1px;
  height: 100%;
  background: linear-gradient(to bottom, transparent, rgba(101, 170, 201, 0.3) 40%, rgba(101, 170, 201, 0.3) 60%, transparent);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  margin-top: clamp(60px, 12vh, 100px);
}

.hero-eyebrow {
  font-size: 15px;
  letter-spacing: 0.25em;
  color: var(--sky);
  text-transform: uppercase;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  animation: fadeUp 0.8s 0.2s both;
}

.hero-eyebrow::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--sky);
}

.hero-headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(52px, 7vw, 88px);
  font-weight: 400;
  line-height: 1.05;
  color: var(--white);
  letter-spacing: -0.01em;
  margin-bottom: 28px;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  animation: fadeUp 0.8s 0.4s both;
}

.hero-headline em {
  font-style: italic;
  color: var(--sky);
}

.hero-sub {
  font-size: 16px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
  max-width: 560px;
  margin-bottom: 40px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  animation: fadeUp 0.8s 0.6s both;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white);
  text-decoration: none;
  padding: 14px 32px;
  border: 1px solid rgba(101, 170, 201, 0.5);
  transition: background 0.3s, border-color 0.3s;
  animation: fadeUp 0.8s 0.8s both;
}

.hero-cta:hover {
  background: rgba(101, 170, 201, 0.1);
  border-color: var(--sky);
}

.hero-cta .arrow {
  font-size: 14px;
  transition: transform 0.3s;
}

.hero-cta:hover .arrow {
  transform: translateX(4px);
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 32px;
  right: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.25);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  z-index: 2;
}

.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(101, 170, 201, 0.5), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.3;
  }
}

/* ── WHAT WE DO ─────────────────────────────────────────────── */
.section-what {
  background: var(--white);
  padding: clamp(60px, 10vw, 120px) 4.5vw;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.what-visual {
  position: relative;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.what-portrait-img {
  width: 100%;
  aspect-ratio: 4 / 4;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 30px 60px rgba(16, 24, 64, 0.2);
  z-index: 10;
}

.what-visual-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(101, 170, 201, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(101, 170, 201, 0.07) 1px, transparent 1px);
  background-size: 40px 40px;
}

.what-visual-inner {
  position: relative;
  z-index: 2;
  text-align: center;
}

.what-visual-words {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.04em;
}

.what-visual-words span {
  display: block;
  transition: color 0.4s;
}

.what-visual-words span.active {
  color: var(--sky);
  font-style: italic;
}

.what-visual-circle {
  position: absolute;
  width: 180px;
  height: 180px;
  border: 1px solid rgba(101, 170, 201, 0.2);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.what-visual-circle.c2 {
  width: 260px;
  height: 260px;
  opacity: 0.5;
}

.what-visual-circle.c3 {
  width: 340px;
  height: 340px;
  opacity: 0.2;
}

/* ── STATS ──────────────────────────────────────────────────── */
.section-stats {
  background: linear-gradient(135deg, var(--navy-dark) 0%, #1c2568 100%);
  padding: clamp(60px, 8vw, 80px) 4.5vw;
  position: relative;
  overflow: hidden;
}

.stats-bg-line {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(101, 170, 201, 0.08);
}

.stats-bg-line:nth-child(1) {
  left: 25%;
}

.stats-bg-line:nth-child(2) {
  left: 50%;
}

.stats-bg-line:nth-child(3) {
  left: 75%;
}

.stats-label {
  font-size: 13px;
  letter-spacing: 0.28em;
  color: var(--sky);
  text-transform: uppercase;
  margin-bottom: 56px;
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  font-weight: 400;
}

.stats-label::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--sky);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
  border-left: 1px solid rgba(101, 170, 201, 0.1);
}

.stat-item {
  padding: 40px 48px 40px 0;
  border-right: 1px solid rgba(101, 170, 201, 0.1);
}

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

.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: clamp(60px, 6vw, 84px);
  font-weight: 400;
  color: var(--white);
  line-height: 1;
  margin-bottom: 12px;
  display: flex;
  align-items: baseline;
}

.plus-sign {
  font-size: 0.6em;
  color: var(--sky);
  margin-left: 4px;
  font-weight: 300;
}

.unit-label {
  font-size: 0.6em;
  margin-left: 2px;
  font-weight: 400;
}

.stat-label {
  font-size: 15px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.5;
  max-width: 260px;
}

/* ── BUSINESSES SECTION (Home) ──────────────────────────────── */
.section-businesses {
  background: var(--offwhite);
  padding: clamp(80px, 10vw, 120px) 4.5vw;
}

.businesses-header {
  margin-bottom: 64px;
  display: grid;
  grid-template-columns: 1fr;
  align-items: top;
  gap: 40px;
  text-align: center;
}

.businesses-header .section-label {
  justify-content: center;
  align-items: center;
}

.businesses-tagline {
  font-size: 15px;
  font-weight: 300;
  color: #777;
  line-height: 1.8;
  max-width: 100%;
  margin-bottom: 6px;
}

.business-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(0, 0, 0, 0.08);
}

.biz-card {
  background: var(--white);
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: background 0.3s;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.biz-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--navy), var(--sky));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.77, 0, 0.18, 1);
}

.biz-card:hover {
  background: #fafaf8;
}

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

.biz-number {
  font-family: 'Playfair Display', serif;
  font-size: 13px;
  color: var(--sky);
  letter-spacing: 0.15em;
}

.biz-title {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  font-weight: 500;
  color: var(--navy-dark);
  line-height: 1.2;
}

.biz-desc {
  font-size: 13px;
  font-weight: 300;
  color: #666;
  line-height: 1.7;
  flex: 1;
}

.biz-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(28, 37, 104, 0.4);
  color: var(--navy);
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  background: transparent;
  margin-top: 10px;
}

.biz-link svg {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
}

.biz-card:hover .biz-link {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
  transform: scale(1.05);
}

.biz-card:hover .biz-link svg {
  transform: translate(1px, -1px);
}

.biz-card-img-container {
  height: 140px;
  overflow: hidden;
  margin: -48px -40px 24px -40px;
}

.biz-card-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Wide closing card */
.biz-card-wide {
  grid-column: 1 / -1;
  background: var(--navy-dark);
  padding: 48px 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 40px;
  transition: background 0.3s;
}

.biz-card-wide:hover {
  background: #161d52 !important;
}

.biz-card-wide-text {
  font-family: 'Poppins', sans-serif;
  font-size: 22px;
  font-weight: 500;
  font-style: italic;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.5;
  max-width: 700px;
}

/* ── FOOTER ─────────────────────────────────────────────────── */
footer {
  background: var(--white);
  padding: 80px 48px 40px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 80px;
  padding-bottom: 64px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  margin-bottom: 40px;
}

.footer-brand .logo-wordmark {
  font-size: 20px;
  margin-bottom: 6px;
}

.footer-tagline {
  font-size: 13px;
  font-weight: 300;
  color: #555;
  line-height: 1.7;
  max-width: 300px;
  margin-top: 20px;
}

.footer-col-label {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sky);
  margin-bottom: 20px;
  display: block;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav a {
  font-size: 14px;
  font-weight: 300;
  color: #666;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-nav a:hover {
  color: var(--navy);
}

.footer-address {
  font-size: 13px;
  font-weight: 300;
  color: #666;
  line-height: 1.8;
}

.footer-address a {
  color: var(--sky);
  text-decoration: none;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-copy {
  font-size: 12px;
  color: #999;
  letter-spacing: 0.05em;
}

/* ── PAGE CONTENT SECTIONS ──────────────────────────────────── */
.page-section {
  padding: clamp(60px, 8vw, 100px) 4.5vw;
  background: var(--white);
}

.page-section.offwhite {
  background: var(--offwhite);
}

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

.page-section-inner {
  max-width: 860px;
}

.page-section-inner.centered {
  margin: 0 auto;
  text-align: center;
}

.page-section-inner.centered .section-label {
  justify-content: center;
}

/* ── MISSION & VISION ───────────────────────────────────────── */
.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(0, 0, 0, 0.08);
  margin-top: 56px;
}

.mv-card {
  background: var(--white);
  padding: 48px 56px;
  position: relative;
}

.mv-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--navy), var(--sky));
}

.mv-label {
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--sky);
  margin-bottom: 20px;
  display: block;
}

.mv-text {
  font-size: 17px;
  font-weight: 300;
  color: var(--navy-dark);
  line-height: 1.75;
}

/* ── VIRTUES GRID ───────────────────────────────────────────── */
.virtues-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: rgba(0, 0, 0, 0.08);
  margin-top: 56px;
}

.virtue-card {
  background: var(--white);
  padding: 40px 48px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: background 0.3s;
  position: relative;
}

.virtue-card::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--navy), var(--sky));
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.35s cubic-bezier(0.77, 0, 0.18, 1);
}

.virtue-card:hover {
  background: #fafaf8;
}

.virtue-card:hover::after {
  transform: scaleY(1);
}

.virtue-number {
  font-family: 'Playfair Display', serif;
  font-size: 13px;
  color: var(--sky);
  letter-spacing: 0.15em;
}

.virtue-title {
  font-family: 'Playfair Display', serif;
  font-size: 15px;
  font-weight: 400;
  color: var(--navy-dark);
  line-height: 1.3;
}

.virtue-desc {
  font-size: 12px;
  font-weight: 300;
  color: #666;
  line-height: 1.7;
}

/* ── BUSINESS SUB-PAGE ──────────────────────────────────────── */
.business-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
  padding: clamp(60px, 8vw, 100px) 4.5vw;
  background: var(--white);
}

.business-content.reverse {
  direction: rtl;
}

.business-content.reverse>* {
  direction: ltr;
}

.business-image {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.business-hub-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  padding: 2rem 4.5vw;
  padding-bottom: clamp(60px, 8vw, 100px);

}

.principles-list-grid {
  position: relative;
  z-index: 2;
  margin-top: 80px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(101, 170, 201, 0.1);
}

@media (max-width: 768px) {
  .principles-list-grid {
    margin-top: 40px;
    /* optional: reduce spacing for mobile */
    grid-template-columns: 1fr;
    /* single column layout */
    gap: 8px;
    /* optional: increase spacing for touch readability */
  }
}

/* ── SUSTAINABILITY — NINE PRINCIPLES WHEEL ─────────────────── */
.principles-section {
  padding: clamp(60px, 8vw, 100px) 4.5vw;
  background: var(--navy-dark);
  position: relative;
  overflow: hidden;
}

.principles-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(101, 170, 201, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(101, 170, 201, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}

.principles-wheel-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 80px;
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
}

.wheel-container {
  flex-shrink: 0;
  width: 420px;
  height: 420px;
  position: relative;
}

.wheel-ring {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 1px solid rgba(101, 170, 201, 0.15);
  position: absolute;
  top: 0;
  left: 0;
}

.wheel-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--navy);
  border: 1px solid rgba(101, 170, 201, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.wheel-center-text {
  font-family: 'Playfair Display', serif;
  font-size: 13px;
  font-weight: 400;
  color: var(--sky);
  line-height: 1.4;
  letter-spacing: 0.05em;
}

.wheel-segment {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 50px;
  height: 50px;
  margin: -25px 0 0 -25px;
  border-radius: 50%;
  background: rgba(101, 170, 201, 0.12);
  border: 1px solid rgba(101, 170, 201, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.3s, border-color 0.3s, transform 0.3s;
  font-size: 10px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.05em;
}

.wheel-segment:hover,
.wheel-segment.active {
  background: var(--sky);
  border-color: var(--sky);
  color: var(--navy-dark);
  transform: scale(1.2);
}

.wheel-detail {
  flex: 1;
  min-height: 200px;
  min-width: 0;
}

.wheel-detail-number {
  font-family: 'Playfair Display', serif;
  font-size: 48px;
  font-style: italic;
  color: rgba(101, 170, 201, 0.25);
  line-height: 1;
  margin-bottom: 16px;
}

.wheel-detail-title {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 12px;
  line-height: 1.2;
}

.wheel-detail-sdg {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sky);
  margin-bottom: 20px;
}

.wheel-detail-desc {
  font-size: 15px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
  max-width: 480px;
}

/* ── CAREERS — PULL QUOTE ───────────────────────────────────── */
.pull-quote-section {
  padding: 40px 0px;
  display: flex;
  align-items: center;
  gap: 40px;
}

.pull-quote-line {
  flex-shrink: 0;
  width: 4px;
  height: 80px;
  background: linear-gradient(to bottom, var(--navy), var(--sky));
  border-radius: 2px;
}

.pull-quote-text {
  font-family: 'Playfair Display', serif;
  font-size: clamp(22px, 3vw, 34px);
  font-style: italic;
  font-weight: 400;
  color: var(--white);
  line-height: 1.5;
  max-width: 800px;
}

/* ── CAREERS — WORK BULLETS ─────────────────────────────────── */
.work-bullets {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(0, 0, 0, 0.08);
  margin-top: 64px;
}

.work-bullet-card {
  background: var(--white);
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.work-bullet-image {
  height: 200px;
  background: var(--navy-dark);
  overflow: hidden;
}

.work-bullet-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
}

.work-bullet-text {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 400;
  color: var(--navy-dark);
  line-height: 1.4;
}

/* ── OPEN POSITIONS TABLE ───────────────────────────────────── */
.positions-table-wrap {
  margin-top: 48px;
  overflow-x: auto;
}

.positions-table {
  width: 100%;
  border-collapse: collapse;
}

.positions-table th {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sky);
  font-weight: 400;
  padding: 16px 24px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  text-align: left;
}

.positions-table td {
  font-size: 14px;
  font-weight: 300;
  color: var(--charcoal);
  padding: 20px 24px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.positions-table tr:hover td {
  background: #fafafa;
}

.position-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--navy);
  text-decoration: none;
  font-weight: 500;
  transition: gap 0.3s;
}

.position-placeholder {
  color: #bbb;
  font-style: italic;
}

/* ── CONNECT — FORM ─────────────────────────────────────────── */
.connect-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  padding: clamp(60px, 8vw, 100px) 4.5vw;
  background: var(--white);
  align-items: start;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 28px;
}

.form-group label {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sky);
  font-weight: 400;
}

.form-group input,
.form-group textarea {
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: 300;
  color: var(--charcoal);
  background: var(--offwhite);
  border: 1px solid transparent;
  border-bottom-color: rgba(0, 0, 0, 0.15);
  padding: 14px 0;
  outline: none;
  transition: border-color 0.3s;
  width: 100%;
}

.form-group input:focus,
.form-group textarea:focus {
  border-bottom-color: var(--sky);
}

.form-group textarea {
  resize: none;
  height: 120px;
  background: transparent;
}

.btn-submit {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--navy);
  border: none;
  padding: 16px 40px;
  cursor: pointer;
  transition: background 0.3s;
}

.btn-submit:hover {
  background: var(--navy-dark);
}

.connect-details-label {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sky);
  margin-bottom: 16px;
  display: block;
}

.connect-details-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 32px;
}

.connect-details-item-label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #999;
}

.connect-details-item-value {
  font-size: 15px;
  font-weight: 300;
  color: var(--charcoal);
  line-height: 1.7;
}

.connect-details-item-value a {
  color: var(--sky);
  text-decoration: none;
}

/* ── RECENT EVENTS CARDS ────────────────────────────────────── */
.events-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(0, 0, 0, 0.08);
  margin-top: 56px;
}

.event-card {
  background: var(--white);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: background 0.3s;
}

.event-card:hover {
  background: #fafaf8;
}

.event-card-img {
  height: 220px;
  overflow: hidden;
}

.event-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.event-card:hover .event-card-img img {
  transform: scale(1.04);
}

.event-card-body {
  padding: 32px 36px;
  flex: 1;
}

.event-card-text {
  font-size: 15px;
  font-weight: 300;
  color: #555;
  line-height: 1.7;
}

/* ── CTA BUTTON (Outline) ───────────────────────────────────── */
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--navy);
  text-decoration: none;
  padding: 14px 32px;
  border: 1px solid rgba(28, 37, 104, 0.4);
  transition: background 0.3s, border-color 0.3s;
  margin-top: 32px;
  background: transparent;
  font-family: 'Poppins', sans-serif;
  cursor: pointer;
}

.btn-outline:hover {
  background: rgba(28, 37, 104, 0.05);
  border-color: var(--navy);
}

.btn-outline.white {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-outline.white:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--white);
}

/* ── CLOSING TEXT BLOCK ─────────────────────────────────────── */
.closing-section {
  background: var(--navy-dark);
  padding: clamp(60px, 8vw, 80px) 4.5vw;
  text-align: center;
}

.closing-text {
  font-family: 'Playfair Display', serif;
  font-size: clamp(18px, 2.5vw, 26px);
  font-style: italic;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
  max-width: 780px;
  margin: 0 auto;
}

/* ── ANIMATIONS ─────────────────────────────────────────────── */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes wordCycle {

  0%,
  18% {
    opacity: 0;
  }

  20%,
  80% {
    opacity: 1;
  }

  82%,
  100% {
    opacity: 0;
  }
}

/* ── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 900px) {
  header {
    padding: 0 20px;
  }

  .hero {
    padding: 0 20px 64px;
  }

  .page-hero {
    padding: 0 20px 56px;
    min-height: 320px;
  }

  .section-what,
  .businesses-header {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

  .stat-item {
    border-bottom: 1px solid rgba(101, 170, 201, 0.1);
    padding: 32px 16px;
    border-right: 1px solid rgba(101, 170, 201, 0.1);
  }

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

  .stat-number {
    font-size: 56px;
  }

  .business-cards,
  .business-hub-cards {
    grid-template-columns: 1fr;
  }

  .mv-grid,
  .virtues-grid,
  .work-bullets,
  .events-grid {
    grid-template-columns: 1fr;
  }

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

  .principles-wheel-wrap {
    flex-direction: column;
    align-items: center;
    gap: 48px;
  }

  .wheel-container {
    width: 320px;
    height: 320px;
  }

  .wheel-detail {
    width: 100%;
    max-width: 480px;
    text-align: center;
  }

  .wheel-detail-desc {
    max-width: 100%;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .page-section,
  .section-what,
  .section-businesses,
  .section-stats,
  .business-content,
  .pull-quote-section,
  .connect-grid,
  .principles-section,
  .closing-section {
    padding-left: 20px;
    padding-right: 20px;
  }

  footer {
    padding: 60px 20px 40px;
  }

  .business-hub-cards {
    padding: 0 20px;
    padding-bottom: 60px;
  }

  .business-content {
    grid-template-columns: 1fr;
  }

  .principles-list-grid {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 64px;
    padding: 0 20px;
  }
}

/* ── SMALL SCREENS (≤ 480px) ────────────────────────────────── */
@media (max-width: 480px) {
  .principles-wheel-wrap {
    display: none;
  }

  .principles-list-grid {
    grid-template-columns: 1fr;
    margin-top: 40px;
  }
}