/* ============================================================
   DRSAF GROUP — Design System
   Brand: #184156 (Navy) · #AC7639 (Copper)
   ============================================================ */

@font-face {
  font-family: 'Angsana New';
  src: url('../fonts/AngsanaNew-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Angsana New';
  src: url('../fonts/AngsanaNew-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #184156;
  --navy-deep: #102e3e;
  --navy-light: #2a5a72;
  --copper: #AC7639;
  --copper-light: #c08e54;
  --copper-deep: #8a5d2b;
  --cream: #F6F1E9;
  --cream-warm: #EFE7D9;
  --ink: #0D1F2C;
  --paper: #ffffff;
  --line: rgba(24, 65, 86, 0.14);
  --line-strong: rgba(24, 65, 86, 0.3);
  --muted: #5d6f7a;

  --serif: 'Cormorant Garamond', 'Georgia', serif;
  --sans: 'Manrope', system-ui, sans-serif;
  --display: 'Angsana New', 'Cormorant Garamond', 'Georgia', serif;

  --container: 1280px;
  --container-wide: 1440px;
  --gutter: clamp(20px, 4vw, 56px);

  --radius-sm: 2px;
  --radius: 4px;

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }

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

button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ---------- Typography ---------- */

.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--copper);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--copper);
}

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.005em;
  line-height: 0.7;
  color: var(--navy);
  text-wrap: balance;
}

.h-display {
  font-family: var(--display);
  font-size: clamp(72px, 11vw, 180px);
  font-weight: 700;
  line-height: 0.55;
  letter-spacing: -0.015em;
  color: var(--navy);
}

.h-display em {
  font-family: var(--display);
  font-style: italic;
  color: var(--copper);
  font-weight: 700;
  letter-spacing: -0.005em;
}

h1 { font-size: clamp(56px, 8vw, 112px); font-weight: 700; letter-spacing: -0.01em; line-height: 0.65; }
h1 em { font-family: var(--display); font-style: italic; font-weight: 700; color: var(--copper); }
h2 { font-size: clamp(44px, 5.6vw, 80px); font-weight: 700; letter-spacing: -0.01em; line-height: 0.7; }
h2 em { font-family: var(--display); font-style: italic; font-weight: 700; color: var(--copper); }
h3 { font-size: clamp(26px, 2.4vw, 36px); font-weight: 700; letter-spacing: -0.005em; line-height: 0.85; }
h4 { font-size: 24px; font-weight: 700; letter-spacing: -0.005em; line-height: 0.9; }

p { color: var(--muted); font-size: 16px; line-height: 1.7; text-wrap: pretty; }
.lead { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.55; color: var(--ink); font-weight: 500; }

/* ---------- Layout ---------- */

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.container-wide { max-width: var(--container-wide); }

section { padding: clamp(72px, 10vw, 140px) 0; }
.section-sm { padding: clamp(48px, 6vw, 80px) 0; }

.divider {
  height: 1px;
  background: var(--line);
  border: 0;
  margin: 0;
}

/* ---------- Header / Nav ---------- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent;
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.transparent {
  background: linear-gradient(180deg, rgba(13, 31, 44, 0.55) 0%, rgba(13, 31, 44, 0) 100%);
}
.site-header.transparent .nav-logo img { filter: brightness(0) invert(1); }
.site-header.transparent .nav-links a { color: rgba(246, 241, 233, 0.92); }
.site-header.transparent .nav-links a:hover { color: var(--cream); }
.site-header.transparent .nav-links a.active { color: var(--cream); }
.site-header.transparent .nav-links a::after { background: var(--copper-light); }
.site-header.transparent .nav-cta {
  border-color: rgba(246, 241, 233, 0.5);
  color: var(--cream);
}
.site-header.transparent .nav-cta:hover {
  background: var(--cream);
  color: var(--navy);
  border-color: var(--cream);
}
.site-header.transparent .nav-toggle span,
.site-header.transparent .nav-toggle span::before,
.site-header.transparent .nav-toggle span::after { background: var(--cream); }

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.site-header.scrolled .nav-logo img { filter: none; }
.site-header.scrolled .nav-links a { color: var(--ink); }
.site-header.scrolled .nav-cta { border-color: var(--navy); color: var(--navy); }
.site-header.scrolled .nav-cta:hover { background: var(--navy); color: var(--cream); }
.site-header.scrolled .nav-toggle span,
.site-header.scrolled .nav-toggle span::before,
.site-header.scrolled .nav-toggle span::after { background: var(--navy); }

/* Pages without a dark hero get a normal header */
body.solid-header .site-header {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
body.solid-header { padding-top: 80px; }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  gap: 32px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-logo img {
  height: 64px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: clamp(14px, 1.8vw, 26px);
  align-items: center;
  list-style: none;
}
.nav-links a {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.06em;
  position: relative;
  padding: 6px 0;
  transition: color 0.2s var(--ease);
  white-space: nowrap;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--copper);
  transition: width 0.3s var(--ease);
}
.nav-links a:hover { color: var(--navy); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--navy); font-weight: 600; }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border: 1px solid var(--navy);
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  transition: all 0.25s var(--ease);
}
.nav-cta::after { display: none; }
.nav-cta svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s var(--ease);
}
.nav-cta:hover svg { transform: translateX(3px); }
.nav-cta:hover {
  background: var(--navy);
  color: var(--paper);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  z-index: 105;
  position: relative;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--navy);
  position: relative;
  transition: background 0.25s var(--ease);
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 26px;
  height: 2px;
  background: var(--navy);
  transition: transform 0.35s var(--ease), top 0.35s var(--ease);
}
.nav-toggle span::before { top: -8px; }
.nav-toggle span::after { top: 8px; }

/* Open state — hamburger becomes X */
.nav.open .nav-toggle span { background: transparent; }
.nav.open .nav-toggle span::before { top: 0; transform: rotate(45deg); background: var(--cream); }
.nav.open .nav-toggle span::after { top: 0; transform: rotate(-45deg); background: var(--cream); }

