
:root {
  --navy: #0B1D33;
  --navy-mid: #132B4A;
  --navy-light: #1A3A5C;
  --slate: #2C3E50;
  --steel: #5A7184;
  --silver: #8FA3B8;
  --cloud: #C8D6E0;
  --ice: #E8EEF2;
  --white: #F6F8FA;
  --pure-white: #FFFFFF;
  --amber: #D4A843;
  --amber-light: #E8C76A;
  --amber-glow: #F0D88A;
  --teal: #1A8A7D;
  --teal-light: #2AAFA0;
  --red-accent: #C0392B;
  --font-display: 'Instrument Serif', Georgia, serif;
  --font-body: 'DM Sans', -apple-system, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--slate);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* ===== NAV ===== */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(11, 29, 51, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(212, 168, 67, 0.15);
  transition: all 0.3s ease;
}

/* Hide mobile toggle on desktop */
.mobile-menu-toggle { display: none; }

.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: baseline;
  gap: 10px;
  text-decoration: none;
}

.logo-mark {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 3px;
  color: var(--pure-white);
  text-transform: uppercase;
}

.logo-accent {
  color: var(--amber);
}

.logo-sub {
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--silver);
  text-transform: uppercase;
  font-weight: 400;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  color: var(--cloud);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: color 0.2s;
  text-transform: uppercase;
}

.nav-links a:hover { color: var(--amber); }

.nav-cta {
  background: var(--amber);
  color: var(--navy) !important;
  padding: 10px 24px;
  border-radius: 4px;
  font-weight: 600 !important;
  transition: all 0.2s !important;
}

.nav-cta:hover {
  background: var(--amber-light) !important;
  color: var(--navy) !important;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  height: auto;
  min-height: 0;
  display: flex;
  align-items: center;
  background: var(--navy);
  overflow: hidden;
  padding: 90px 40px 40px;
}

.hero-visual-block {
  display: block;
  width: 100%;
}

.industrial-hero-img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(26, 58, 92, 0.8) 0%, transparent 70%),
    radial-gradient(ellipse 50% 50% at 20% 80%, rgba(212, 168, 67, 0.06) 0%, transparent 60%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-mid) 50%, var(--navy) 100%);
}

.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(212, 168, 67, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212, 168, 67, 0.03) 1px, transparent 1px);
  background-size: 80px 80px;
  animation: gridPulse 8s ease-in-out infinite;
}

@keyframes gridPulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

.hero-content {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  padding: 120px 40px 80px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(212, 168, 67, 0.1);
  border: 1px solid rgba(212, 168, 67, 0.25);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 28px;
  animation: fadeInUp 0.8s ease both;
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--amber);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero-badge span {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--amber);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(42px, 5vw, 64px);
  line-height: 1.1;
  color: var(--pure-white);
  margin-bottom: 24px;
  font-weight: 400;
  animation: fadeInUp 0.8s ease 0.1s both;
}

.hero h1 em {
  color: var(--amber);
  font-style: italic;
}

.hero-text {
  font-size: 17px;
  color: var(--silver);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 520px;
  animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  animation: fadeInUp 0.8s ease 0.3s both;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--amber);
  color: var(--navy);
  padding: 14px 32px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.5px;
  transition: all 0.25s ease;
  border: 2px solid var(--amber);
}

.btn-primary:hover {
  background: var(--amber-light);
  border-color: var(--amber-light);
  transform: translateY(-1px);
  box-shadow: 0 8px 30px rgba(212, 168, 67, 0.25);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--cloud);
  padding: 14px 32px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.5px;
  border: 2px solid rgba(200, 214, 224, 0.3);
  transition: all 0.25s ease;
}

.btn-secondary:hover {
  border-color: var(--amber);
  color: var(--amber);
}

.hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  animation: fadeInUp 0.8s ease 0.4s both;
}

.stat-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  padding: 28px;
  transition: all 0.3s ease;
}

.stat-card:hover {
  border-color: rgba(212, 168, 67, 0.25);
  background: rgba(212, 168, 67, 0.04);
}

.stat-number {
  font-family: var(--font-display);
  font-size: 38px;
  color: var(--amber);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 13px;
  color: var(--silver);
  letter-spacing: 0.3px;
  line-height: 1.5;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== INDUSTRIAL SVG ILLUSTRATION ===== */
.hero-visual-block {
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: fadeInUp 0.8s ease 0.35s both;
}

.industrial-img-wrap {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(212, 168, 67, 0.2);
  box-shadow:
    0 24px 80px rgba(11, 29, 51, 0.7),
    0 0 0 1px rgba(255,255,255,0.04) inset;
}

.industrial-hero-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
}

.img-overlay-gradient {
  position: absolute;
  inset: 0;
  border-radius: 16px;
  background:
    linear-gradient(to right, rgba(11,29,51,0.18) 0%, transparent 40%),
    linear-gradient(to top, rgba(11,29,51,0.45) 0%, transparent 35%);
  pointer-events: none;
}

.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.stat-pill {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 10px;
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  transition: all 0.3s ease;
  text-align: center;
}

.stat-pill:hover {
  border-color: rgba(212, 168, 67, 0.3);
  background: rgba(212, 168, 67, 0.05);
}

.stat-num-sm {
  font-family: var(--font-display);
  font-size: 26px;
  color: var(--amber);
  line-height: 1;
}

.stat-lbl-sm {
  font-size: 11px;
  color: var(--silver);
  letter-spacing: 0.3px;
  line-height: 1.4;
}

/* ===== VALUE STRIP ===== */
.value-strip {
  background: var(--navy-mid);
  border-top: 1px solid rgba(212, 168, 67, 0.1);
  border-bottom: 1px solid rgba(212, 168, 67, 0.1);
  padding: 0;
}

.value-strip-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.value-item {
  padding: 32px 36px;
  display: flex;
  align-items: center;
  gap: 16px;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  transition: background 0.3s;
}

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

.value-item:hover { background: rgba(212, 168, 67, 0.04); }

.value-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(212, 168, 67, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 18px;
}

.value-text {
  font-size: 13.5px;
  color: var(--cloud);
  font-weight: 500;
  line-height: 1.4;
}

/* ===== SECTIONS (General) ===== */
.section {
  padding: 100px 40px;
  max-width: 1280px;
  margin: 0 auto;
}

.section-label {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 3.5vw, 48px);
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 20px;
  font-weight: 400;
}

.section-subtitle {
  font-size: 17px;
  color: var(--steel);
  max-width: 600px;
  line-height: 1.7;
  margin-bottom: 56px;
}

/* ===== INDUSTRIES ===== */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.industries-grid--primary {
  grid-template-columns: repeat(5, 1fr);
}

.industries-grid--secondary {
  grid-template-columns: repeat(5, 1fr);
}

.industries-subsection {
  margin-bottom: 52px;
}

.industries-subsection-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.industries-subsection-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pure-white);
  background: var(--navy);
  padding: 5px 12px;
  border-radius: 20px;
  white-space: nowrap;
}

