/* Ritters Capital — Version B
   Photography-forward enterprise firm site.
   Real images via background-image URLs (Unsplash); CSS gradient fallback if image unavailable. */

:root {
  --tribal:   #1D184F;
  --moses:    #3B4DA1;
  --mild:     #5875B9;
  --governor: #4E4EA1;
  --coral:    #F16062;

  --slate:    #464350;
  --mist:     #827D8B;
  --fog:      #B6B3BB;
  --cloud:    #EAE9EB;
  --paper:    #F4F4F6;
  --white:    #FFFFFF;
  --ink-dark: #0A0825;

  --display: 'Lora', 'Georgia', serif;
  --body:    'Geist', 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
  --km:      'Noto Serif Khmer', 'Noto Sans Khmer', serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.62;
  color: var(--slate);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "kern", "liga";
}
::selection { background: var(--mild); color: var(--white); }
img { max-width: 100%; display: block; }

/* Containers */
.container        { max-width: 1320px; margin: 0 auto; padding: 0 48px; }
.container-narrow { max-width: 980px;  margin: 0 auto; padding: 0 48px; }
@media (max-width: 760px) {
  .container, .container-narrow { padding: 0 24px; }
}

/* Header */
header.site {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,0.97);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--cloud);
  padding: 14px 0;
  transition: background .2s ease, border-color .2s ease;
}
header.site.on-hero {
  background: transparent;
  border-bottom-color: transparent;
}
header.site.on-hero .wordmark,
header.site.on-hero .wordmark .tail,
header.site.on-hero .wordmark-km,
header.site.on-hero nav.primary a { color: var(--white); }
header.site.on-hero .mark path,
header.site.on-hero .mark polygon { fill: var(--white); }
header.site .container {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
}
.brand {
  display: inline-flex; align-items: center; gap: 14px;
  text-decoration: none; line-height: 1; color: var(--tribal);
}
.brand .mark { width: 36px; height: 36px; flex: 0 0 36px; display: block; }
.wordmark-stack { display: inline-flex; flex-direction: column; gap: 3px; line-height: 1; }
.wordmark-km { font-family: var(--km); font-weight: 700; font-size: 12px; color: var(--tribal); line-height: 1.15; }
.wordmark    { font-family: var(--display); font-weight: 700; font-size: 19px; letter-spacing: 0.01em; color: var(--tribal); }
.wordmark .tail { font-weight: 500; margin-left: 5px; }

nav.primary ul { list-style: none; display: flex; gap: 28px; flex-wrap: wrap; row-gap: 8px; }
nav.primary a {
  font-family: var(--body); font-size: 14px; font-weight: 500;
  color: var(--tribal); text-decoration: none;
  padding-bottom: 3px; border-bottom: 1px solid transparent;
  transition: border-color .2s ease, color .2s ease;
}
nav.primary a:hover,
nav.primary a.active { border-bottom-color: var(--mild); }

.header-cta {
  font-family: var(--body); font-weight: 500; font-size: 13px;
  color: var(--white); background: var(--tribal);
  padding: 10px 18px; text-decoration: none;
  border: 1px solid var(--tribal);
  transition: background .2s ease, color .2s ease;
}
.header-cta:hover { background: var(--moses); border-color: var(--moses); }
header.site.on-hero .header-cta {
  background: transparent; color: var(--white); border-color: rgba(255,255,255,0.55);
}
header.site.on-hero .header-cta:hover { background: var(--white); color: var(--tribal); border-color: var(--white); }