@media (max-width: 1024px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: inline-flex; }

  /* Mobile menu overlay */
  .nav.open .nav-links {
    display: flex;
    position: fixed;
    inset: 0;
    background: var(--navy);
    flex-direction: column;
    align-items: stretch;
    padding: 96px 32px 40px;
    gap: 0;
    border: 0;
    z-index: 100;
    overflow-y: auto;
    animation: navSlide 0.4s var(--ease);
  }
  .nav.open .nav-links::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("../img/pattern-light.svg");
    background-size: 380px;
    opacity: 0.05;
    pointer-events: none;
  }
  @keyframes navSlide {
    from { opacity: 0; transform: translateY(-12px); }
    to { opacity: 1; transform: none; }
  }
  .nav.open .nav-links li {
    border-bottom: 1px solid rgba(246, 241, 233, 0.12);
    list-style: none;
    position: relative;
    z-index: 1;
  }
  .nav.open .nav-links li:first-child {
    border-top: 1px solid rgba(246, 241, 233, 0.12);
  }
  .nav.open .nav-links li {
    opacity: 0;
    transform: translateY(12px);
    animation: navItem 0.5s var(--ease) forwards;
  }
  .nav.open .nav-links li:nth-child(1) { animation-delay: 0.06s; }
  .nav.open .nav-links li:nth-child(2) { animation-delay: 0.12s; }
  .nav.open .nav-links li:nth-child(3) { animation-delay: 0.18s; }
  .nav.open .nav-links li:nth-child(4) { animation-delay: 0.24s; }
  .nav.open .nav-links li:nth-child(5) { animation-delay: 0.30s; }
  .nav.open .nav-links li:nth-child(6) { animation-delay: 0.36s; }
  .nav.open .nav-links li:nth-child(7) { animation-delay: 0.42s; }
  @keyframes navItem {
    to { opacity: 1; transform: none; }
  }
  .nav.open .nav-links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 16px;
    padding: 22px 4px;
    color: var(--cream);
    font-family: var(--display);
    font-weight: 700;
    font-size: 30px;
    letter-spacing: -0.005em;
    line-height: 1;
    text-transform: none;
  }
  .nav.open .nav-links a::before { display: none; }
  .nav.open .nav-links a::after {
    content: "→";
    color: var(--copper-light);
    font-size: 22px;
    transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
    opacity: 0.7;
    width: auto;
    position: static;
    background: transparent;
    height: auto;
  }
  .nav.open .nav-links a:hover { color: var(--copper-light); }
  .nav.open .nav-links a:hover::after { transform: translateX(6px); opacity: 1; }
  .nav.open .nav-links a.active { color: var(--copper-light); }

  /* CTA at bottom of mobile menu */
  .nav.open .nav-links::after {
    content: "Drsaf Holding · Hay Demashq, Tripoli · info@drsafgroup.com";
    position: relative;
    z-index: 1;
    padding-top: 32px;
    margin-top: auto;
    color: rgba(246, 241, 233, 0.5);
    font-size: 12px;
    letter-spacing: 0.04em;
    text-align: left;
    line-height: 1.6;
  }

  /* When menu is open, header background fades to navy */
  body.nav-open { overflow: hidden; }
  body.nav-open .site-header,
  body.nav-open .site-header.transparent {
    background: var(--navy);
    border-bottom-color: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  body.nav-open .site-header .nav-logo img { filter: brightness(0) invert(1); }

  /* Logo + close button paint above the navy overlay (logo at top of menu) */
  .nav.open .nav-logo,
  .nav.open .nav-toggle { position: relative; z-index: 105; }
  .nav.open .nav-logo img { height: 48px; }

  /* Mobile menu footer: language switch + social links */
  .nav.open .nav-mobile-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 28px;
    padding: 28px 4px 4px;
    border-top: 1px solid rgba(246, 241, 233, 0.14);
    border-bottom: 0;
  }
  .nav.open .nav-mobile-foot .nav-foot-lang {
    display: inline-flex;
    align-items: center;
    width: auto;
    font-family: var(--sans);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--cream);
    border: 1px solid rgba(246, 241, 233, 0.45);
    border-radius: 0;
    padding: 13px 22px;
    line-height: 1;
  }
  .nav.open .nav-mobile-foot .nav-foot-lang::after { display: none; }
  .nav.open .nav-mobile-foot .nav-foot-lang:hover {
    background: var(--copper);
    border-color: var(--copper);
    color: var(--paper);
  }
  .nav-mobile-social { display: flex; gap: 12px; }
  .nav.open .nav-mobile-social a {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid rgba(246, 241, 233, 0.28);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    font-size: 0;
    color: var(--cream);
    transition: background 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
  }
  .nav.open .nav-mobile-social a::after { display: none; }
  .nav.open .nav-mobile-social a:hover { background: var(--copper); border-color: var(--copper); color: var(--paper); }
  .nav.open .nav-mobile-social svg { width: 18px; height: 18px; }
}

/* ---------- Hero (cinematic full-bleed) ---------- */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  padding: clamp(120px, 16vw, 200px) 0 clamp(80px, 9vw, 120px);
  overflow: hidden;
  color: var(--cream);
  background: var(--ink);
  isolation: isolate;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero-bg-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 1.4s cubic-bezier(0.4, 0, 0.2, 1), transform 8s ease-out;
}
.hero-bg-slide.active {
  opacity: 1;
  transform: scale(1);
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(13,31,44,0.75) 0%, rgba(13,31,44,0.35) 35%, rgba(13,31,44,0.95) 100%),
    linear-gradient(90deg, rgba(13,31,44,0.65) 0%, rgba(13,31,44,0.2) 50%, rgba(13,31,44,0.7) 100%);
  z-index: -1;
  pointer-events: none;
}
.hero::after { display: none; }

.hero-dots {
  position: absolute;
  bottom: 36px;
  right: var(--gutter);
  z-index: 3;
  display: flex;
  gap: 10px;
}
.hero-dot {
  width: 36px;
  height: 2px;
  background: rgba(246, 241, 233, 0.3);
  border: 0;
  padding: 0;
  cursor: pointer;
  transition: background 0.3s var(--ease), width 0.3s var(--ease);
}
.hero-dot:hover { background: rgba(246, 241, 233, 0.6); }
.hero-dot.active {
  background: var(--copper-light);
  width: 56px;
}
/* hero grid */
.hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: end;
}
.hero-eyebrow {
  color: var(--copper-light);
  margin-bottom: 28px;
}
.hero-eyebrow::before { background: var(--copper-light); }
.hero .h-display {
  color: var(--cream);
  font-family: var(--display);
  font-size: clamp(72px, 11vw, 180px);
  font-weight: 700;
  line-height: 0.55;
  letter-spacing: -0.015em;
}
.hero .h-display em {
  color: var(--copper-light);
  font-family: var(--display);
  font-style: italic;
  font-weight: 700;
  letter-spacing: -0.005em;
}
.hero p.lead {
  color: rgba(246, 241, 233, 0.78);
  max-width: 44ch;
  margin-top: 0;
  font-size: 17px;
  font-weight: 400;
}
.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 36px;
  flex-wrap: wrap;
}
.hero-actions .btn-primary { background: var(--copper); color: var(--paper); border-color: var(--copper); }
.hero-actions .btn-primary:hover { background: var(--copper-light); border-color: var(--copper-light); }
.hero-actions .btn-ghost { color: var(--cream); }
.hero-actions .btn-ghost:hover { color: var(--copper-light); }

.hero-side {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 28px 32px;
  background: rgba(13, 31, 44, 0.55);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(246, 241, 233, 0.12);
}

/* Right column scroll cue + meta */
.hero-meta {
  border-left: 1px solid rgba(246, 241, 233, 0.25);
  padding: 8px 0 8px 28px;
}
.hero-meta .label {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(246, 241, 233, 0.55);
  font-weight: 600;
  margin-bottom: 14px;
}
.hero-meta .value {
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  color: var(--cream);
  line-height: 1.25;
}
.hero-meta .value strong {
  font-family: var(--sans);
  font-style: normal;
  font-weight: 800;
  font-size: 48px;
  display: block;
  letter-spacing: -0.03em;
  margin-bottom: 6px;
  color: var(--cream);
}