.industries-subsection-tag--software {
  background: var(--teal);
  color: var(--pure-white);
}

.industries-subsection-tag--secondary {
  background: transparent;
  color: var(--steel);
  border: 1px solid var(--ice);
}

.industries-subsection-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 400;
  color: var(--navy);
  margin: 0;
}

.industry-card--software {
  border-top: 2px solid var(--teal);
}

.industry-card--software::before {
  background: var(--teal);
}

.industry-card--secondary {
  background: var(--cloud);
  border-style: dashed;
}

.industry-card--secondary::before {
  background: var(--steel);
}

.industry-card {
  position: relative;
  background: var(--pure-white);
  border: 1px solid var(--ice);
  border-radius: 12px;
  padding: 36px 32px;
  transition: all 0.35s ease;
  overflow: hidden;
  cursor: pointer;
}

.industry-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.industry-card:hover {
  border-color: transparent;
  box-shadow: 0 12px 40px rgba(11, 29, 51, 0.1);
  transform: translateY(-4px);
}

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

.industry-icon {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--ice) 0%, var(--cloud) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 24px;
}

.industry-banner-card {
  padding: 0;
  overflow: hidden;
  position: relative;
}

.industry-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: absolute;
  inset: 0;
  transition: transform 0.5s ease;
}

.industry-banner-card:hover .industry-banner-img {
  transform: scale(1.05);
}

.industry-banner-overlay {
  position: relative;
  z-index: 1;
  background: linear-gradient(
    to top,
    rgba(11, 29, 51, 0.92) 0%,
    rgba(11, 29, 51, 0.55) 60%,
    rgba(11, 29, 51, 0.2) 100%
  );
  padding: 24px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 200px;
}

.industry-banner-overlay h3 {
  font-size: inherit !important;
  color: var(--pure-white) !important;
  margin-bottom: 8px !important;
}

.industry-banner-overlay p {
  font-size: 14px !important;
  color: rgba(255,255,255,0.75) !important;
  margin-bottom: 12px !important;
}
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--navy);
  margin-bottom: 12px;
  font-weight: 400;
}

.industry-card p {
  font-size: 14.5px;
  color: var(--steel);
  line-height: 1.65;
  margin-bottom: 20px;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--amber);
  text-decoration: none;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: gap 0.2s;
}

.card-link:hover { gap: 10px; }

/* ===== SOLUTIONS ===== */
.solutions-section {
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

.solutions-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 60% at 80% 20%, rgba(26, 58, 92, 0.6) 0%, transparent 60%);
}

.solutions-inner {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  padding: 100px 40px;
}

.solutions-inner .section-title { color: var(--pure-white); }
.solutions-inner .section-subtitle { color: var(--silver); }

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.solution-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 32px;
  transition: all 0.3s ease;
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.solution-card:hover {
  background: rgba(212, 168, 67, 0.06);
  border-color: rgba(212, 168, 67, 0.2);
  transform: translateY(-2px);
}

.solution-num {
  font-family: var(--font-display);
  font-size: 28px;
  color: rgba(212, 168, 67, 0.3);
  line-height: 1;
  flex-shrink: 0;
  width: 36px;
}

.solution-card h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--pure-white);
  margin-bottom: 8px;
}

.solution-card p {
  font-size: 14px;
  color: var(--silver);
  line-height: 1.6;
}

/* ===== AGENTIC AI ===== */
.ai-section {
  background: linear-gradient(180deg, var(--white) 0%, var(--ice) 100%);
}

.ai-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 60px;
}

.ai-header .section-subtitle { margin-bottom: 0; }

.ai-visual {
  position: relative;
  background: var(--navy);
  border-radius: 16px;
  padding: 48px;
  overflow: hidden;
}

.ai-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 50%, rgba(26, 138, 125, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 70% 50%, rgba(212, 168, 67, 0.1) 0%, transparent 50%);
}

.ai-node-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.ai-node {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 20px 16px;
  text-align: center;
  transition: all 0.3s;
}

.ai-node:hover {
  background: rgba(212, 168, 67, 0.08);
  border-color: rgba(212, 168, 67, 0.3);
}

.ai-node-icon { font-size: 24px; margin-bottom: 8px; }

.ai-node-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--cloud);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.ai-center-node {
  background: rgba(212, 168, 67, 0.12);
  border-color: rgba(212, 168, 67, 0.3);
}

.ai-center-node .ai-node-label { color: var(--amber); }

.ai-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.ai-pillar {
  background: var(--pure-white);
  border: 1px solid var(--ice);
  border-radius: 12px;
  padding: 36px 28px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s;
}

.ai-pillar:hover {
  box-shadow: 0 8px 32px rgba(11, 29, 51, 0.08);
  transform: translateY(-3px);
}

.ai-pillar-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--teal);
  background: rgba(26, 138, 125, 0.08);
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.ai-pillar h3 {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--navy);
  margin-bottom: 12px;
  font-weight: 400;
}

.ai-pillar p {
  font-size: 14.5px;
  color: var(--steel);
  line-height: 1.65;
}

.ai-pillar ul {
  list-style: none;
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ai-pillar li {
  font-size: 13.5px;
  color: var(--steel);
  padding-left: 18px;
  position: relative;
}

.ai-pillar li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
  opacity: 0.5;
}

/* ===== SINGAPORE ===== */
.singapore-section {
  position: relative;
  background: var(--navy-mid);
  overflow: hidden;
}

.singapore-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 40% 60% at 75% 50%, rgba(212, 168, 67, 0.07) 0%, transparent 60%);
}

.singapore-inner {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  padding: 100px 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.singapore-inner .section-title { color: var(--pure-white); }

.singapore-text {
  font-size: 16px;
  color: var(--silver);
  line-height: 1.75;
  margin-bottom: 24px;
}

.location-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.location-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 28px 32px;
  display: flex;
  gap: 20px;
  align-items: center;
  transition: all 0.3s;
}

.location-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(212, 168, 67, 0.2);
}

.location-flag {
  font-size: 32px;
  flex-shrink: 0;
}

.location-info h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--pure-white);
  margin-bottom: 4px;
}

.location-info p {
  font-size: 13.5px;
  color: var(--silver);
  line-height: 1.5;
}

.location-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--amber);
  background: rgba(212, 168, 67, 0.12);
  padding: 3px 10px;
  border-radius: 100px;
  margin-top: 6px;
}

/* ===== INSIGHTS ===== */
.insights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.insight-card {
  background: var(--pure-white);
  border: 1px solid var(--ice);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s;
}

.insight-card:hover {
  box-shadow: 0 12px 40px rgba(11, 29, 51, 0.08);
  transform: translateY(-3px);
}

.insight-img {
  height: 200px;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

.insight-img-1 {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 50%, var(--teal) 100%);
}

.insight-img-2 {
  background: linear-gradient(135deg, var(--navy-mid) 0%, var(--navy-light) 60%, var(--amber) 100%);
}

.insight-img-3 {
  background: linear-gradient(135deg, var(--slate) 0%, var(--navy) 50%, var(--teal) 100%);
}