/* Photographic hero */
.hero {
  position: relative;
  min-height: 82vh;
  display: flex; align-items: flex-end;
  color: var(--white);
  overflow: hidden;
  background-color: var(--ink-dark);
  margin-top: -62px;
  padding-top: 62px;
}
.hero.short { min-height: 58vh; }
.hero .bg {
  position: absolute; inset: 0;
  background-color: var(--ink-dark);
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.hero .wash {
  position: absolute; inset: 0;
  background:
    linear-gradient(110deg, rgba(10,8,37,0.78) 0%, rgba(10,8,37,0.35) 55%, rgba(10,8,37,0.12) 100%),
    linear-gradient(180deg, rgba(10,8,37,0.0) 60%, rgba(10,8,37,0.55) 100%);
  z-index: 1;
}
.hero .container {
  position: relative; z-index: 2;
  padding-top: 120px; padding-bottom: 80px;
  width: 100%;
}
.hero .tag {
  font-family: var(--body); font-weight: 500; font-size: 12px;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(255,255,255,0.78); margin-bottom: 28px;
  display: inline-flex; gap: 12px; align-items: center;
}
.hero .tag::before {
  content: ""; width: 30px; height: 1px; background: var(--mild);
}
.hero h1 {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(42px, 5.4vw, 72px);
  line-height: 1.08; letter-spacing: -0.015em;
  max-width: 22ch; margin-bottom: 26px;
}
.hero .lede {
  font-family: var(--body); font-size: 18px; line-height: 1.6;
  color: rgba(255,255,255,0.88); max-width: 62ch;
}
.hero .meta-strip {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px;
  margin-top: 60px; padding-top: 26px;
  border-top: 1px solid rgba(255,255,255,0.2);
  max-width: 980px;
}
.hero .meta-strip .item span.label {
  display: block; font-family: var(--body); font-weight: 500; font-size: 11px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255,255,255,0.58); margin-bottom: 6px;
}
.hero .meta-strip .item span.value {
  display: block; font-family: var(--display); font-weight: 500;
  font-size: 17px; color: var(--white); line-height: 1.35;
}
@media (max-width: 860px) {
  .hero .meta-strip { grid-template-columns: repeat(2, 1fr); gap: 22px; }
  .hero { min-height: 70vh; }
}