.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 32px;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(246, 241, 233, 0.6);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 600;
  pointer-events: none;
}
.hero-scroll::after {
  content: "";
  width: 1px;
  height: 48px;
  background: linear-gradient(180deg, rgba(246,241,233,0.5), transparent);
  animation: scrollLine 2.4s ease-in-out infinite;
}
@keyframes scrollLine {
  0%, 100% { transform: scaleY(0.4); transform-origin: top; opacity: 0.4; }
  50% { transform: scaleY(1); opacity: 1; }
}

@media (max-width: 880px) {
  .hero {
    min-height: 92vh;
    padding: 120px 0 80px;
    align-items: center;
    text-align: left;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
    align-items: stretch;
  }
  .hero-eyebrow {
    margin-bottom: 24px;
    font-size: 10px;
    letter-spacing: 0.28em;
  }
  .hero .h-display {
    font-size: clamp(72px, 17vw, 120px);
    line-height: 0.78;
    letter-spacing: -0.02em;
  }
  .hero-side {
    padding: 22px 22px 24px;
    gap: 20px;
    background: rgba(13, 31, 44, 0.6);
    border: 1px solid rgba(246, 241, 233, 0.16);
  }
  .hero p.lead { font-size: 15px; max-width: none; }
  .hero-actions { margin-top: 0; gap: 10px; }
  .hero-actions .btn { padding: 12px 22px; font-size: 12px; flex: 1 1 auto; justify-content: center; }
  .hero-meta { padding: 4px 0 4px 20px; margin-top: 4px; }
  .hero-meta .label { font-size: 10px; letter-spacing: 0.2em; margin-bottom: 8px; }
  .hero-meta .value { font-size: 15px; line-height: 1.3; }
  .hero-meta .value strong { font-size: 36px; margin-bottom: 4px; }
  .hero-scroll { display: none; }
  .hero-dots {
    bottom: 22px;
    right: auto;
    left: 50%;
    transform: translateX(-50%);
    gap: 8px;
  }
  .hero-dot { width: 22px; }
  .hero-dot.active { width: 38px; }
}
@media (max-width: 480px) {
  .hero { padding: 110px 0 96px; }
  .hero .h-display { font-size: clamp(62px, 17vw, 88px); }
  .hero-side { padding: 20px 18px 22px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
}

/* General mobile spacing tighten */
@media (max-width: 720px) {
  section { padding: 56px 0; }
  .nav-logo img { height: 46px; }
  .section-head { gap: 12px; margin-bottom: 32px; }
  .section-head { grid-template-columns: 1fr; }
  /* Bigger headlines on mobile */
  h1 { font-size: clamp(56px, 13vw, 88px); line-height: 0.78; }
  h2 { font-size: clamp(56px, 13vw, 84px); line-height: 0.78; }
  h3 { font-size: clamp(28px, 6vw, 36px); line-height: 0.92; }
  h4 { font-size: 22px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { padding: 28px 16px; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--line); }
  .page-hero { padding: 130px 0 64px; }
  .page-hero h1 { font-size: clamp(64px, 14vw, 92px); line-height: 0.78; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-brand { grid-column: 1; }
  .cta-banner h2 { font-size: 56px !important; line-height: 0.85; }
  .cta-banner .container { grid-template-columns: 1fr; gap: 28px; }
  .cta-banner .actions { justify-self: start; }
  .contact-block { grid-template-columns: 1fr; }
  .map-block { aspect-ratio: 4/3; position: relative; top: auto; }
  .contact-item { grid-template-columns: 1fr; gap: 8px; }
}

/* ---------- Page Hero (interior pages) ---------- */

.page-hero {
  background: var(--navy);
  color: var(--cream);
  position: relative;
  padding: clamp(160px, 16vw, 240px) 0 clamp(80px, 9vw, 120px);
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../img/pattern-light.svg");
  background-size: 360px auto;
  background-repeat: repeat;
  opacity: 0.08;
}
.page-hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: end;
}
.page-hero .eyebrow { color: var(--copper-light); }
.page-hero .eyebrow::before { background: var(--copper-light); }
.page-hero h1 {
  color: var(--cream);
  font-family: var(--display);
  font-size: clamp(64px, 8vw, 120px);
  font-weight: 700;
  margin-top: 24px;
  letter-spacing: -0.01em;
  line-height: 0.65;
}
.page-hero h1 em { color: var(--copper-light); font-family: var(--display); font-style: italic; font-weight: 700; }
.page-hero-lead {
  color: rgba(246, 241, 233, 0.78);
  font-size: 18px;
  line-height: 1.6;
  max-width: 42ch;
}

@media (max-width: 880px) {
  .page-hero-inner { grid-template-columns: 1fr; gap: 32px; }
}

/* ---------- Breadcrumb ---------- */
.crumb {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(246, 241, 233, 0.55);
  display: flex;
  gap: 10px;
  align-items: center;
}
.crumb a:hover { color: var(--copper-light); }
.crumb span { opacity: 0.5; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 28px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: all 0.25s var(--ease);
  border: 1px solid transparent;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: "→";
  font-size: 16px;
  line-height: 1;
  transition: transform 0.3s var(--ease);
  display: inline-block;
}
.btn:hover::after { transform: translateX(6px); }
.btn-icon::after { display: none; }
.btn-icon svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s var(--ease);
}
.btn-icon:hover svg { transform: translateX(4px); }
.btn-primary { background: var(--navy); color: var(--cream); }
.btn-primary:hover { background: var(--navy-deep); }
.btn-outline { border-color: var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--cream); }
.btn-copper { background: var(--copper); color: var(--paper); }
.btn-copper:hover { background: var(--copper-deep); }
.btn-ghost { color: var(--navy); padding-left: 0; padding-right: 0; border: 0; background: transparent; }
.btn-ghost::after { content: "→"; font-size: 16px; transition: transform 0.25s var(--ease); }
.btn-ghost:hover::after { transform: translateX(6px); }

/* ---------- Stats ---------- */

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat {
  padding: 48px 32px;
  border-right: 1px solid var(--line);
}
.stat:last-child { border-right: 0; }
.stat-num {
  font-family: var(--display);
  font-size: clamp(72px, 8vw, 120px);
  line-height: 0.9;
  color: var(--navy);
  font-weight: 700;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
  display: block;
  min-height: 0.9em;
}
.stat-num sup {
  font-size: 0.4em;
  color: var(--copper);
  vertical-align: super;
  margin-left: 4px;
  font-weight: 500;
}
.stat-num .stat-plus { color: var(--copper); }
.stat-label {
  margin-top: 14px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--muted);
}

@media (max-width: 880px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { padding: 32px 20px; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--line); }
}

/* ---------- Sector Card (richer, with optional photo) ---------- */