.insight-img-label {
  position: absolute;
  bottom: 12px;
  left: 12px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--pure-white);
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(8px);
  padding: 4px 12px;
  border-radius: 100px;
}

.insight-body {
  padding: 28px;
}

.insight-date {
  font-size: 12px;
  color: var(--silver);
  margin-bottom: 10px;
}

.insight-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--navy);
  margin-bottom: 10px;
  font-weight: 400;
  line-height: 1.3;
}

.insight-card p {
  font-size: 14px;
  color: var(--steel);
  line-height: 1.6;
}

/* ===== CTA BANNER ===== */
.cta-section {
  background: var(--amber);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.15) 0%, transparent 40%),
    radial-gradient(circle at 80% 50%, rgba(11, 29, 51, 0.1) 0%, transparent 40%);
}

.cta-inner {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  padding: 80px 40px;
  text-align: center;
}

.cta-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 40px);
  color: var(--navy);
  margin-bottom: 16px;
  font-weight: 400;
}

.cta-inner p {
  font-size: 17px;
  color: var(--navy-mid);
  margin-bottom: 36px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

.btn-dark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--navy);
  color: var(--pure-white);
  padding: 16px 40px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.5px;
  transition: all 0.25s ease;
}

.btn-dark:hover {
  background: var(--navy-mid);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(11, 29, 51, 0.3);
}

/* ===== FOOTER ===== */
footer {
  background: var(--navy);
  color: var(--silver);
  border-top: 1px solid rgba(212, 168, 67, 0.1);
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 32px 40px 24px;
}

.footer-top {
  margin-bottom: 20px;
}

.footer-brand .logo-mark {
  font-size: 16px;
  margin-bottom: 10px;
  display: block;
}

.footer-brand p {
  font-size: 13px;
  line-height: 1.6;
  color: var(--steel);
  max-width: 480px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 12px;
  color: var(--steel);
}

.footer-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-nav a {
  font-size: 12px;
  color: var(--steel);
  text-decoration: none;
  transition: color 0.2s;
}

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

.footer-sep {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.2);
}

.footer-legal {
  display: flex;
  gap: 20px;
}

.footer-legal a {
  font-size: 12px;
  color: var(--steel);
  text-decoration: none;
  transition: color 0.2s;
}

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

/* ===== PAGE MARKER (demo label) ===== */
.page-marker {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: var(--navy);
  color: var(--amber);
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border: 1px solid rgba(212, 168, 67, 0.3);
  z-index: 2000;
  pointer-events: none;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero-content { grid-template-columns: 1fr; gap: 48px; }
  .hero-stats { grid-template-columns: repeat(4, 1fr); }
  .industries-grid { grid-template-columns: repeat(2, 1fr); }
  .industries-grid--primary { grid-template-columns: repeat(3, 1fr); }
  .industries-grid--secondary { grid-template-columns: repeat(3, 1fr); }
  .solutions-grid { grid-template-columns: 1fr; }
  .ai-header { grid-template-columns: 1fr; }
  .singapore-inner { grid-template-columns: 1fr; }
  .insights-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .value-strip-inner { grid-template-columns: repeat(2, 1fr); }
  .industries-grid { grid-template-columns: 1fr; }
  .industries-grid--primary { grid-template-columns: repeat(2, 1fr); }
  .industries-grid--secondary { grid-template-columns: repeat(2, 1fr); }
  .ai-pillars { grid-template-columns: 1fr; }
  .ai-node-grid { grid-template-columns: repeat(2, 1fr); }
  .insights-grid { grid-template-columns: 1fr; }
}
/* ===== OUR APPROACH ===== */
.approach-section {
  background: var(--white);
  border-top: 1px solid var(--ice);
  border-bottom: 1px solid var(--ice);
}

.approach-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 100px 40px;
}

.approach-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  margin-bottom: 64px;
}

.approach-header .section-subtitle { margin-bottom: 0; }

.approach-problem {
  background: var(--ice);
  border-radius: 12px;
  padding: 32px;
  border-left: 3px solid var(--amber);
}

.approach-problem h3 {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--navy);
  font-weight: 400;
  margin-bottom: 14px;
}

.approach-problem p {
  font-size: 14.5px;
  color: var(--steel);
  line-height: 1.7;
  margin-bottom: 12px;
}

.approach-problem p:last-child { margin-bottom: 0; }

.approach-callout {
  display: inline-block;
  background: rgba(212, 168, 67, 0.1);
  border: 1px solid rgba(212, 168, 67, 0.25);
  border-radius: 6px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  margin-top: 14px;
}

/* Process stages */
.process-stages {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--ice);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 40px;
}

.process-stage {
  padding: 32px 28px;
  border-right: 1px solid var(--ice);
  position: relative;
  transition: background 0.3s;
}

.process-stage:last-child { border-right: none; }

.process-stage:hover { background: rgba(212, 168, 67, 0.03); }

.process-stage::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.process-stage:hover::before { transform: scaleX(1); }

.stage-num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 12px;
}

.stage-title {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--navy);
  font-weight: 400;
  margin-bottom: 12px;
  line-height: 1.3;
}

.stage-body {
  font-size: 13.5px;
  color: var(--steel);
  line-height: 1.65;
}

.process-footnote {
  display: flex;
  gap: 24px;
  margin-bottom: 64px;
  flex-wrap: wrap;
}

.footnote-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  flex: 1;
  min-width: 260px;
  background: var(--ice);
  border-radius: 10px;
  padding: 20px 22px;
}

.footnote-icon {
  font-size: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}

.footnote-text {
  font-size: 13.5px;
  color: var(--steel);
  line-height: 1.6;
}

.footnote-text strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 4px;
}

/* Sector grid */
.approach-sectors {
  margin-bottom: 64px;
}

.approach-sectors h3 {
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--navy);
  font-weight: 400;
  margin-bottom: 8px;
}

.approach-sectors .section-subtitle {
  margin-bottom: 28px;
  font-size: 15px;
}

.sector-label-sm {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 12px;
}

.sector-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.stag {
  font-size: 13px;
  padding: 7px 16px;
  border-radius: 100px;
  border: 1px solid var(--ice);
  color: var(--steel);
  background: var(--white);
  transition: all 0.2s;
}

.stag:hover { border-color: var(--amber); color: var(--navy); }

.stag.lead {
  background: var(--navy);
  color: var(--cloud);
  border-color: var(--navy);
  font-weight: 500;
}

/* Case study */
.approach-case {
  background: var(--navy);
  border-radius: 12px;
  padding: 48px;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 64px;
  position: relative;
  overflow: hidden;
}

.approach-case::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 80% at 0% 50%, rgba(26,58,92,0.8) 0%, transparent 70%);
}

.case-sidebar {
  position: relative;
}

.case-sidebar .section-label { color: var(--amber); margin-bottom: 16px; }

.case-sidebar h3 {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--pure-white);
  font-weight: 400;
  line-height: 1.3;
  margin-bottom: 0;
}

.case-content {
  position: relative;
}

.case-content p {
  font-size: 15px;
  color: var(--silver);
  line-height: 1.75;
  margin-bottom: 20px;
}