/* Hero image definitions */
.hero-img-phnom-penh .bg {
  /* Verified real photo: Phnom Penh riverside skyline, dusk. Photo by Kim Eang Eng on Unsplash — Unsplash License (free for commercial use, no attribution required). Source: https://unsplash.com/photos/city-skyline-during-night-time-06yn9Z1ePCo */
  background-image:
    linear-gradient(180deg, rgba(10,8,37,0.2) 0%, rgba(10,8,37,0.6) 100%),
    url('https://images.unsplash.com/photo-1600184831467-29f64598f37e?q=80&w=2400&auto=format&fit=crop'),
    radial-gradient(900px 500px at 80% 30%, rgba(88,117,185,0.35) 0%, rgba(29,24,79,0) 70%),
    linear-gradient(180deg, #1D184F 0%, #0A0825 100%);
}
/* Verified real photo: glass office facade, finance/corporate district. Photo by Laura Tancredi on Pexels — Pexels License (free commercial use). Source: https://www.pexels.com/photo/facade-of-office-building-with-glass-wall-7078620/ */
.hero-img-office .bg {
  background-image:
    linear-gradient(180deg, rgba(10,8,37,0.25) 0%, rgba(10,8,37,0.6) 100%),
    url('https://images.pexels.com/photos/7078620/pexels-photo-7078620.jpeg?auto=compress&cs=tinysrgb&w=2400'),
    linear-gradient(180deg, #1D184F 0%, #0A0825 100%);
}
/* Verified real photo: Bangkok skyline from the Chao Phraya River — the regional financial hub the firm operates alongside. Photo by David Gardiner on Unsplash — Unsplash License (free commercial use). Source: https://unsplash.com/photos/a-city-skyline-with-a-body-of-water-in-the-foreground-1sG6QJubO9Q */
.hero-img-mandates .bg {
  background-image:
    linear-gradient(180deg, rgba(10,8,37,0.3) 0%, rgba(10,8,37,0.65) 100%),
    url('https://images.unsplash.com/photo-1704872656367-aab145fdee7f?q=80&w=2400&auto=format&fit=crop'),
    linear-gradient(180deg, #1D184F 0%, #0A0825 100%);
}
/* Verified real photo: diverse professional team in discussion. Photo by Mikhail Nilov on Pexels — Pexels License (free commercial use). Source: https://www.pexels.com/photo/a-group-of-people-working-as-a-team-9301252/ */
.hero-img-recruitment .bg {
  background-image:
    linear-gradient(180deg, rgba(10,8,37,0.3) 0%, rgba(10,8,37,0.7) 100%),
    url('https://images.pexels.com/photos/9301252/pexels-photo-9301252.jpeg?auto=compress&cs=tinysrgb&w=2400'),
    linear-gradient(180deg, #1D184F 0%, #0A0825 100%);
}
/* Verified real photo: Phnom Penh skyline by daylight, Sora Skybar. Photo by allPhoto Bangkok on Unsplash — Unsplash License (free commercial use). Source: https://unsplash.com/photos/aerial-view-of-city-buildings-during-daytime-VoLyNETLCSU */
.hero-img-contact .bg {
  background-image:
    linear-gradient(180deg, rgba(10,8,37,0.3) 0%, rgba(10,8,37,0.6) 100%),
    url('https://images.unsplash.com/photo-1594444406267-35a7730c6867?q=80&w=2400&auto=format&fit=crop'),
    linear-gradient(180deg, #1D184F 0%, #0A0825 100%);
}

/* Section blocks */
section.block { padding: 96px 0; }
section.block.paper { background: var(--paper); }
section.block.dark  { background: var(--tribal); color: var(--white); }
section.block.darker{ background: var(--ink-dark); color: var(--white); }

.eyebrow {
  font-family: var(--body); font-weight: 500; font-size: 11px;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--mild); display: inline-flex; gap: 12px; align-items: center;
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--mild); }
section.block.dark .eyebrow,
section.block.darker .eyebrow { color: rgba(255,255,255,0.72); }

h2.section-title {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1.12; letter-spacing: -0.01em;
  color: var(--tribal);
  max-width: 22ch; margin-bottom: 24px;
}
section.block.dark h2.section-title,
section.block.darker h2.section-title { color: var(--white); }

.section-lede {
  font-family: var(--body); font-size: 17px; line-height: 1.62;
  color: var(--slate); max-width: 64ch; margin-bottom: 48px;
}
section.block.dark .section-lede,
section.block.darker .section-lede { color: rgba(255,255,255,0.82); }

/* Card grid */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.cards-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
@media (max-width: 1000px) { .cards-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .cards-3, .cards-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--white);
  border: 1px solid var(--cloud);
  display: flex; flex-direction: column;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.card:hover { border-color: var(--mild); transform: translateY(-2px); box-shadow: 0 12px 40px -18px rgba(29,24,79,0.3); }
.card .photo {
  aspect-ratio: 4/3;
  background-size: cover;
  background-position: center;
  background-color: var(--moses);
  position: relative;
}
.card .photo::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,8,37,0) 50%, rgba(10,8,37,0.45) 100%);
}
.card .body {
  padding: 26px 24px 28px;
  display: flex; flex-direction: column; gap: 10px; flex: 1;
}
.card .body .line-tag {
  font-family: var(--body); font-weight: 500; font-size: 11px;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--mild);
}
.card .body h3 {
  font-family: var(--display); font-weight: 700;
  font-size: 20px; line-height: 1.28; color: var(--tribal);
  letter-spacing: -0.005em;
}
.card .body p {
  font-family: var(--body); font-size: 14.5px; line-height: 1.6; color: var(--slate);
}
.card .body .foot {
  margin-top: auto; padding-top: 16px; border-top: 1px solid var(--cloud);
  font-family: var(--body); font-size: 11px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--mist);
  display: flex; gap: 14px; flex-wrap: wrap;
}
.card .body .foot strong { color: var(--tribal); font-weight: 500; }
.card.hidden { display: none; }