.sectors {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  background: var(--paper);
}
.sector {
  padding: clamp(32px, 3.4vw, 48px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
  transition: background 0.4s var(--ease), color 0.4s var(--ease);
  overflow: hidden;
  isolation: isolate;
  min-height: 360px;
  display: flex;
  flex-direction: column;
}
.sector::before {
  content: "";
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.5s var(--ease);
  z-index: -2;
}
.sector::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(13,31,44,0.4) 0%, rgba(13,31,44,0.9) 100%);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
  z-index: -1;
}
.sector:hover { color: var(--cream); }
.sector:hover::before, .sector:hover::after { opacity: 1; }
.sector:hover h3 { color: var(--cream); }
.sector:hover p { color: rgba(246,241,233,0.78); }
.sector:hover .sector-num { color: var(--copper-light); }
.sector:hover .sector-icon { color: var(--copper-light); }
.sector:hover .sector-arrow { color: var(--cream); }

.sector:nth-child(3n) { border-right: 0; }
.sector:nth-last-child(-n+3) { border-bottom: 0; }
.sector-num {
  font-family: var(--serif);
  font-size: 13px;
  color: var(--copper);
  font-style: italic;
  letter-spacing: 0.04em;
  transition: color 0.4s var(--ease);
}
.sector h3 {
  margin-top: 16px;
  margin-bottom: 14px;
  font-size: clamp(24px, 2.4vw, 30px);
  font-weight: 800;
  letter-spacing: -0.02em;
  transition: color 0.4s var(--ease);
}
.sector p { font-size: 15px; line-height: 1.6; transition: color 0.4s var(--ease); }
.sector-icon {
  width: 52px;
  height: 52px;
  margin-bottom: auto;
  color: var(--navy);
  transition: color 0.4s var(--ease);
}
.sector-arrow {
  margin-top: 28px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--navy);
  transition: color 0.4s var(--ease);
}
.sector-arrow::after { content: "→"; transition: transform 0.25s var(--ease); }
.sector:hover .sector-arrow::after { transform: translateX(8px); }

.sector[data-img="construction"]::before { background-image: url("../img/sec-construction.jpg"); }
.sector[data-img="food"]::before { background-image: url("../img/sec-food.jpg"); }
.sector[data-img="aviation"]::before { background-image: url("../img/sec-aviation.jpg"); }
.sector[data-img="logistics"]::before { background-image: url("../img/sec-logistics.jpg"); }
.sector[data-img="materials"]::before { background-image: url("../img/sec-materials.jpg"); }
.sector[data-img="distribution"]::before { background-image: url("../img/sec-distribution.jpg"); }

@media (max-width: 880px) {
  .sectors { grid-template-columns: 1fr; }
  .sector { border-right: 0; }
  .sector:nth-last-child(-n+3) { border-bottom: 1px solid var(--line); }
  .sector:last-child { border-bottom: 0; }
}

/* ---------- Sectors editorial showcase ---------- */
.sec-showcase {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 0;
  align-items: stretch;
}
.sec-tabs {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-right: 0;
  background: var(--paper);
}
.sec-tab {
  width: 100%;
  display: grid;
  grid-template-columns: 56px 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 22px 24px 22px 28px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  text-align: left;
  color: var(--ink);
  position: relative;
  transition: padding 0.45s var(--ease), color 0.35s var(--ease), background-color 0.45s var(--ease);
  font-family: inherit;
  overflow: hidden;
}
.sec-tabs li:first-child .sec-tab { border-top: 0; }
.sec-tabs li:last-child .sec-tab { border-bottom: 0; }
.sec-tab::before {
  content: "";
  position: absolute;
  left: -1px; top: 0; bottom: 0;
  width: 3px;
  background: var(--copper);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.5s cubic-bezier(0.65, 0, 0.35, 1);
  z-index: 2;
}
.sec-tab::after {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0; bottom: 0;
  background: var(--navy);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.55s cubic-bezier(0.65, 0, 0.35, 1);
  z-index: 0;
}
.sec-tab > * { position: relative; z-index: 1; }
.sec-tab:hover { padding-left: 36px; color: var(--navy); }
.sec-tab.active {
  padding-left: 40px;
  color: var(--cream);
}
.sec-tab.active::before { transform: scaleY(1); }
.sec-tab.active::after { transform: scaleX(1); }
.sec-tab.active .sec-tab-name { color: var(--cream); }
.sec-tab.active .sec-tab-num { color: var(--copper-light); }
.sec-tab.active .sec-tab-meta { color: rgba(246, 241, 233, 0.6); }
.sec-tab-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  color: var(--muted);
  transition: color 0.3s var(--ease);
}
.sec-tab-name {
  font-family: var(--display);
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 700;
  line-height: 0.95;
  color: var(--ink);
  letter-spacing: -0.005em;
  transition: color 0.3s var(--ease);
}
.sec-tab-meta {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--muted);
}

.sec-panel-stage {
  position: relative;
  min-height: 560px;
  background: var(--paper);
  overflow: hidden;
  border: 1px solid var(--line);
  padding: 16px;
}
.sec-panel {
  position: absolute;
  inset: 16px;
  display: grid;
  grid-template-rows: 1.4fr 1fr;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.7s cubic-bezier(0.65, 0, 0.35, 1), visibility 0s linear 0.7s;
  pointer-events: none;
  overflow: hidden;
  background: var(--navy);
}
.sec-panel.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 0.7s cubic-bezier(0.65, 0, 0.35, 1), visibility 0s linear 0s;
}

/* Image — zoom + slide */
.sec-panel-img {
  background-size: cover;
  background-position: center;
  position: relative;
  transform: scale(1.15);
  transition: transform 1.2s cubic-bezier(0.65, 0, 0.35, 1);
}
.sec-panel.active .sec-panel-img { transform: scale(1); }
.sec-panel-img::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(13,31,44,0) 60%, rgba(13,31,44,0.7) 100%);
}