.case-content p:last-child { margin-bottom: 0; }

.case-result {
  display: flex;
  gap: 24px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.result-stat {
  text-align: center;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 18px 24px;
  flex: 1;
  min-width: 120px;
}

.result-num {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--amber);
  line-height: 1;
  margin-bottom: 4px;
}

.result-label {
  font-size: 12px;
  color: var(--silver);
  line-height: 1.4;
}

/* Geo markets */
.approach-geo h3 {
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--navy);
  font-weight: 400;
  margin-bottom: 8px;
}

.approach-geo .section-subtitle {
  font-size: 15px;
  margin-bottom: 28px;
}

.geo-markets {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.geo-market-card {
  background: var(--white);
  border: 1px solid var(--ice);
  border-radius: 10px;
  padding: 20px 18px;
  transition: all 0.3s;
  cursor: default;
}

.geo-market-card:hover {
  border-color: rgba(212,168,67,0.3);
  box-shadow: 0 4px 20px rgba(11,29,51,0.08);
  transform: translateY(-2px);
}

.geo-flag { font-size: 24px; margin-bottom: 10px; }

.geo-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 4px;
}

.geo-depth-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 8px;
}

.geo-desc {
  font-size: 12px;
  color: var(--steel);
  line-height: 1.5;
}
/* ===== ABOUT SECTION ===== */
.about-section {
  background: var(--white);
  border-top: 1px solid var(--ice);
}

.about-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 100px 40px;
}

.about-hero-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  margin-bottom: 80px;
  padding-bottom: 80px;
  border-bottom: 1px solid var(--ice);
}

.about-hero-text .section-title {
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.15;
  margin-bottom: 0;
}

.about-lead {
  font-size: 17px;
  line-height: 1.75;
  color: var(--steel);
  margin-bottom: 20px;
}

.about-lead:last-child { margin-bottom: 0; }

/* Difference block */
.about-difference {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  margin-bottom: 80px;
  padding-bottom: 80px;
  border-bottom: 1px solid var(--ice);
}

.about-h3 {
  font-family: var(--font-display);
  font-size: 26px;
  color: var(--navy);
  font-weight: 400;
  margin-bottom: 20px;
  line-height: 1.25;
}

.about-diff-text p {
  font-size: 15px;
  color: var(--steel);
  line-height: 1.75;
  margin-bottom: 16px;
}

.about-diff-text p:last-child { margin-bottom: 0; }

.about-diff-pillars {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.about-pillar {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--ice);
  border-radius: 10px;
  padding: 20px 22px;
  transition: all 0.25s ease;
}

.about-pillar:hover {
  background: rgba(212, 168, 67, 0.06);
  box-shadow: 0 2px 16px rgba(11,29,51,0.06);
}

.pillar-icon {
  font-size: 22px;
  flex-shrink: 0;
  margin-top: 1px;
}

.pillar-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 5px;
}

.pillar-body {
  font-size: 13.5px;
  color: var(--steel);
  line-height: 1.6;
}

/* Who we work with */
.about-fit {
  /* no extra padding needed */
}

.about-fit-header {
  margin-bottom: 36px;
}

.about-fit-intro {
  font-size: 16px;
  color: var(--steel);
  max-width: 600px;
  line-height: 1.7;
  margin-top: 12px;
  margin-bottom: 0;
}

.about-fit-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

.about-fit-card {
  background: var(--white);
  border: 1px solid var(--ice);
  border-radius: 12px;
  padding: 28px 24px;
  position: relative;
  transition: all 0.3s ease;
  overflow: hidden;
}

.about-fit-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.about-fit-card:hover {
  border-color: transparent;
  box-shadow: 0 8px 32px rgba(11,29,51,0.09);
  transform: translateY(-3px);
}

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

.fit-num {
  font-family: var(--font-display);
  font-size: 32px;
  color: var(--amber);
  line-height: 1;
  margin-bottom: 12px;
}

.fit-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 10px;
}

.fit-body {
  font-size: 13.5px;
  color: var(--steel);
  line-height: 1.65;
}

.about-fit-note {
  background: var(--navy);
  border-radius: 10px;
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.about-fit-note span {
  font-size: 15px;
  color: var(--silver);
  line-height: 1.6;
  flex: 1;
}



/* ===== PROJECT EXPERIENCE TABLE ===== */
.proj-table-wrap {
  margin-top: 40px;
  overflow-x: auto;
  border-radius: 12px;
  border: 1px solid var(--ice);
}
.proj-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}
.proj-table thead tr { background: var(--navy); }
.proj-table thead th {
  padding: 14px 20px;
  text-align: left;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--amber);
  white-space: nowrap;
}
.proj-table tbody tr {
  border-bottom: 1px solid var(--ice);
  transition: background 0.15s;
}
.proj-table tbody tr:last-child { border-bottom: none; }
.proj-table tbody tr:hover { background: var(--cloud); }
.proj-table td {
  padding: 13px 20px;
  vertical-align: top;
  line-height: 1.5;
  color: var(--navy);
}
.proj-table td.pt-app { font-weight: 600; width: 24%; }
.proj-table td.pt-sector { width: 38%; color: var(--steel); }
.proj-table td.pt-region { width: 38%; color: var(--steel); }

/* ===== INSIGHTS DYNAMIC ===== */
.insight-img-link { display: block; text-decoration: none; }

.insight-card h3 a {
  color: var(--navy);
  text-decoration: none;
}
.insight-card h3 a:hover { color: var(--teal); }

.insight-read-more {
  display: inline-block;
  margin-top: 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--teal);
  text-decoration: none;
  letter-spacing: 0.03em;
}
.insight-read-more:hover { color: var(--navy); }

.insights-footer {
  text-align: center;
  margin-top: 40px;
}

/* ===== ARCHIVE PAGE ===== */
.archive-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}

.archive-cat-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--steel);
  text-decoration: none;
  padding: 6px 16px;
  border: 1px solid var(--ice);
  border-radius: 100px;
  transition: all 0.2s;
}

.archive-cat-link:hover,
.archive-cat-link.active {
  background: var(--navy);
  color: var(--pure-white);
  border-color: var(--navy);
}

.archive-pagination {
  margin-top: 48px;
  display: flex;
  justify-content: center;
}

.archive-pagination .nav-links {
  display: flex;
  gap: 8px;
}

.archive-pagination .page-numbers {
  padding: 8px 14px;
  border: 1px solid var(--ice);
  border-radius: 6px;
  color: var(--navy);
  text-decoration: none;
  font-size: 14px;
}

.archive-pagination .page-numbers.current,
.archive-pagination .page-numbers:hover {
  background: var(--navy);
  color: var(--pure-white);
  border-color: var(--navy);
}

/* ===== SINGLE POST ===== */
.single-post-wrap {
  padding-top: 80px;
}

.single-post-header {
  background: var(--navy);
  padding: 80px 40px 60px;
}

.single-post-header-inner {
  max-width: 860px;
  margin: 0 auto;
}

.single-post-cat {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 16px;
}