/* Photo URLs for cards */
/* Market Entry — formal handshake over a contract. Pavel Danilyuk / Pexels License. https://www.pexels.com/photo/people-shaking-their-hands-in-close-deal-business-contract-8112180/ */
.photo-entry    { background-image: url('https://images.pexels.com/photos/8112180/pexels-photo-8112180.jpeg?auto=compress&cs=tinysrgb&w=1400'); }
/* Diligence & Decision Support — reviewing documents closely. RDNE Stock project / Pexels License. https://www.pexels.com/photo/a-person-using-a-magnifying-glass-on-a-document-7821674/ */
.photo-diligence{ background-image: url('https://images.pexels.com/photos/7821674/pexels-photo-7821674.jpeg?auto=compress&cs=tinysrgb&w=1400'); }
/* Platform Build — construction cranes against a city skyline. l.kaplenig / Pexels License. https://www.pexels.com/photo/construction-cranes-in-city-17909242/ */
.photo-platform { background-image: url('https://images.pexels.com/photos/17909242/pexels-photo-17909242.jpeg?auto=compress&cs=tinysrgb&w=1400'); }
/* Industrial mandate — factory floor, protective gear. Cemrecan Yurtman / Pexels License. https://www.pexels.com/photo/industrial-worker-in-modern-factory-setting-29988955/ */
.photo-industrial { background-image: url('https://images.pexels.com/photos/29988955/pexels-photo-29988955.jpeg?auto=compress&cs=tinysrgb&w=1400'); }
/* Energy storage mandate — solar panels and wind turbines, Vietnam (regional). Quang Nguyen Vinh / Pexels License. https://www.pexels.com/photo/aerial-view-of-wind-turbines-and-solar-panels-35105428/ */
.photo-energy   { background-image: url('https://images.pexels.com/photos/35105428/pexels-photo-35105428.jpeg?auto=compress&cs=tinysrgb&w=1400'); }
/* Fertilizer mandate — aerial rice field, Southeast Asia. Quang Nguyen Vinh / Pexels License. https://www.pexels.com/photo/aerial-photography-of-rice-field-2131899/ */
.photo-fertiliz { background-image: url('https://images.pexels.com/photos/2131899/pexels-photo-2131899.jpeg?auto=compress&cs=tinysrgb&w=1400'); }
/* Commodity mandate — cargo ship and cranes at port. SAULO LEITE / Pexels License. https://www.pexels.com/photo/large-cargo-ship-at-shipping-port-with-cranes-29822711/ */
.photo-commodity{ background-image: url('https://images.pexels.com/photos/29822711/pexels-photo-29822711.jpeg?auto=compress&cs=tinysrgb&w=1400'); }
/* Real asset mandate — modern residential tower, tropical/Asian urban setting. Manass Rex / Pexels License. https://www.pexels.com/photo/modern-high-rise-building-in-urban-landscape-38615340/ */
.photo-realasset{ background-image: url('https://images.pexels.com/photos/38615340/pexels-photo-38615340.jpeg?auto=compress&cs=tinysrgb&w=1400'); }
.photo-office   { background-image: url('https://images.unsplash.com/photo-1497215728101-856f4ea42174?q=80&w=1400&auto=format&fit=crop'); }
/* Decision memo mandate — desk with charts, laptop and notes. Lukas Blazek / Pexels License. https://www.pexels.com/photo/notebook-and-charts-669613/ */
.photo-memo     { background-image: url('https://images.pexels.com/photos/669613/pexels-photo-669613.jpeg?auto=compress&cs=tinysrgb&w=1400'); }

/* Stats deck */
.stats-deck {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: var(--cloud); border: 1px solid var(--cloud);
}
.stats-deck .stat { background: var(--white); padding: 40px 32px 36px; }
section.block.dark .stats-deck,
section.block.darker .stats-deck { background: rgba(255,255,255,0.14); border-color: rgba(255,255,255,0.12); }
section.block.dark .stats-deck .stat,
section.block.darker .stats-deck .stat { background: var(--tribal); }
section.block.darker .stats-deck .stat { background: var(--ink-dark); }
.stats-deck .stat .value {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(34px, 3.6vw, 50px); line-height: 1;
  color: var(--tribal); letter-spacing: -0.015em;
  margin-bottom: 14px; display: block;
}
section.block.dark .stats-deck .stat .value,
section.block.darker .stats-deck .stat .value { color: var(--white); }
.stats-deck .stat .label {
  font-family: var(--body); font-weight: 500; font-size: 12px;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--slate); line-height: 1.5;
}
section.block.dark .stats-deck .stat .label,
section.block.darker .stats-deck .stat .label { color: rgba(255,255,255,0.7); }
@media (max-width: 760px) { .stats-deck { grid-template-columns: repeat(2, 1fr); } }