/* Body — translate up with stagger */
.sec-panel-body > * {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.sec-panel.active .sec-panel-body > * { opacity: 1; transform: none; }
.sec-panel.active .sec-panel-body > *:nth-child(1) { transition-delay: 0.18s; }
.sec-panel.active .sec-panel-body > *:nth-child(2) { transition-delay: 0.28s; }
.sec-panel.active .sec-panel-body > *:nth-child(3) { transition-delay: 0.38s; }
.sec-panel.active .sec-panel-body > *:nth-child(4) { transition-delay: 0.48s; }
.sec-panel-body {
  padding: clamp(28px, 3vw, 44px) clamp(28px, 3vw, 44px) clamp(36px, 4vw, 52px);
  background: var(--paper);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}
.sec-panel-eyebrow {
  font-family: var(--serif);
  font-style: italic;
  font-size: 16px;
  color: var(--copper);
}
.sec-panel-body h3 {
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 700;
  color: var(--navy);
  line-height: 0.9;
  letter-spacing: -0.01em;
  margin: 0;
}
.sec-panel-body p {
  font-size: 16px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 60ch;
  margin: 4px 0 0;
}
.sec-panel-link {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
  align-self: flex-start;
  transition: gap 0.25s var(--ease), color 0.25s var(--ease);
}
.sec-panel-link::after { content: "→"; }
.sec-panel-link:hover { gap: 18px; color: var(--copper); }

@media (max-width: 880px) {
  .sec-showcase {
    display: block;
  }
  .sec-tabs { display: none; }
  .sec-panel-stage {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    gap: 16px;
    padding: 0 var(--gutter) 12px;
    margin: 0 calc(var(--gutter) * -1);
    min-height: auto;
    background: transparent;
    border: 0;
  }
  .sec-panel-stage::-webkit-scrollbar { display: none; }
  .sec-panel {
    position: relative;
    inset: auto;
    flex: 0 0 85%;
    scroll-snap-align: center;
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
    background: var(--paper);
    border: 1px solid var(--line);
  }
  .sec-panel-body > * { opacity: 1; transform: none; }
  .sec-panel-img { transform: none; }
}

/* ---------- Section header ---------- */

.section-head {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: end;
  margin-bottom: clamp(48px, 6vw, 80px);
}
.section-head h2 { margin-top: 18px; }
.section-head p { font-size: 17px; }

@media (max-width: 880px) {
  .section-head { grid-template-columns: 1fr; gap: 24px; }
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--navy-deep);
  color: rgba(246, 241, 233, 0.7);
  padding: clamp(64px, 7vw, 96px) 0 32px;
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../img/pattern-light.svg");
  background-size: 380px auto;
  background-repeat: repeat;
  opacity: 0.05;
  pointer-events: none;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 56px;
  position: relative;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(246, 241, 233, 0.12);
}
.footer-brand img { height: 56px; filter: brightness(0) invert(1); opacity: 0.9; margin-bottom: 20px; }
.footer-brand p { color: rgba(246, 241, 233, 0.55); font-size: 14px; max-width: 32ch; }
.footer-col h5 {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--copper-light);
  font-weight: 600;
  margin-bottom: 22px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-col a {
  font-size: 14px;
  color: rgba(246, 241, 233, 0.7);
  transition: color 0.2s var(--ease);
}
.footer-col a:hover { color: var(--copper-light); }
.footer-bottom {
  position: relative;
  z-index: 1;
  margin-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: rgba(246, 241, 233, 0.4);
  letter-spacing: 0.04em;
}
.footer-social { display: flex; gap: 14px; }
.footer-social a {
  width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(246, 241, 233, 0.18);
  border-radius: 50%;
  transition: all 0.25s var(--ease);
}
.footer-social a:hover {
  background: var(--copper);
  border-color: var(--copper);
  color: var(--paper);
}
.footer-social svg { width: 14px; height: 14px; }

@media (max-width: 880px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; gap: 18px; }
}

/* ---------- Companies Listing ---------- */

.company-list {
  display: flex;
  flex-direction: column;
}
.company-row {
  display: grid;
  grid-template-columns: 140px 1.4fr 1fr 200px;
  gap: 40px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
  cursor: pointer;
  transition: padding 0.3s var(--ease);
}
.company-row:hover { padding-left: 16px; }
.company-row:first-child { border-top: 1px solid var(--line); }
.company-logo {
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.company-logo img {
  max-height: 100%;
  max-width: 100%;
  width: auto;
  object-fit: contain;
  object-position: left center;
}
.company-name {
  font-family: var(--serif);
  font-size: clamp(24px, 2.4vw, 32px);
  color: var(--navy);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.1;
}
.company-sector {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--muted);
}
.company-link {
  text-align: right;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}
.company-link::after {
  content: "→";
  transition: transform 0.25s var(--ease);
}
.company-row:hover .company-link::after { transform: translateX(8px); }

@media (max-width: 880px) {
  .company-row {
    grid-template-columns: 100px 1fr;
    gap: 16px;
  }
  .company-sector, .company-link { grid-column: 2; }
  .company-link { text-align: left; justify-content: flex-start; }
  .company-logo { height: 40px; }
}

/* ---------- Company Gallery (home) ---------- */
.cg-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.cg-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  overflow: hidden;
  aspect-ratio: 4/5;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}
.cg-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../img/pattern-light.svg");
  background-size: 220px;
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  pointer-events: none;
}
.cg-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(13, 31, 44, 0.12);
  border-color: var(--copper);
}
.cg-card:hover::before { opacity: 0.07; }
.cg-card.cg-bg-navy::before { background-image: url("../img/pattern-light.svg"); }
.cg-card.cg-bg-cream::before { background-image: url("../img/pattern-navy.svg"); }
.cg-card.cg-bg-paper::before { background-image: url("../img/pattern-navy.svg"); }

.cg-logo {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 32px 24px;
  position: relative;
  z-index: 1;
}
.cg-logo img {
  max-width: 70%;
  max-height: 100px;
  object-fit: contain;
  transition: transform 0.4s var(--ease);
}
.cg-card:hover .cg-logo img { transform: scale(1.05); }
.cg-logo-tall img { max-height: 130px; max-width: 75%; }

.cg-card.cg-bg-navy { background: var(--navy); }
.cg-card.cg-bg-navy .cg-logo img { filter: brightness(0) invert(1); opacity: 0.95; }
.cg-card.cg-bg-navy .cg-foot {
  background: rgba(13, 31, 44, 0.92);
  border-top-color: rgba(246, 241, 233, 0.15);
}
.cg-card.cg-bg-navy .cg-name { color: var(--cream); }
.cg-card.cg-bg-navy .cg-sector { color: rgba(246, 241, 233, 0.55); }
.cg-card.cg-bg-navy .cg-arrow { color: var(--copper-light); }

.cg-card.cg-bg-cream { background: var(--cream); }
.cg-card.cg-bg-cream .cg-logo img { filter: none; }

.cg-card.cg-bg-paper { background: var(--paper); }

.cg-foot {
  position: relative;
  z-index: 1;
  padding: 18px 22px;
  border-top: 1px solid var(--line);
  background: var(--paper);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
}
.cg-name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 20px;
  line-height: 0.95;
  color: var(--navy);
  letter-spacing: -0.005em;
  margin-bottom: 4px;
}
.cg-sector {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--muted);
}
.cg-arrow {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--cream);
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease);
}
.cg-card:hover .cg-arrow {
  background: var(--copper);
  color: var(--paper);
  transform: translateX(4px);
}

/* CTA card */
.cg-cta {
  background: var(--copper);
  color: var(--paper);
  align-items: stretch;
  border-color: var(--copper);
}
.cg-cta:hover { border-color: var(--copper-deep); background: var(--copper-deep); }
.cg-cta-body {
  flex: 1;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  z-index: 1;
}
.cg-cta-eyebrow {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 700;
  color: rgba(255,255,255,0.7);
}
.cg-cta-title {
  font-family: var(--display);
  font-weight: 700;
  font-style: italic;
  font-size: 36px;
  line-height: 0.95;
  color: var(--paper);
  letter-spacing: -0.01em;
  margin-top: auto;
}
.cg-cta-arrow {
  margin-top: 24px;
  font-size: 28px;
  color: var(--paper);
  align-self: flex-start;
  transition: transform 0.35s var(--ease);
}
.cg-cta:hover .cg-cta-arrow { transform: translateX(10px); }
/* CTA card keeps its pattern visible at rest (not only on hover) */
.cg-cta::before { opacity: 0.12; }
.cg-cta:hover::before { opacity: 0.16; }