.single-post-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 44px);
  color: var(--pure-white);
  line-height: 1.2;
  margin-bottom: 20px;
  font-weight: 400;
}

.single-post-meta {
  display: flex;
  gap: 24px;
  font-size: 13px;
  color: rgba(255,255,255,0.6);
}

.single-post-hero-img {
  margin-top: 40px;
  border-radius: 12px;
  overflow: hidden;
}

.single-post-hero-img img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.single-post-content-wrap {
  max-width: 860px;
  margin: 0 auto;
  padding: 60px 40px;
}

.single-post-content {
  font-size: 16px;
  line-height: 1.8;
  color: var(--navy);
}

.single-post-content h2 {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--navy);
  margin: 40px 0 16px;
  font-weight: 400;
}

.single-post-content h3 {
  font-size: 20px;
  color: var(--navy);
  margin: 32px 0 12px;
}

.single-post-content p {
  margin-bottom: 20px;
  color: var(--steel);
}

.single-post-content ul,
.single-post-content ol {
  margin: 0 0 20px 24px;
  color: var(--steel);
}

.single-post-content li {
  margin-bottom: 8px;
  line-height: 1.7;
}

.single-post-content blockquote {
  border-left: 3px solid var(--amber);
  padding: 16px 24px;
  margin: 32px 0;
  background: var(--cloud);
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: var(--navy);
}

.single-post-back {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--ice);
}

/* ===== COMPREHENSIVE MOBILE OPTIMISATION ===== */

/* ── 480px and below — phones ─────────────────────────────────────────────── */
@media (max-width: 480px) {

  /* General spacing */
  .section { padding: 60px 20px; }
  .section-title { font-size: 28px; }
  .section-subtitle { font-size: 14px; }

  /* Nav */
  nav { padding: 0 20px; }
  .nav-inner { height: 60px; }
  .logo-mark { font-size: 14px; }
  .nav-cta { display: none; }

  /* Hero */
  .hero { padding: 100px 20px 60px; }
  .hero-content { grid-template-columns: 1fr; gap: 32px; }
  .hero h1 { font-size: clamp(28px, 8vw, 38px); }
  .hero-text { font-size: 14px; }
  .hero-buttons { flex-direction: column; gap: 12px; }
  .hero-buttons a { width: 100%; text-align: center; }
  .hero-badge { font-size: 11px; }
  .hero-stats-row { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .stat-pill { padding: 10px; }
  .stat-num-sm { font-size: 20px; }
  .hero-visual-block { display: none; }

  /* Value strip */
  .value-strip { padding: 24px 20px; }
  .value-strip-inner { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .value-text { font-size: 11px; }
  .value-icon { font-size: 20px; }

  /* About */
  .about-inner { padding: 60px 20px; }
  .about-hero-row { grid-template-columns: 1fr; gap: 24px; }
  .about-hero-text .section-title { font-size: 26px; }
  .about-difference { grid-template-columns: 1fr; gap: 32px; }
  .about-diff-pillars { grid-template-columns: 1fr; }
  .about-fit-grid { grid-template-columns: 1fr; }
  .about-fit-note { flex-direction: column; gap: 16px; }
  .about-fit-note .btn-primary { width: 100%; text-align: center; }

  /* Approach */
  .approach-inner { padding: 60px 20px; }
  .approach-header { grid-template-columns: 1fr; gap: 32px; }
  .process-stages { grid-template-columns: 1fr; }
  .process-stage { border-right: none; border-bottom: 1px solid var(--ice); }
  .process-stage:last-child { border-bottom: none; }
  .process-footnote { grid-template-columns: 1fr; gap: 16px; }
  .sector-tags { gap: 8px; }
  .stag { font-size: 11px; padding: 5px 10px; }
  .approach-case { grid-template-columns: 1fr; gap: 24px; }
  .case-result { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .geo-markets { grid-template-columns: 1fr; }

  /* Industries */
  .industries-grid--primary { grid-template-columns: 1fr; }
  .industries-grid--secondary { grid-template-columns: 1fr; }
  .industries-subsection-header { flex-wrap: wrap; gap: 8px; }
  .industry-card { min-height: 180px; }

  /* Solutions */
  .solutions-inner { padding: 60px 20px; }
  .solutions-grid { grid-template-columns: 1fr; }
  .solution-card { padding: 24px; }

  /* Project experience table */
  .proj-table-wrap { border-radius: 8px; }
  .proj-table { font-size: 12px; }
  .proj-table thead th { padding: 10px 12px; font-size: 10px; }
  .proj-table td { padding: 10px 12px; }
  .proj-table td.pt-app { font-size: 12px; }
  .proj-table td.pt-sector,
  .proj-table td.pt-region { font-size: 11px; }

  /* Insights */
  .insights-grid { grid-template-columns: 1fr; }
  .insight-img { height: 160px; }
  .insight-body { padding: 20px; }
  .insight-card h3 { font-size: 17px; }
  .insights-footer { margin-top: 24px; }

  /* CTA */
  .cta-inner { padding: 60px 20px; }
  .cta-inner h2 { font-size: 26px; }

  /* Footer */
  .footer-inner { padding: 24px 20px 16px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 10px; }
  .footer-nav { flex-wrap: wrap; }
  .footer-legal { flex-wrap: wrap; gap: 12px; }

  /* Single post */
  .single-post-header { padding: 100px 20px 40px; }
  .single-post-content-wrap { padding: 40px 20px; }
  .single-post-title { font-size: 26px; }
}

/* ── 768px and below — tablets ────────────────────────────────────────────── */
@media (max-width: 768px) {

  /* Mobile hamburger menu */
  .nav-links { display: none; }

  .mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    background: none;
    border: none;
  }

  .mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--pure-white);
    transition: all 0.3s;
  }

  .mobile-nav-open .nav-links {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--navy);
    padding: 24px 20px;
    gap: 0;
    z-index: 999;
    border-top: 1px solid rgba(255,255,255,0.1);
  }

  .mobile-nav-open .nav-links li { border-bottom: 1px solid rgba(255,255,255,0.08); }
  .mobile-nav-open .nav-links a { display: block; padding: 14px 0; font-size: 15px; }
  .mobile-nav-open .nav-links .nav-cta { display: block; margin-top: 12px; text-align: center; }

  /* About */
  .about-hero-row { grid-template-columns: 1fr; gap: 32px; }
  .about-difference { grid-template-columns: 1fr; }
  .about-diff-pillars { grid-template-columns: 1fr; }
  .about-fit-grid { grid-template-columns: repeat(2, 1fr); }

  /* Approach */
  .approach-header { grid-template-columns: 1fr; gap: 32px; }
  .process-stages { grid-template-columns: repeat(2, 1fr); }
  .approach-case { grid-template-columns: 1fr; }
  .case-result { grid-template-columns: repeat(2, 1fr); }

  /* Industries */
  .industries-grid--primary { grid-template-columns: repeat(2, 1fr); }
  .industries-grid--secondary { grid-template-columns: repeat(2, 1fr); }
}