/* Text + image panel */
.panel {
  display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center;
}
.panel.reverse .panel-text { order: 2; }
.panel-text p {
  font-family: var(--body); font-size: 17px; line-height: 1.66;
  color: var(--slate); margin-bottom: 18px; max-width: 58ch;
}
section.block.dark .panel-text p,
section.block.darker .panel-text p { color: rgba(255,255,255,0.84); }
.panel-text p:last-child { margin-bottom: 0; }
.panel-text p strong { color: var(--tribal); font-weight: 500; }
section.block.dark .panel-text p strong,
section.block.darker .panel-text p strong { color: var(--white); }
.panel-image {
  aspect-ratio: 4/5;
  background-size: cover; background-position: center;
  background-color: var(--moses);
}
.panel-img-office     { background-image: url('https://images.unsplash.com/photo-1497366216548-37526070297c?q=80&w=1600&auto=format&fit=crop'); }
/* Contact page "expectations" panel — clean modern office interior with glass partitions. Bali Demiri / Pexels License. https://www.pexels.com/photo/stylish-interior-of-modern-office-with-glass-walls-3801167/ */
.panel-img-architecture{ background-image: url('https://images.pexels.com/photos/3801167/pexels-photo-3801167.jpeg?auto=compress&cs=tinysrgb&w=1600'); }
/* Homepage "two kinds of counterparty" panel — conference room discussion. Christina Morillo / Pexels License. https://www.pexels.com/photo/group-of-people-on-conference-room-1181396/ */
.panel-img-boardroom  { background-image: url('https://images.pexels.com/photos/1181396/pexels-photo-1181396.jpeg?auto=compress&cs=tinysrgb&w=1600'); }
/* Verified real photo: Angkor Wat, Siem Reap, Cambodia. Photo by Vicky T on Unsplash — Unsplash License (free commercial use, no attribution required). Source: https://unsplash.com/photos/angkor-wat-cambodia-EY3tC81nFt0 */
.panel-img-cambodia   { background-image: url('https://images.unsplash.com/photo-1566706546199-a93ba33ce9f7?q=80&w=1600&auto=format&fit=crop'); }
/* Team panel (About, Recruitment) — diverse professional team in discussion. RDNE Stock project / Pexels License. https://www.pexels.com/photo/business-people-holding-a-meeting-7414106/ */
.panel-img-team       { background-image: url('https://images.pexels.com/photos/7414106/pexels-photo-7414106.jpeg?auto=compress&cs=tinysrgb&w=1600'); }
@media (max-width: 960px) {
  .panel, .panel.reverse { grid-template-columns: 1fr; gap: 40px; }
  .panel.reverse .panel-text { order: 0; }
  .panel-image { aspect-ratio: 3/2; }
}

/* Feature tile */
.feature-tile {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 0;
  background: var(--white); border: 1px solid var(--cloud);
}
.feature-tile .photo {
  min-height: 460px;
  background-size: cover; background-position: center;
  background-color: var(--moses);
}
/* Featured mandate detail — same construction/platform-build photo as .photo-platform, at higher resolution. l.kaplenig / Pexels License. https://www.pexels.com/photo/construction-cranes-in-city-17909242/ */
.feature-tile.photo-platform-detail .photo {
  background-image: url('https://images.pexels.com/photos/17909242/pexels-photo-17909242.jpeg?auto=compress&cs=tinysrgb&w=2000');
}
.feature-tile .body {
  padding: 48px 44px; display: flex; flex-direction: column;
  justify-content: center; gap: 16px;
}
.feature-tile .body .line-tag {
  font-family: var(--body); font-weight: 500; font-size: 12px;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--mild);
}
.feature-tile .body h3 {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(26px, 2.8vw, 36px); line-height: 1.18;
  color: var(--tribal); letter-spacing: -0.01em;
}
.feature-tile .body p {
  font-family: var(--body); font-size: 16px; line-height: 1.65; color: var(--slate);
}
.feature-tile .figures {
  display: flex; gap: 40px; padding-top: 24px; border-top: 1px solid var(--cloud); margin-top: 8px;
  flex-wrap: wrap;
}
.feature-tile .figures .fig span.value {
  font-family: var(--display); font-weight: 500; font-size: 22px;
  color: var(--tribal); display: block; margin-bottom: 4px; line-height: 1;
}
.feature-tile .figures .fig span.label {
  font-family: var(--body); font-size: 11px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--slate);
}
@media (max-width: 860px) {
  .feature-tile { grid-template-columns: 1fr; }
  .feature-tile .photo { min-height: 280px; }
  .feature-tile .body { padding: 36px 28px; }
}