@media (max-width: 1200px) {
  .cg-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 880px) {
  .cg-grid {
    display: flex;
    grid-template-columns: none;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 8px var(--gutter) 12px;
    margin: 0 calc(var(--gutter) * -1);
  }
  .cg-grid::-webkit-scrollbar { display: none; }
  .cg-card {
    flex: 0 0 80%;
    scroll-snap-align: center;
    aspect-ratio: 4/5;
  }
  .cg-name { font-size: 18px; }

  /* Pagination strip + swipe hint for mobile carousels */
  .cg-grid + .cg-hint,
  .nr-editorial + .cg-hint,
  .sec-panel-stage + .cg-hint { display: flex; }
}
.cg-hint {
  display: none;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--muted);
}
.cg-hint::before, .cg-hint::after {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--line-strong);
}

/* ---------- Company Card (detailed) ---------- */

.company-card {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 48px;
  padding: 48px;
  border: 1px solid var(--line);
  background: var(--paper);
  transition: all 0.3s var(--ease);
}
.company-card:hover { border-color: var(--line-strong); }
.company-card + .company-card { margin-top: 24px; }

.company-mark {
  aspect-ratio: 1;
  background: var(--cream);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 36px;
}
.company-mark::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../img/pattern-navy.svg");
  background-size: 180px auto;
  opacity: 0.08;
}
.company-mark img {
  position: relative;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}
.company-mark-letter {
  position: relative;
  font-family: var(--serif);
  font-size: 120px;
  color: var(--navy);
  font-weight: 400;
  font-style: italic;
  line-height: 1;
}
.company-mark.copper { background: var(--copper); }
.company-mark.copper .company-mark-letter { color: var(--paper); }
.company-mark.navy { background: var(--navy); }
.company-mark.navy .company-mark-letter { color: var(--cream); }
.company-mark.navy img { filter: brightness(0) invert(1); opacity: 0.95; }
.company-mark.white { background: var(--paper); border: 1px solid var(--line); }

.company-body h3 {
  font-size: clamp(28px, 2.6vw, 36px);
  margin-bottom: 8px;
}
.company-tag {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--copper);
  font-weight: 600;
  margin-bottom: 24px;
}
.company-body p {
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 24px;
  max-width: 60ch;
}
.company-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  margin-bottom: 24px;
}
.company-meta-item h6 {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 8px;
}
.company-meta-item p {
  font-size: 14px;
  margin: 0;
  color: var(--ink);
}
.company-meta-item a { color: var(--ink); }
.company-meta-item a:hover { color: var(--copper); }

.company-socials {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 16px;
}
.company-website-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 8px;
}
.company-socials a {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--navy);
  transition: all 0.2s var(--ease);
}
.company-socials a:hover {
  background: var(--navy);
  color: var(--cream);
  border-color: var(--navy);
}
.company-socials svg { width: 14px; height: 14px; }
.company-socials-divider { display: none; }
.company-website {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.company-website::after { content: "↗"; font-size: 14px; }
.company-website:hover { color: var(--copper); }

@media (max-width: 880px) {
  .company-card { grid-template-columns: 1fr; padding: 28px; gap: 28px; }
  .company-meta { grid-template-columns: 1fr 1fr; }
}

/* ---------- Tabs (Companies filter) ---------- */
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 48px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 0;
}
.filter-tab {
  padding: 12px 20px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: all 0.2s var(--ease);
}
.filter-tab:hover { color: var(--navy); }
.filter-tab.active {
  color: var(--navy);
  border-bottom-color: var(--copper);
}

/* ---------- News Card ---------- */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.news-card {
  display: flex;
  flex-direction: column;
}
.news-img {
  aspect-ratio: 4/3;
  background: var(--cream) center/cover no-repeat;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
}
.news-img::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13,31,44,0.05) 0%, rgba(13,31,44,0.6) 100%);
}
.news-img.navy { background-color: var(--navy); }
.news-img.copper { background-color: var(--copper); }
.news-img[data-img="aviation"] { background-image: url("../img/sec-aviation.jpg"); }
.news-img[data-img="food"] { background-image: url("../img/sec-food.jpg"); }
.news-img[data-img="materials"] { background-image: url("../img/sec-materials.jpg"); }
.news-img[data-img="construction"] { background-image: url("../img/sec-construction.jpg"); }
.news-img[data-img="logistics"] { background-image: url("../img/sec-logistics.jpg"); }
.news-img[data-img="corner"] { background-image: url("../img/feature-corner.jpg"); }
.news-img[data-img="blueprint"] { background-image: url("../img/feature-blueprint.jpg"); }
.news-img[data-img="distribution"] { background-image: url("../img/sec-distribution.jpg"); }
.news-img-label {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  align-items: flex-end;
  padding: 24px;
  font-family: var(--serif);
  font-size: 28px;
  font-style: italic;
  color: var(--cream);
  line-height: 1.1;
  text-shadow: 0 1px 8px rgba(0,0,0,0.4);
}
.news-cat {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--copper);
  margin-bottom: 12px;
}
.news-card h3 {
  font-size: 22px;
  margin-bottom: 12px;
  font-weight: 500;
}
.news-card .news-meta {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.04em;
  margin-top: auto;
  padding-top: 16px;
}

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

/* ---------- Carousel (news/etc.) ---------- */
.carousel {
  position: relative;
  margin: 0 calc(var(--gutter) * -1);
}
.carousel-track {
  display: flex;
  gap: 32px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 8px var(--gutter) 24px;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-slide {
  flex: 0 0 calc((100% - var(--gutter)*2 - 64px) / 3);
  min-width: 320px;
  scroll-snap-align: start;
}
@media (max-width: 1080px) {
  .carousel-slide { flex: 0 0 calc((100% - var(--gutter)*2 - 32px) / 2); }
}
@media (max-width: 720px) {
  .carousel-slide { flex: 0 0 calc(100% - var(--gutter)*2); }
}

.carousel-controls {
  display: flex;
  gap: 10px;
}
.carousel-btn {
  width: 52px;
  height: 52px;
  border: 1px solid var(--line-strong);
  background: var(--paper);
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.25s var(--ease);
}
.carousel-btn:hover {
  background: var(--navy);
  color: var(--cream);
  border-color: var(--navy);
}
.carousel-btn svg { width: 18px; height: 18px; }
.carousel-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}
.carousel-btn:disabled:hover {
  background: var(--paper);
  color: var(--navy);
  border-color: var(--line-strong);
}

.carousel-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  padding: 0 var(--gutter);
}
.carousel-dot {
  width: 28px;
  height: 3px;
  background: var(--line-strong);
  border: 0;
  padding: 0;
  cursor: pointer;
  transition: background 0.3s var(--ease), width 0.3s var(--ease);
}
.carousel-dot:hover { background: var(--navy); }
.carousel-dot.active {
  background: var(--copper);
  width: 56px;
}