/* ===== PAGE TEMPLATES ===== */
.page-main { padding-top: 0px; }

.page-hero {
  background: var(--navy);
  padding: 80px 40px 60px;
  border-bottom: 1px solid rgba(212, 168, 67, 0.2);
}

.page-hero-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.page-hero-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 52px);
  color: var(--pure-white);
  line-height: 1.15;
  font-weight: 400;
  margin-top: 16px;
}

/* ===== CONTACT PAGE ===== */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
  margin-top: 40px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 40px;
}

.contact-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  font-size: 15px;
  color: var(--steel);
  line-height: 1.6;
}

.contact-detail-item a {
  color: var(--teal);
  text-decoration: none;
}

.contact-detail-icon {
  font-size: 20px;
  margin-top: 2px;
  flex-shrink: 0;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: var(--pure-white);
  border: 1px solid var(--ice);
  border-radius: 16px;
  padding: 40px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.02em;
}

.form-group input,
.form-group textarea {
  padding: 12px 16px;
  border: 1px solid var(--ice);
  border-radius: 8px;
  font-size: 14px;
  font-family: var(--font-body);
  color: var(--navy);
  background: var(--cloud);
  transition: border-color 0.2s;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--teal);
  background: var(--pure-white);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--steel);
  opacity: 0.6;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-success {
  background: var(--pure-white);
  border: 1px solid var(--ice);
  border-radius: 16px;
  padding: 60px 40px;
  text-align: center;
}

.contact-success-icon { font-size: 40px; margin-bottom: 16px; }
.contact-success h3 { font-family: var(--font-display); font-size: 24px; color: var(--navy); margin-bottom: 12px; font-weight: 400; }
.contact-success p { color: var(--steel); font-size: 15px; }

.contact-error {
  background: rgba(220, 50, 50, 0.08);
  border: 1px solid rgba(220, 50, 50, 0.2);
  border-radius: 8px;
  padding: 14px 18px;
  font-size: 14px;
  color: #c00;
  margin-bottom: 8px;
}

@media (max-width: 768px) {
  .page-hero { padding: 100px 20px 48px; }
  .contact-wrap { grid-template-columns: 1fr; gap: 40px; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 24px; }
}

/* ===== HOMEPAGE — STATS ROW ===== */
.hp-stats-section {
  background: var(--navy);
  border-top: 1px solid rgba(212, 168, 67, 0.2);
  border-bottom: 1px solid rgba(212, 168, 67, 0.2);
  padding: 48px 40px;
}

.hp-stats-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.hp-stat {
  flex: 1;
  text-align: center;
  padding: 0 40px;
}

.hp-stat-num {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 56px);
  color: var(--amber);
  line-height: 1;
  margin-bottom: 8px;
}

.hp-stat-label {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  font-weight: 500;
  letter-spacing: 0.03em;
}

.hp-stat-divider {
  width: 1px;
  height: 60px;
  background: rgba(212, 168, 67, 0.2);
  flex-shrink: 0;
}

/* ===== HOMEPAGE — WHY TEXACAL ===== */
.hp-why-section {
  background: var(--pure-white);
  padding: 100px 40px;
}

.hp-why-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.hp-why-points {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 32px;
}

.hp-why-point {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.hp-why-icon {
  font-size: 22px;
  flex-shrink: 0;
  margin-top: 2px;
}

.hp-why-point strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 4px;
}

.hp-why-point p {
  font-size: 14px;
  color: var(--steel);
  line-height: 1.6;
  margin: 0;
}

/* Twin images */
.hp-why-images {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 16px;
  height: 560px;
}

.hp-twin-img {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: var(--navy);
  background-size: cover;
  background-position: center;
}

.hp-twin-img--top {
  background-image: url('');
  background-color: #132B4A;
}

.hp-twin-img--bottom {
  background-image: url('');
  background-color: #1A3A5C;
}

.hp-twin-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11,29,51,0.8) 0%, rgba(11,29,51,0.2) 60%);
  display: flex;
  align-items: flex-end;
  padding: 20px 24px;
}

.hp-twin-img-overlay span {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--amber);
}

/* ===== HOMEPAGE — MARKETS SNAPSHOT ===== */
.hp-markets-section {
  background: var(--navy);
  padding: 20px 40px 32px;
}

.hp-markets-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.hp-markets-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 48px;
}

.hp-markets-grid {
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  gap: 10px;
}

.hp-market-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 16px 10px;
  text-align: center;
  transition: background 0.2s;
}

.hp-market-card:hover {
  background: rgba(255,255,255,0.08);
}

.hp-market-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--pure-white);
  margin-bottom: 8px;
}

.hp-market-depth {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 20px;
  display: inline-block;
}

.depth-deep {
  background: rgba(29, 158, 117, 0.2);
  color: #5DCAA5;
}

.depth-established {
  background: rgba(212, 168, 67, 0.15);
  color: var(--amber);
}

.depth-selective {
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.5);
}

/* ===== RESPONSIVE — HOMEPAGE SECTIONS ===== */
@media (max-width: 1024px) {
  .hp-markets-grid { grid-template-columns: repeat(3, 1fr); }
  .hp-why-inner { grid-template-columns: 1fr; gap: 48px; }
  .hp-why-images { height: 400px; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr; }
}

@media (max-width: 768px) {
  .hp-stats-inner { flex-wrap: wrap; gap: 32px; }
  .hp-stat { flex: 0 0 calc(50% - 16px); }
  .hp-stat-divider { display: none; }
  .hp-stats-section { padding: 40px 20px; }
  .hp-why-section { padding: 60px 20px; }
  .hp-markets-section { padding: 60px 20px; }
  .hp-markets-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .hp-markets-header { flex-direction: column; align-items: flex-start; gap: 20px; }
  .hp-why-images { height: 280px; }
}

@media (max-width: 480px) {
  .hp-markets-grid { grid-template-columns: repeat(2, 1fr); }
  .hp-why-images { grid-template-columns: 1fr; grid-template-rows: 1fr 1fr; height: 360px; }
}
/* ===== DIFFERENTIATORS STRIP ===== */
.hp-diff-section {
  background: var(--navy);
  border-top: 1px solid rgba(212, 168, 67, 0.2);
  border-bottom: 1px solid rgba(212, 168, 67, 0.2);
  padding: 16px 40px;
}

.hp-diff-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 0;
}

.hp-diff-item {
  flex: 1;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 0 20px;
}

.hp-diff-icon {
  font-size: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}
.hp-diff-text {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.hp-diff-text strong {
  font-size: 13px;
  font-weight: 700;
  color: var(--amber);
  line-height: 1.3;
}

.hp-diff-text span {
  font-size: 12px;
  color: rgba(255,255,255,0.65);
  line-height: 1.4;
}

.hp-diff-divider {
  width: 1px;
  height: 70px;
  background: rgba(212, 168, 67, 0.2);
  flex-shrink: 0;
}

@media (max-width: 1024px) {
  .hp-diff-inner { flex-wrap: wrap; gap: 32px; }
  .hp-diff-item { flex: 0 0 calc(50% - 16px); padding: 0; }
  .hp-diff-divider { display: none; }
}

@media (max-width: 480px) {
  .hp-diff-section { padding: 40px 20px; }
  .hp-diff-item { flex: 0 0 100%; }
}
/* ===== INDUSTRY CARD IMAGE OVERLAY ===== */
.industry-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(11, 29, 51, 0.2) 0%,
    rgba(11, 29, 51, 0.75) 50%,
    rgba(11, 29, 51, 0.95) 100%
  );
  border-radius: 12px;
  z-index: 1;
}