/* Google Maps panel */
.map-panel {
  display: grid; grid-template-columns: 1fr 1.3fr; gap: 0;
  background: var(--tribal); color: var(--white); min-height: 520px;
}
.map-panel .text { padding: 72px 56px; display: flex; flex-direction: column; justify-content: center; }
.map-panel .text .eyebrow { color: rgba(255,255,255,0.72); }
.map-panel h2.section-title { color: var(--white); max-width: 16ch; }
.map-panel p {
  font-family: var(--body); font-size: 16px; line-height: 1.65;
  color: rgba(255,255,255,0.84); max-width: 46ch; margin-bottom: 22px;
}
.map-panel .address {
  padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.2);
  font-family: var(--body); font-size: 14px; line-height: 1.75;
  color: rgba(255,255,255,0.86);
}
.map-panel .address strong { color: var(--white); font-weight: 500; letter-spacing: 0.02em; }
.map-panel .map-frame {
  position: relative;
  background: var(--ink-dark);
}
.map-panel .map-frame iframe {
  width: 100%; height: 100%; min-height: 520px; border: 0;
  filter: grayscale(0.15) contrast(1.05);
  display: block;
}
@media (max-width: 960px) {
  .map-panel { grid-template-columns: 1fr; min-height: unset; }
  .map-panel .text { padding: 60px 32px; }
  .map-panel .map-frame iframe { min-height: 360px; }
}

/* CTA band */
.cta-band {
  padding: 90px 0;
  background: var(--ink-dark); color: var(--white);
}
.cta-band .container {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 60px; align-items: center;
}
.cta-band h2 {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(28px, 3vw, 40px); line-height: 1.15;
  color: var(--white); max-width: 22ch;
}
.cta-band .cta-side {
  display: flex; flex-direction: column; gap: 18px; justify-self: end; font-family: var(--body);
}
.cta-band .cta-side .addr {
  font-size: 14px; color: rgba(255,255,255,0.72); line-height: 1.75;
}
.cta-band .cta-side a.btn {
  display: inline-block;
  font-family: var(--body); font-weight: 500; font-size: 14px; letter-spacing: 0.04em;
  color: var(--tribal); background: var(--white);
  padding: 16px 28px; text-decoration: none; border: 1px solid var(--white);
  transition: background .2s ease, color .2s ease, border-color .2s ease;
  align-self: flex-start;
}
.cta-band .cta-side a.btn:hover { background: var(--mild); color: var(--white); border-color: var(--mild); }
@media (max-width: 860px) { .cta-band .container { grid-template-columns: 1fr; gap: 28px; } .cta-band .cta-side { justify-self: start; } }

/* Footer */
footer.site { background: var(--ink-dark); color: var(--paper); padding: 80px 0 32px; }
footer.site .container {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 48px; align-items: start;
}
footer.site .footer-brand { max-width: 360px; }
footer.site .footer-brand .brand { margin-bottom: 20px; color: var(--white); }
footer.site .mark path,
footer.site .mark polygon { fill: var(--white); }
footer.site .wordmark,
footer.site .wordmark .tail,
footer.site .wordmark-km { color: var(--white); }
footer.site .footer-brand .statement {
  font-family: var(--body); font-size: 14px; line-height: 1.65;
  color: rgba(255,255,255,0.82); max-width: 36ch;
}
footer.site h5 {
  font-family: var(--body); font-weight: 500; font-size: 11px;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--mild); margin-bottom: 16px;
}
footer.site ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
footer.site ul a {
  font-family: var(--body); font-size: 14px; color: var(--paper);
  text-decoration: none; border-bottom: 1px solid transparent; padding-bottom: 2px;
  transition: border-color .2s ease;
}
footer.site ul a:hover { border-bottom-color: var(--mild); }
footer.site p.addr {
  font-family: var(--body); font-size: 14px; color: #C4CCE0; line-height: 1.7;
}
footer.site p.addr a { color: inherit; border-bottom: 1px solid var(--mild); padding-bottom: 2px; text-decoration: none; }
footer.site .legal-bar {
  grid-column: 1 / -1; margin-top: 56px; padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.12);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-family: var(--body); font-size: 11px; letter-spacing: 0.12em;
  text-transform: uppercase; color: #8E97B5;
}
@media (max-width: 960px) { footer.site .container { grid-template-columns: repeat(2, 1fr); } footer.site .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 560px) { footer.site .container { grid-template-columns: 1fr; gap: 32px; } }