/* ---------- Investments (home) — carousel ---------- */
.inv-slide {
  background: var(--paper);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: border-color 0.3s var(--ease), transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.inv-slide:hover {
  border-color: var(--copper);
  transform: translateY(-6px);
  box-shadow: 0 28px 56px rgba(13, 31, 44, 0.12);
}
.inv-slide-img {
  aspect-ratio: 16/10;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}
.inv-slide-img::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(13,31,44,0) 30%, rgba(13,31,44,0.65) 100%);
}
.inv-slide-num {
  position: absolute;
  top: 20px;
  left: 24px;
  z-index: 1;
  font-family: var(--display);
  font-style: italic;
  font-weight: 700;
  font-size: 64px;
  color: var(--cream);
  line-height: 0.9;
  letter-spacing: -0.02em;
  text-shadow: 0 4px 12px rgba(13, 31, 44, 0.35);
}
.inv-slide-eyebrow {
  position: absolute;
  bottom: 20px;
  left: 24px;
  z-index: 1;
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--copper-light);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.inv-slide-eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--copper-light);
}
.inv-slide-body {
  padding: 28px 32px 30px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}
.inv-slide-body h3 {
  font-size: clamp(28px, 2.4vw, 34px);
  line-height: 0.95;
  margin: 0;
  letter-spacing: -0.005em;
}
.inv-slide-body p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
  flex: 1;
}
.inv-slide-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-top: 6px;
}
.inv-slide-stats > div { display: flex; flex-direction: column; gap: 4px; }
.inv-slide-stats strong {
  font-family: var(--display);
  font-weight: 700;
  font-size: 20px;
  color: var(--navy);
  line-height: 1;
  letter-spacing: -0.005em;
}
.inv-slide-stats span {
  font-size: 9.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--muted);
}
.inv-slide-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--navy);
  margin-top: 4px;
  transition: gap 0.25s var(--ease), color 0.25s var(--ease);
}
.inv-slide-link:hover { gap: 20px; color: var(--copper); }
.inv-slide-link .nr-arrow {
  width: 36px;
  height: 36px;
  background: var(--cream);
}
.inv-slide:hover .inv-slide-link .nr-arrow,
.inv-slide-link:hover .nr-arrow {
  background: var(--copper);
  color: var(--paper);
}

/* Investments grid — 3 cards inside container */
.inv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
@media (max-width: 1080px) {
  .inv-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}
@media (max-width: 720px) {
  .inv-grid { grid-template-columns: 1fr; }
}
.nr-editorial {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.nr-feature {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: border-color 0.3s var(--ease), transform 0.4s var(--ease);
}
.nr-feature:hover { border-color: var(--copper); transform: translateY(-4px); }
.nr-feature-img {
  aspect-ratio: 16/9;
  background-size: cover;
  background-position: center;
  position: relative;
}
.nr-feature-img::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(13,31,44,0) 60%, rgba(13,31,44,0.6) 100%);
}
.nr-feature-tag {
  position: absolute;
  top: 20px; left: 20px;
  background: var(--copper);
  color: var(--paper);
  padding: 8px 14px;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 700;
  z-index: 1;
}
.nr-feature-body {
  padding: 32px 36px 36px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}
.nr-feature-body h3 {
  font-size: clamp(34px, 3.4vw, 48px);
  line-height: 0.95;
  margin-bottom: 4px;
}
.nr-feature-body p {
  font-size: 15px;
  line-height: 1.6;
}
.nr-cat {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--copper);
}
.nr-meta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.04em;
  margin-top: auto;
  padding-top: 14px;
}
.nr-dot { color: var(--copper); }

.nr-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.nr-side-card {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 20px;
  padding: 16px;
  border: 1px solid var(--line);
  background: var(--paper);
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
  flex: 1;
}
.nr-side-card:hover { border-color: var(--copper); transform: translateX(4px); }
.nr-side-img {
  background-size: cover;
  background-position: center;
  min-height: 100%;
}
.nr-side-body {
  padding: 8px 8px 8px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.nr-side-body h4 {
  font-size: 22px;
  line-height: 1;
  margin: 0;
}

.nr-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.nr-mini {
  display: grid;
  grid-template-columns: 1fr 36px;
  gap: 20px;
  align-items: center;
  padding: 24px 0;
  transition: padding 0.25s var(--ease);
}
.nr-mini:hover { padding-left: 8px; }
.nr-mini-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 24px;
  color: var(--copper);
}
.nr-mini-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: 28px;
  line-height: 1;
  color: var(--navy);
  letter-spacing: -0.005em;
  margin: 10px 0;
}
.nr-mini-arrow {
  font-size: 16px;
  color: var(--navy);
  transition: transform 0.25s var(--ease);
}
.nr-mini:hover .nr-mini-arrow { transform: translateX(4px); color: var(--copper); }

/* Circle arrow button used on news cards */
.nr-arrow {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--cream);
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease);
  margin-left: auto;
  flex-shrink: 0;
}
.nr-feature:hover .nr-arrow,
.nr-side-card:hover .nr-arrow,
.nr-mini:hover .nr-arrow {
  background: var(--copper);
  color: var(--paper);
  transform: translateX(4px);
}
.nr-side-card .nr-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.nr-mini .nr-mini-arrow { display: none; }

@media (max-width: 980px) {
  /* News on mobile — clean vertical layout, no horizontal scroll */
  .nr-editorial {
    display: flex;
    flex-direction: column;
    gap: 20px;
    overflow: visible;
    padding: 0;
    margin: 0 0 16px;
  }
  .nr-feature {
    flex: 1 1 auto;
  }
  .nr-feature-img { aspect-ratio: 4/3; }
  .nr-feature-body { padding: 22px 24px 28px; }
  .nr-feature-body h3 { font-size: 26px; }
  .nr-feature-body p { font-size: 14px; }

  .nr-side {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  .nr-side-card {
    grid-template-columns: 110px 1fr;
    gap: 14px;
    padding: 12px;
  }
  .nr-side-img { aspect-ratio: 1; min-height: 0; }
  .nr-side-body { padding: 4px 4px 4px 0; gap: 6px; }
  .nr-side-body h4 { font-size: 16px; line-height: 1.1; }
  .nr-side-body .nr-meta { padding-top: 4px; font-size: 11px; }
  .nr-side-body .nr-cat { font-size: 10px; }
  .nr-side-body .nr-arrow { width: 28px; height: 28px; font-size: 12px; }
}
@media (max-width: 880px) {
  .nr-bottom { grid-template-columns: 1fr; padding-top: 16px; gap: 4px; }
  .nr-mini { grid-template-columns: 1fr 32px; padding: 18px 0; gap: 12px; }
  .nr-mini-title { font-size: 20px; }
}
@media (max-width: 600px) {
  .nr-side-card { grid-template-columns: 90px 1fr; }
}

/* ---------- Job List ---------- */
.job-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 160px;
  gap: 32px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
}
.job-row:first-child { border-top: 1px solid var(--line); }
.job-row.head {
  padding: 16px 0;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--muted);
}
.job-title {
  font-family: var(--serif);
  font-size: 24px;
  color: var(--navy);
  font-weight: 500;
}
.job-meta { font-size: 14px; color: var(--ink); }

@media (max-width: 880px) {
  .job-row { grid-template-columns: 1fr; gap: 8px; }
  .job-row.head { display: none; }
  .job-meta::before { content: attr(data-label) ": "; color: var(--muted); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600; margin-right: 6px; }
}