.industry-card h3,
.industry-card p {
  position: relative;
  z-index: 2;
  color: var(--pure-white);
}

.industry-card h3 {
  color: var(--pure-white);
  margin-bottom: 8px;
}

.industry-card p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
  line-height: 1.5;
}

/* ===== ABOUT FIT CTA PANEL ===== */
.about-fit-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  background: var(--navy);
  border-radius: 12px;
  padding: 32px 40px;
  margin-top: 32px;
}

.about-fit-cta-text {
  font-family: var(--font-display);
  font-size: 22px;
  font-style: italic;
  color: var(--amber);
  line-height: 1.5;
  flex: 1;
}

@media (max-width: 768px) {
  .about-fit-cta { flex-direction: column; align-items: flex-start; gap: 20px; padding: 24px; }
  .about-fit-cta-text { font-size: 18px; }
  .about-fit-cta .btn-primary { width: 100%; text-align: center; }
}
/* ===== COMPACT CTA STRIP ===== */
.compact-cta-section {
  background: var(--navy);
  border-top: 1px solid rgba(212, 168, 67, 0.2);
  padding: 32px 0;
}

.compact-cta-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.compact-cta-text {
  font-family: var(--font-display);
  font-size: 22px;
  font-style: italic;
  color: var(--amber);
  line-height: 1.4;
  flex: 1;
}

/* ===== ABOUT FIT CTA PANEL ===== */
.about-fit-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  background: var(--navy);
  border-radius: 12px;
  padding: 32px 40px;
  margin-top: 32px;
}

.about-fit-cta-text {
  font-family: var(--font-display);
  font-size: 22px;
  font-style: italic;
  color: var(--amber);
  line-height: 1.5;
  flex: 1;
}

@media (max-width: 768px) {
  .compact-cta-section { padding: 28px 0; }
  .compact-cta-inner { flex-direction: column; align-items: flex-start; gap: 20px; padding: 0 20px; }
  .compact-cta-text { font-size: 18px; }
  .compact-cta-inner .btn-primary { width: 100%; text-align: center; }
  .about-fit-cta { flex-direction: column; align-items: flex-start; gap: 20px; padding: 24px; }
  .about-fit-cta-text { font-size: 18px; }
  .about-fit-cta .btn-primary { width: 100%; text-align: center; }
}
/* ===== SITE LOGO ===== */
.site-logo {
  height: 36px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  display: block;
}

@media (max-width: 768px) {
  .site-logo {
    height: 28px;
    max-width: 120px;
  }
}

/* =============================================================
   INSIGHTS LISTING PAGE  (page-insights.php)
   ============================================================= */

/* Hero band */
.insights-hero {
  background: var(--navy);
  color: var(--pure-white);
  padding: 120px 40px 72px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.insights-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 50% 60%, rgba(26, 58, 92, 0.6) 0%, transparent 70%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-mid) 50%, var(--navy) 100%);
}

.insights-hero-inner {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
}

.insights-hero .section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 16px;
}

.insights-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  color: var(--pure-white);
  margin: 0 0 20px;
  line-height: 1.15;
}

.insights-hero-subtitle {
  font-size: 1.05rem;
  color: var(--silver);
  line-height: 1.7;
  max-width: 580px;
  margin: 0 auto;
}

/* Listing section */
.insights-listing {
  padding: 72px 40px 100px;
  background: var(--white);
}

.insights-listing-inner {
  max-width: 1280px;
  margin: 0 auto;
}

/* Grid — matches existing .insights-grid pattern in the codebase */
.insights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

/* Card */
.insight-card {
  background: var(--pure-white);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--ice);
  box-shadow: 0 2px 16px rgba(11, 29, 51, 0.06);
  transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.insight-card:hover {
  box-shadow: 0 12px 40px rgba(11, 29, 51, 0.12);
  transform: translateY(-4px);
  border-color: rgba(212, 168, 67, 0.3);
}

/* Card image */
.insight-card-img-link {
  display: block;
  text-decoration: none;
}

.insight-card-img {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--navy-mid);
}

.insight-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.insight-card:hover .insight-card-img img {
  transform: scale(1.05);
}

.insight-card-img-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
}

/* Card body */
.insight-card-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.insight-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.insight-card-cat {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--amber);
  background: rgba(212, 168, 67, 0.1);
  border: 1px solid rgba(212, 168, 67, 0.2);
  padding: 3px 10px;
  border-radius: 100px;
}

.insight-card-date {
  font-size: 12px;
  color: var(--steel);
  font-weight: 400;
}

.insight-card-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1.3;
  margin: 0 0 12px;
}

.insight-card-title a {
  color: var(--navy);
  text-decoration: none;
  transition: color 0.2s;
}

.insight-card-title a:hover {
  color: var(--amber);
}

.insight-card-excerpt {
  font-size: 14px;
  color: var(--steel);
  line-height: 1.65;
  margin: 0 0 24px;
  flex: 1;
}

.insight-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  letter-spacing: 0.03em;
  margin-top: auto;
  transition: color 0.2s;
}

.insight-card-link:hover {
  color: var(--amber);
}

/* Pagination */
.insights-pagination {
  margin-top: 64px;
  text-align: center;
}

.insights-pagination ul {
  display: inline-flex;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
  justify-content: center;
}

.insights-pagination ul li a,
.insights-pagination ul li span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  padding: 9px 16px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  color: var(--navy);
  border: 1px solid var(--cloud);
  background: var(--pure-white);
  transition: all 0.2s;
}

.insights-pagination ul li a:hover {
  background: var(--navy);
  color: var(--pure-white);
  border-color: var(--navy);
}

.insights-pagination ul li span.current {
  background: var(--navy);
  color: var(--pure-white);
  border-color: var(--navy);
}

/* Empty state */
.insights-empty {
  text-align: center;
  padding: 100px 24px;
  color: var(--steel);
}

.insights-empty p {
  font-size: 1.05rem;
  margin-bottom: 28px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

/* =============================================================
   INSIGHTS — RESPONSIVE
   ============================================================= */

@media (max-width: 1024px) {
  .insights-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .insights-listing {
    padding: 56px 24px 80px;
  }
}

@media (max-width: 640px) {
  .insights-hero {
    padding: 100px 24px 56px;
  }
  .insights-grid {
    grid-template-columns: 1fr;
  }
  .insights-listing {
    padding: 48px 20px 72px;
  }
}


/* =============================================================
   SINGLE POST  (single.php)
   ============================================================= */

.single-post-wrap {
  background: var(--white);
}

/* Header hero band */
.single-post-header {
  background: var(--navy);
  color: var(--pure-white);
  padding: 120px 40px 56px;
  position: relative;
  overflow: hidden;
}

.single-post-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-mid) 60%, var(--navy) 100%);
}