/* Filters */
.filters-inline {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0;
  margin: 30px 0 28px; padding-bottom: 20px; border-bottom: 1px solid var(--cloud);
}
.filters-inline button {
  background: transparent; border: none; padding: 6px 0; margin: 0;
  font-family: var(--body); font-size: 13px; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--mist);
  cursor: pointer; transition: color .2s ease, border-color .2s ease;
  border-bottom: 1px solid transparent;
}
.filters-inline button:hover { color: var(--tribal); }
.filters-inline button.active { color: var(--tribal); border-bottom-color: var(--mild); }
.filters-inline .sep { width: 3px; height: 3px; border-radius: 50%; background: var(--mild); margin: 0 20px; opacity: 0.8; }

/* Enquiry form */
.enquiry-form { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 24px; max-width: 760px; }
.enquiry-form .full { grid-column: 1 / -1; }
.enquiry-form label {
  display: block; font-family: var(--body); font-weight: 500; font-size: 11px;
  letter-spacing: 0.18em; color: var(--slate); margin-bottom: 8px; text-transform: uppercase;
}
.enquiry-form input,
.enquiry-form textarea {
  width: 100%; font-family: var(--body); font-size: 15px;
  color: var(--tribal); padding: 14px 16px; background: var(--white);
  border: 1px solid var(--cloud); border-radius: 0;
  transition: border-color .18s ease;
}
.enquiry-form input:focus, .enquiry-form textarea:focus { outline: none; border-color: var(--mild); }
.enquiry-form textarea { min-height: 180px; resize: vertical; }
.enquiry-form .submit {
  grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
}
.enquiry-form button {
  font-family: var(--body); font-weight: 500; font-size: 13px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--white); background: var(--tribal);
  padding: 15px 30px; border: 1px solid var(--tribal); cursor: pointer;
  transition: background .2s ease, color .2s ease;
}
.enquiry-form button:hover { background: var(--moses); border-color: var(--moses); }
.enquiry-form .note { font-size: 13px; color: var(--mist); max-width: 420px; }
.enquiry-form .status { grid-column: 1 / -1; font-family: var(--body); font-size: 14px; color: var(--slate); padding-top: 8px; }
@media (max-width: 640px) { .enquiry-form { grid-template-columns: 1fr; } }

/* Recruitment list */
.jd-list { display: flex; flex-direction: column; }
.jd {
  display: grid; grid-template-columns: 160px 1fr 200px; gap: 36px;
  padding: 28px 0; border-top: 1px solid var(--cloud); align-items: center;
}
.jd:last-child { border-bottom: 1px solid var(--cloud); }
.jd .meta {
  font-family: var(--body); font-size: 12px; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--mist); line-height: 1.6;
}
.jd .meta .type { display: block; color: var(--slate); margin-top: 4px; font-weight: 500; }
.jd h3 { font-family: var(--display); font-weight: 700; font-size: 20px; margin-bottom: 6px; color: var(--tribal); letter-spacing: -0.005em; }
.jd p { font-family: var(--body); font-size: 14px; color: var(--slate); line-height: 1.6; }
.jd .action { text-align: right; }
.jd .action a {
  font-family: var(--body); font-weight: 500; font-size: 12px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--tribal);
  text-decoration: none; border: 1px solid var(--tribal); padding: 10px 18px;
  display: inline-block; margin-left: 8px;
  transition: background .2s ease, color .2s ease;
}
.jd .action a:hover { background: var(--tribal); color: var(--white); }
@media (max-width: 860px) { .jd { grid-template-columns: 1fr; gap: 10px; } .jd .action { text-align: left; } }

/* Version badge */
.version-badge {
  position: fixed; bottom: 18px; right: 18px;
  font-family: var(--body); font-size: 11px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--mist);
  background: var(--white); padding: 8px 14px; border: 1px solid var(--cloud);
  z-index: 100; text-decoration: none;
}
.version-badge:hover { color: var(--tribal); border-color: var(--mild); }
.version-badge strong { color: var(--tribal); font-weight: 500; margin-left: 6px; }