/* ---------- Forms ---------- */
.field { display: flex; flex-direction: column; gap: 8px; }
.field label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--navy);
}
.field input, .field select, .field textarea {
  padding: 14px 0;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  background: transparent;
  font-family: var(--sans);
  font-size: 15px;
  color: var(--ink);
  transition: border-color 0.2s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-bottom-color: var(--copper);
}
.field textarea { resize: vertical; min-height: 100px; font-family: inherit; }
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 32px;
}
.form-grid .full { grid-column: 1 / -1; }

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

/* ---------- Pattern Strip ---------- */
.pattern-strip {
  height: 80px;
  background: var(--copper);
  position: relative;
  overflow: hidden;
}
.pattern-strip::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../img/pattern-light.svg");
  background-size: 160px auto;
  background-repeat: repeat;
  opacity: 0.28;
}

/* ---------- Leadership / values ---------- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.value {
  padding: 36px 28px;
  border-right: 1px solid var(--line);
}
.value:last-child { border-right: 0; }
.value-icon {
  width: 56px;
  height: 56px;
  color: var(--copper);
  margin-bottom: 24px;
}
.value-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  color: var(--copper);
  margin-bottom: 28px;
  display: block;
}
.value h3 { font-size: 44px; margin-bottom: 14px; }
.value p { font-size: 14px; line-height: 1.65; }

@media (max-width: 880px) {
  .values-grid { grid-template-columns: 1fr 1fr; }
  .value:nth-child(2n) { border-right: 0; }
  .value:nth-child(1), .value:nth-child(2) { border-bottom: 1px solid var(--line); }
}

/* ---------- Brand mark card ---------- */
.brand-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.brand-cell {
  background: var(--paper);
  padding: 48px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: background 0.3s var(--ease);
  min-height: 280px;
  justify-content: center;
}
.brand-cell:hover { background: var(--cream); }
.brand-mark {
  font-family: var(--serif);
  font-size: 64px;
  color: var(--navy);
  font-style: italic;
  font-weight: 400;
  margin-bottom: 24px;
}
.brand-cell.copper .brand-mark { color: var(--copper); }
.brand-cell h4 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 8px;
}
.brand-cell p { font-size: 13px; max-width: 32ch; }

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

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal.in {
  opacity: 1;
  transform: none;
}
.reveal:nth-child(2) { transition-delay: 0.08s; }
.reveal:nth-child(3) { transition-delay: 0.16s; }
.reveal:nth-child(4) { transition-delay: 0.24s; }

/* ---------- Misc utility ---------- */
.text-center { text-align: center; }
.bg-cream { background: var(--cream); }
.bg-navy { background: var(--navy); color: var(--cream); }
.bg-navy h2, .bg-navy h3 { color: var(--cream); }
.bg-navy p { color: rgba(246, 241, 233, 0.72); }
.bg-navy .eyebrow { color: var(--copper-light); }
.bg-navy .eyebrow::before { background: var(--copper-light); }

.split-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.split-2-wide { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
@media (max-width: 880px) {
  .split-2, .split-2-wide { grid-template-columns: 1fr; }
}

/* ---------- CTA banner ---------- */
.cta-banner {
  background: var(--navy);
  color: var(--cream);
  padding: clamp(60px, 8vw, 100px) 0;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../img/pattern-light.svg");
  background-size: 320px auto;
  opacity: 0.07;
}
.cta-banner .container { position: relative; display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: center; }
.cta-banner h2 { color: var(--cream); font-size: 70px; }
.cta-banner h2 em { color: var(--copper-light); font-style: italic; }
.cta-banner .actions { display: flex; gap: 14px; justify-self: end; flex-wrap: wrap; }
.cta-banner .btn-outline { border-color: var(--cream); color: var(--cream); }
.cta-banner .btn-outline:hover { background: var(--cream); color: var(--navy); }
.cta-banner .btn-copper:hover { background: var(--copper-light); }
@media (max-width: 880px) {
  .cta-banner .container { grid-template-columns: 1fr; }
  .cta-banner .actions { justify-self: start; }
}

/* ===== Gallery lightbox ===== */
.art-gallery-grid a { cursor: zoom-in; }
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(13, 31, 44, 0.94);
  backdrop-filter: blur(6px);
  padding: clamp(20px, 5vw, 64px);
}
.lightbox.open { display: flex; }
.lightbox-stage {
  margin: 0;
  max-width: min(1100px, 90vw);
  max-height: 84vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-stage img {
  max-width: 100%;
  max-height: 84vh;
  object-fit: contain;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  animation: lightbox-in 0.3s var(--ease, ease) both;
}
@keyframes lightbox-in {
  from { opacity: 0; transform: scale(0.97); }
  to { opacity: 1; transform: scale(1); }
}
.lightbox-close {
  position: absolute;
  top: clamp(16px, 3vw, 32px);
  right: clamp(16px, 3vw, 32px);
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: rgba(246, 241, 233, 0.1);
  color: var(--cream);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s var(--ease, ease);
}
.lightbox-close:hover { background: var(--copper); }
.lightbox-nav {
  flex: 0 0 auto;
  width: 56px;
  height: 56px;
  border: 0;
  border-radius: 50%;
  background: rgba(246, 241, 233, 0.1);
  color: var(--cream);
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s var(--ease, ease);
  margin: 0 clamp(8px, 2vw, 28px);
}
.lightbox-nav:hover { background: var(--copper); }
.lightbox-counter {
  position: absolute;
  bottom: clamp(18px, 4vw, 40px);
  left: 0;
  right: 0;
  text-align: center;
  color: var(--cream);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  opacity: 0.7;
}
@media (max-width: 600px) {
  .lightbox-nav { width: 44px; height: 44px; font-size: 24px; }
}

/* ===== Language switch (EN ⇄ ع) — base styles for both EN & AR pages ===== */
.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
}
.lang-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 14px 16px;
  border: 1px solid var(--navy);
  border-radius: 0;
  opacity: 1;
  transition: opacity 0.2s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
  white-space: nowrap;
  line-height: 1.6;
}
.lang-switch:hover { opacity: 1; background: var(--copper); border-color: var(--copper); color: var(--paper); }
.site-header.transparent .lang-switch { color: var(--cream); border-color: rgba(246, 241, 233, 0.5); }
.site-header.scrolled .lang-switch,
.site-header.solid-header .lang-switch,
body.solid-header .site-header .lang-switch { color: var(--navy); }
/* reset link decorations if placed inside nav-links */
.nav-links a.lang-switch::before,
.nav-links a.lang-switch::after { display: none !important; }

/* Mobile: hide the inline pill, show a full-width one inside the open menu */
.nav-mobile-lang-li { display: none; }
.nav-mobile-foot { display: none; }
.nav.open .nav-mobile-lang-li { display: block; }
.nav.open .nav-mobile-lang {
  display: inline-flex;
  margin-top: 8px;
  color: var(--cream);
  border-color: rgba(246,241,233,0.4);
  border-radius: 0;
  font-size: 16px;
  padding: 14px 26px;
  position: relative;
  z-index: 1;
}
@media (max-width: 860px) {
  .nav-right .lang-switch { display: none; }
}