.single-post-header-inner {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
}

.single-post-cat {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--amber);
  background: rgba(212, 168, 67, 0.12);
  border: 1px solid rgba(212, 168, 67, 0.25);
  padding: 4px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.single-post-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 400;
  color: var(--pure-white);
  line-height: 1.2;
  margin: 0 0 24px;
}

.single-post-meta {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 13px;
  color: var(--silver);
}

.single-post-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.single-post-hero-img {
  margin-top: 40px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(212, 168, 67, 0.15);
  box-shadow: 0 24px 80px rgba(11, 29, 51, 0.5);
}

.single-post-hero-img img {
  width: 100%;
  height: auto;
  display: block;
}

/* Content area */
.single-post-content-wrap {
  max-width: 860px;
  margin: 0 auto;
  padding: 64px 40px 100px;
}

.single-post-content {
  background: var(--pure-white);
  border-radius: 12px;
  padding: 56px;
  box-shadow: 0 2px 20px rgba(11, 29, 51, 0.07);
  border: 1px solid var(--ice);
  font-size: 16px;
  line-height: 1.8;
  color: var(--slate);
}

.single-post-content h2,
.single-post-content h3,
.single-post-content h4 {
  font-family: var(--font-display);
  color: var(--navy);
  margin-top: 2em;
  margin-bottom: 0.6em;
  font-weight: 400;
  line-height: 1.25;
}

.single-post-content h2 { font-size: 1.65rem; }
.single-post-content h3 { font-size: 1.3rem; }
.single-post-content h4 { font-size: 1.1rem; font-weight: 600; }

.single-post-content p {
  margin-bottom: 1.5em;
}

.single-post-content a {
  color: var(--amber);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.single-post-content a:hover {
  color: var(--amber-light);
}

.single-post-content ul,
.single-post-content ol {
  padding-left: 1.6em;
  margin-bottom: 1.5em;
}

.single-post-content li {
  margin-bottom: 0.6em;
}

.single-post-content blockquote {
  border-left: 3px solid var(--amber);
  margin: 2.5em 0;
  padding: 1.2em 1.8em;
  background: var(--white);
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: var(--steel);
  font-size: 1.05em;
}

.single-post-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 1.5em 0;
}

.single-post-content hr {
  border: none;
  border-top: 1px solid var(--ice);
  margin: 2.5em 0;
}

/* Back link */
.single-post-back {
  margin-top: 40px;
}

/* =============================================================
   SINGLE POST — RESPONSIVE
   ============================================================= */

@media (max-width: 1024px) {
  .single-post-header {
    padding: 100px 24px 48px;
  }
  .single-post-content-wrap {
    padding: 48px 24px 80px;
  }
}

@media (max-width: 640px) {
  .single-post-header {
    padding: 90px 20px 40px;
  }
  .single-post-content {
    padding: 32px 24px;
  }
  .single-post-content-wrap {
    padding: 36px 20px 64px;
  }
  .single-post-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}


/* =============================================================
   LEGAL PAGES  (page-legal.php)
   ============================================================= */

.legal-page {
  background: var(--white);
}

/* Hero band */
.legal-hero {
  background: var(--navy);
  padding: 120px 40px 64px;
  position: relative;
  overflow: hidden;
}

.legal-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-mid) 60%, var(--navy) 100%);
}

.legal-hero-inner {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
}

.legal-hero .section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 16px;
}

.legal-hero-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 400;
  color: var(--pure-white);
  line-height: 1.2;
  margin: 0 0 20px;
}

.legal-hero-intro {
  font-size: 1rem;
  color: var(--silver);
  line-height: 1.7;
  max-width: 640px;
  margin: 0 0 24px;
}

/* Last updated badge */
.legal-last-updated {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(212, 168, 67, 0.1);
  border: 1px solid rgba(212, 168, 67, 0.25);
  border-radius: 100px;
  padding: 6px 16px;
}

.legal-updated-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--amber);
}

.legal-updated-date {
  font-size: 13px;
  font-weight: 500;
  color: var(--pure-white);
}

/* Content section */
.legal-content-section {
  padding: 64px 40px 100px;
}

.legal-content-wrap {
  max-width: 860px;
  margin: 0 auto;
}

/* Policy content card */
.legal-content {
  background: var(--pure-white);
  border-radius: 12px;
  padding: 56px;
  box-shadow: 0 2px 20px rgba(11, 29, 51, 0.07);
  border: 1px solid var(--ice);
  font-size: 15px;
  line-height: 1.8;
  color: var(--slate);
}

.legal-content h2,
.legal-content h3,
.legal-content h4 {
  font-family: var(--font-display);
  color: var(--navy);
  font-weight: 400;
  line-height: 1.25;
  margin-top: 2em;
  margin-bottom: 0.6em;
}

.legal-content h2 { font-size: 1.4rem; }
.legal-content h3 { font-size: 1.15rem; font-weight: 600; font-family: var(--font-body); }
.legal-content h4 { font-size: 1rem; font-weight: 600; font-family: var(--font-body); color: var(--steel); }

.legal-content p {
  margin-bottom: 1.4em;
}

.legal-content a {
  color: var(--amber);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-content a:hover {
  color: var(--amber-light);
}

.legal-content ul,
.legal-content ol {
  padding-left: 1.6em;
  margin-bottom: 1.4em;
}

.legal-content li {
  margin-bottom: 0.5em;
}

.legal-content strong {
  color: var(--navy);
  font-weight: 600;
}

.legal-content hr {
  border: none;
  border-top: 1px solid var(--ice);
  margin: 2.5em 0;
}

.legal-content blockquote {
  border-left: 3px solid var(--amber);
  margin: 2em 0;
  padding: 1em 1.5em;
  background: var(--white);
  border-radius: 0 8px 8px 0;
  color: var(--steel);
  font-style: italic;
}

/* Footer nav */
.legal-footer-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 40px;
  flex-wrap: wrap;
  gap: 20px;
}

.legal-sibling-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.legal-sibling-nav a {
  font-size: 13px;
  font-weight: 500;
  color: var(--steel);
  text-decoration: none;
  transition: color 0.2s;
}

.legal-sibling-nav a:hover {
  color: var(--amber);
}

/* =============================================================
   LEGAL PAGES — RESPONSIVE
   ============================================================= */

@media (max-width: 1024px) {
  .legal-hero { padding: 100px 24px 56px; }
  .legal-content-section { padding: 48px 24px 80px; }
}

@media (max-width: 640px) {
  .legal-hero { padding: 90px 20px 48px; }
  .legal-content { padding: 32px 24px; }
  .legal-content-section { padding: 36px 20px 64px; }
  .legal-footer-nav { flex-direction: column; align-items: flex-start; }
  .legal-sibling-nav { flex-wrap: wrap; gap: 16px; }
}
