/* ==========================================================================
   HORIZON X — About / Services / Service Detail / Contact (Phase 4 — Light Theme)
   ========================================================================== */

/* ==========================================================================
   Stats (About)
   ========================================================================== */
.stats-section {
  background: var(--midnight);
  border-top: 1px solid var(--navy-line);
  border-bottom: 1px solid var(--navy-line);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat-item {
  padding: clamp(32px, 5vw, 56px) clamp(16px, 2vw, 28px);
  border-left: 1px solid var(--navy-line);
}

.stat-item:first-child {
  border-left: none;
}

.stat-value {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(34px, 4.6vw, 58px);
  color: var(--off);
  line-height: 1;
  margin-bottom: 12px;
}

.stat-label {
  font-family: var(--f-mono);
  font-size: 11.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--off-dim);
}

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

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

  .stat-item:nth-child(n+3) {
    border-top: 1px solid var(--navy-line);
  }
}

/* ==========================================================================
   Services list (extends .service-row with a linked wrapper + thumbnail)
   ========================================================================== */
.service-link-row {
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
}

.service-link-row .service-thumb {
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%) scale(0.92);
  width: 120px;
  height: 80px;
  overflow: hidden;
  opacity: 0;
  transition: opacity .4s var(--ease), transform .4s var(--ease);
  pointer-events: none;
  border: 1px solid var(--navy-line);
  border-radius: 2px;
}

.service-link-row .service-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-link-row:hover .service-thumb {
  opacity: 1;
  transform: translateY(-50%) scale(1);
}

@media (max-width:760px) {
  .service-link-row .service-thumb {
    display: none;
  }
}

/* ==========================================================================
   Contact / Blogs / Careers / Portfolio Hero Banners — Unified Design System
   Matches Careers Page Hero Reference
   ========================================================================== */
.contact-hero-banner-section,
.blogs-hero-banner-section,
.careers-hero-banner-section,
.portfolio-hero-banner-section {
  position: relative;
  width: 100%;
  height: clamp(380px, 36vw, 480px);
  overflow: hidden;
  background: #0B1220;
  margin: 0;
  padding: 0;
}

.contact-hero-banner-wrap,
.blogs-hero-banner-wrap,
.careers-hero-banner-wrap,
.portfolio-hero-banner-wrap {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.contact-hero-banner-img,
.blogs-hero-banner-img,
.careers-hero-banner-img,
.portfolio-hero-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  image-rendering: auto;
}

.contact-hero-banner-overlay,
.blogs-hero-banner-overlay,
.careers-hero-banner-overlay,
.portfolio-hero-banner-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  z-index: 2;
  background:
    linear-gradient(90deg, rgba(6, 9, 15, 0.88) 0%, rgba(6, 9, 15, 0.65) 45%, rgba(6, 9, 15, 0.2) 80%, transparent 100%),
    linear-gradient(to top, rgba(6, 9, 15, 0.5) 0%, transparent 35%),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.6) 0%, transparent 40%);
  padding-top: 54px;
}

.contact-hero-banner-overlay .container,
.blogs-hero-banner-overlay .container,
.careers-hero-banner-overlay .container,
.portfolio-hero-banner-overlay .container {
  width: 100%;
}

.contact-hero-banner-content,
.blogs-hero-banner-content,
.careers-hero-banner-content,
.portfolio-hero-banner-content {
  max-width: 820px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* Eyebrow - Standardized across Contact, Blogs, Portfolio, Careers */
.contact-hero-eyebrow,
.blogs-hero-eyebrow,
.careers-hero-eyebrow,
.portfolio-hero-eyebrow,
.banner-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-mono);
  font-size: clamp(11px, 0.9vw, 13px);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: clamp(12px, 1.8vw, 18px);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6);
}

.contact-hero-eyebrow::before,
.blogs-hero-eyebrow::before,
.careers-hero-eyebrow::before,
.portfolio-hero-eyebrow::before,
.banner-hero-eyebrow::before {
  content: '';
  width: 18px;
  height: 1.5px;
  background: var(--hx-blue, #0899f4);
  display: inline-block;
}

/* Headings - Standardized across Contact, Blogs, Portfolio, Careers */
.contact-banner-heading,
.blogs-banner-heading,
.careers-banner-heading,
.portfolio-banner-heading {
  font-family: var(--f-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(38px, 5.2vw, 70px);
  line-height: 0.98;
  letter-spacing: -0.025em;
  margin: 0;
  display: flex;
  flex-direction: column;
}

.contact-banner-heading .banner-text-white,
.blogs-banner-heading .banner-text-white,
.careers-banner-heading .banner-text-white,
.portfolio-banner-heading .banner-text-white {
  color: #FFFFFF;
  display: block;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.45);
}

.contact-banner-heading .banner-text-blue,
.blogs-banner-heading .banner-text-blue,
.careers-banner-heading .banner-text-blue,
.portfolio-banner-heading .banner-text-blue {
  color: #0899f4;
  display: block;
  text-shadow: 0 2px 18px rgba(8, 153, 244, 0.35);
}

/* Descriptions - Standardized across Contact, Blogs, Portfolio, Careers */
.contact-banner-desc,
.blogs-banner-desc,
.careers-banner-desc,
.portfolio-banner-desc {
  font-family: var(--f-body);
  font-size: clamp(14px, 1.15vw, 16.5px);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88);
  margin-top: 18px;
  max-width: 62ch;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.5);
}

@media (max-width: 768px) {
  .contact-hero-banner-section,
  .blogs-hero-banner-section,
  .careers-hero-banner-section,
  .portfolio-hero-banner-section {
    height: clamp(320px, 60vw, 420px);
  }

  .contact-hero-banner-overlay,
  .blogs-hero-banner-overlay,
  .careers-hero-banner-overlay,
  .portfolio-hero-banner-overlay {
    padding-top: 44px;
    background: linear-gradient(180deg,
        rgba(6, 10, 18, 0.78) 0%,
        rgba(6, 10, 18, 0.6) 100%);
  }

  .contact-banner-heading,
  .blogs-banner-heading,
  .careers-banner-heading,
  .portfolio-banner-heading {
    font-size: clamp(28px, 7vw, 42px);
    line-height: 1.05;
  }

  .contact-banner-desc,
  .blogs-banner-desc,
  .careers-banner-desc,
  .portfolio-banner-desc {
    font-size: clamp(13px, 3.4vw, 14.5px);
    margin-top: 12px;
    line-height: 1.5;
  }
}

.contact-section {
  background: #FAFCFF;
  position: relative;
  padding-top: clamp(56px, 7vw, 96px);
  padding-bottom: clamp(72px, 10vw, 120px);
  border-top: 1px solid #E2E8F0;
}

.contact-section .container {
  position: relative;
  z-index: 2;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  /* Approx 40% Left / 60% Right */
  gap: clamp(48px, 6vw, 84px);
  align-items: start;
}

@media (max-width: 980px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

/* ==========================================================================
   LEFT SIDE: Information Panel (~40%)
   ========================================================================== */
.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: clamp(24px, 3.5vw, 36px);
}

.contact-info-header {
  margin-bottom: 4px;
}

.contact-info-title {
  font-family: var(--f-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #0E1726;
  margin: 0;
}

.contact-info-divider {
  width: 48px;
  height: 2px;
  background: #0899f4;
  margin: 16px 0 18px 0;
  border-radius: 1px;
}

.contact-info-desc {
  font-family: var(--f-body);
  font-size: clamp(14.5px, 1.2vw, 16px);
  line-height: 1.65;
  color: #4B5565;
  margin: 0;
  max-width: 46ch;
}

/* Contact Details with Circular Icons */
.contact-details-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-detail-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 3px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.02);
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.contact-detail-row:hover {
  border-color: #0899f4;
  transform: translateX(3px);
  box-shadow: 0 4px 16px rgba(8, 153, 244, 0.08);
}

.contact-icon-bubble {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(8, 153, 244, 0.08);
  border: 1px solid rgba(8, 153, 244, 0.2);
  color: #0899f4;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.contact-detail-row:hover .contact-icon-bubble {
  background: #0899f4;
  border-color: #0899f4;
  color: #FFFFFF;
}

.contact-row-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}

.contact-row-label {
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #64748B;
  font-weight: 500;
}

.contact-row-val {
  font-family: var(--f-head);
  font-weight: 600;
  font-size: 15px;
  color: #0E1726;
  line-height: 1.4;
  text-decoration: none;
  transition: color 0.2s ease;
  margin: 0;
}

a.contact-row-val:hover,
a.contact-row-val:focus-visible {
  color: #0899f4;
}

/* Business Hours Card */
.contact-hours-box {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 3px;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.02);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.contact-hours-box:hover {
  border-color: rgba(8, 153, 244, 0.35);
  box-shadow: 0 4px 16px rgba(8, 153, 244, 0.06);
}

.contact-hours-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid #E2E8F0;
}

.contact-hours-title-wrap {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.contact-hours-title {
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #0E1726;
  margin: 0;
}

.contact-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--f-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #059669;
  background: rgba(16, 185, 129, 0.08);
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.status-pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: statusPulse 2s infinite;
  flex-shrink: 0;
}

@keyframes statusPulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }

  70% {
    transform: scale(1);
    box-shadow: 0 0 0 5px rgba(16, 185, 129, 0);
  }

  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

.contact-hours-schedule {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.contact-sched-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact-sched-label {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #64748B;
}

.contact-sched-val {
  font-family: var(--f-head);
  font-weight: 600;
  font-size: 14px;
  color: #0E1726;
  margin: 0;
}

/* Follow Us / Social Links */
.contact-social-box {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}

.contact-social-label {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #64748B;
  font-weight: 600;
  margin: 0;
}

.contact-social-buttons {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

/* ==========================================================================
   RIGHT SIDE: Contact Form Panel (~60%)
   ========================================================================== */
.contact-form-panel {
  position: relative;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 3px;
  padding: clamp(28px, 4.5vw, 44px);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.02);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form-panel:hover {
  border-color: rgba(8, 153, 244, 0.3);
  box-shadow: 0 8px 30px rgba(8, 153, 244, 0.06);
}

.contact-form-intro {
  margin-bottom: 24px;
}

.contact-form-lead {
  font-family: var(--f-body);
  font-size: clamp(14px, 1.15vw, 15.5px);
  line-height: 1.6;
  color: #4B5565;
  margin: 0;
}

.contact-form {
  display: flex;
  flex-direction: column;
}

.form-grid-row {
  display: grid;
  gap: 16px;
  margin-bottom: 16px;
  width: 100%;
}

.form-grid-2col {
  grid-template-columns: 1fr 1fr;
}

.form-grid-1col {
  grid-template-columns: 1fr;
}

@media (max-width: 600px) {
  .form-grid-2col {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
}

.form-field label {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #4B5565;
  font-weight: 500;
}

.form-field .required-mark {
  color: #0899f4;
  margin-left: 2px;
}

.form-field input,
.form-field textarea {
  font-family: var(--f-body);
  font-size: 14.5px;
  color: #0E1726;
  background: #FAFCFF;
  border: 1px solid #D6DEE8;
  border-radius: 2px;
  padding: 13px 15px;
  width: 100%;
  box-sizing: border-box;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.form-field textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #94A3B8;
  font-family: var(--f-body);
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: #0899f4;
  background: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(8, 153, 244, 0.12);
}

/* Custom Select Styling */
.custom-select-wrap {
  position: relative;
  width: 100%;
}

.custom-select-wrap select {
  font-family: var(--f-body);
  font-size: 14.5px;
  color: #0E1726;
  background: #FAFCFF;
  border: 1px solid #D6DEE8;
  border-radius: 2px;
  padding: 13px 38px 13px 15px;
  width: 100%;
  box-sizing: border-box;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.custom-select-wrap select:focus {
  outline: none;
  border-color: #0899f4;
  background: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(8, 153, 244, 0.12);
}

.custom-select-wrap select option {
  background: #FFFFFF;
  color: #0E1726;
  padding: 10px;
}

.custom-select-wrap select option[disabled] {
  color: #94A3B8;
}

.select-chevron {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: #64748B;
  transition: transform 0.25s ease, color 0.25s ease;
}

.custom-select-wrap select:focus+.select-chevron {
  color: #0899f4;
  transform: translateY(-50%) rotate(180deg);
}

/* Form Validation & Error States */
.form-error-msg {
  font-family: var(--f-mono);
  font-size: 11.5px;
  color: #DC2626;
  min-height: 16px;
  display: none;
  margin-top: 2px;
}

.form-field.is-invalid input,
.form-field.is-invalid textarea,
.form-field.is-invalid .custom-select-wrap select {
  border-color: #DC2626;
  background: #FFFDFD;
  box-shadow: 0 0 0 2px rgba(220, 38, 38, 0.12);
}

.form-field.is-invalid .form-error-msg {
  display: block;
}

/* Submit Row & Button */
.form-submit-row {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 8px;
  flex-wrap: wrap;
}

.contact-submit-btn {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  font-weight: 500;
  text-transform: uppercase;
  color: #FFFFFF;
  background: #0899f4;
  border: 1px solid #0899f4;
  padding: 14px 32px;
  border-radius: 2px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(8, 153, 244, 0.25);
  transition: background 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    color 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    gap 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.contact-submit-btn:hover,
.contact-submit-btn:focus-visible {
  background: #0782d0;
  border-color: #0782d0;
  color: #FFFFFF;
  gap: 14px;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(8, 153, 244, 0.35);
}

.contact-submit-btn:active {
  transform: translateY(0) scale(0.98);
  transition-duration: 0.12s;
}

.contact-submit-btn .arrow {
  transition: transform 0.3s var(--ease);
  display: inline-block;
}

.contact-submit-btn:hover .arrow {
  transform: translateX(3px);
}

.contact-submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none !important;
}

.form-status {
  font-family: var(--f-mono);
  font-size: 12px;
  color: #64748B;
}

/* Success Panel */
.form-success {
  display: none;
  text-align: center;
  padding: clamp(48px, 6vw, 72px) clamp(20px, 4vw, 36px);
  border: 1px solid #E2E8F0;
  background: #FAFCFF;
  border-radius: 3px;
}

.form-success.is-shown {
  display: block;
  animation: fadeIn 0.5s ease both;
}

.form-success h3 {
  font-family: var(--f-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.015em;
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1.1;
  color: #0E1726;
  margin-bottom: 14px;
}

.form-success p {
  font-family: var(--f-body);
  color: #4B5565;
  font-size: 15px;
  line-height: 1.6;
  max-width: 44ch;
  margin: 0 auto;
}

.contact-form.is-hidden {
  display: none;
}

/* ==========================================================================
   Blogs — Featured Insight Section (Editorial Two-Column Layout)
   ========================================================================== */
.featured-insight-section {
  background: #FAFCFF;
  position: relative;
  padding-top: clamp(64px, 8vw, 110px);
  padding-bottom: clamp(64px, 8vw, 110px);
  border-top: 1px solid #E2E8F0;
  border-bottom: 1px solid #E2E8F0;
}

.featured-insight-layout {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(40px, 5.5vw, 76px);
  align-items: center;
}

/* Image Container / Placeholder */
.featured-insight-media {
  width: 100%;
}

.featured-insight-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  min-height: 320px;
  background: #0E1726;
  border: 1px solid #D9E2EC;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.featured-insight-img-wrap:hover {
  border-color: rgba(8, 153, 244, 0.4);
  box-shadow: 0 10px 32px rgba(8, 153, 244, 0.08);
}

.featured-insight-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0A111E 0%, #0F1B2E 100%);
  color: rgba(255, 255, 255, 0.3);
  transition: color 0.3s ease;
}

.featured-insight-img-wrap:hover .featured-insight-placeholder {
  color: rgba(8, 153, 244, 0.7);
}

.featured-insight-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.6s var(--ease);
}

.featured-insight-img-wrap:hover img {
  transform: scale(1.02);
}

/* Right Side Content */
.featured-insight-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.featured-insight-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.featured-insight-eyebrow .eyebrow-dot {
  width: 6px;
  height: 6px;
  background: #0899f4;
  border-radius: 50%;
  display: inline-block;
}

.featured-insight-eyebrow .eyebrow-text {
  font-family: var(--f-mono);
  font-size: clamp(11px, 0.9vw, 12px);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #0899f4;
  font-weight: 600;
}

.featured-insight-title {
  font-family: var(--f-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 20px 0;
  display: flex;
  flex-direction: column;
}

.featured-insight-title .title-dark {
  color: #0E1726;
  display: block;
}

.featured-insight-title .title-blue {
  color: #0899f4;
  display: block;
}

.featured-insight-desc {
  font-family: var(--f-body);
  font-size: clamp(15px, 1.15vw, 16.5px);
  line-height: 1.7;
  color: #4B5565;
  margin: 0 0 24px 0;
  max-width: 52ch;
}

.featured-insight-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748B;
  font-weight: 500;
  margin-bottom: 28px;
}

.featured-insight-meta .meta-sep {
  color: #0899f4;
}

.featured-insight-action {
  display: flex;
  align-items: center;
}

.featured-read-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-mono);
  font-size: 12.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  color: #0E1726;
  text-decoration: none;
  padding: 4px 0;
  border-bottom: 1.5px solid transparent;
  transition: color 0.25s ease, border-color 0.25s ease, gap 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.featured-read-link .read-link-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #0899f4;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), color 0.25s ease;
}

.featured-read-link:hover,
.featured-read-link:focus-visible {
  color: #0899f4;
  gap: 12px;
  border-bottom-color: rgba(8, 153, 244, 0.3);
  outline: none;
}

.featured-read-link:hover .read-link-arrow,
.featured-read-link:focus-visible .read-link-arrow {
  transform: translateX(4px);
  color: #0899f4;
}

/* Responsive */
@media (max-width: 980px) {
  .featured-insight-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .featured-insight-img-wrap {
    aspect-ratio: 16 / 9;
    min-height: 260px;
  }

  .featured-insight-title {
    font-size: clamp(24px, 5.5vw, 36px);
    line-height: 1.1;
    margin-bottom: 16px;
  }

  .featured-insight-desc {
    font-size: 15px;
    margin-bottom: 20px;
    max-width: 100%;
  }

  .featured-insight-meta {
    margin-bottom: 24px;
  }
}

@media (max-width: 600px) {
  .featured-insight-section {
    padding-top: 48px;
    padding-bottom: 54px;
  }

  .featured-insight-img-wrap {
    min-height: 220px;
  }

  .featured-insight-title {
    font-size: clamp(22px, 6.5vw, 28px);
  }
}

/* ==========================================================================
   Blogs — Latest Insights Grid Section (6 Editorial Articles)
   ========================================================================== */
.latest-insights-section {
  background: #FFFFFF;
  position: relative;
  padding-top: clamp(64px, 8vw, 100px);
  padding-bottom: clamp(72px, 9vw, 120px);
}

.latest-insights-header {
  margin-bottom: clamp(36px, 5vw, 56px);
}

.latest-insights-heading {
  font-family: var(--f-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #0E1726;
  margin: 0;
}

.latest-insights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3.2vw, 36px);
}

.insight-card {
  display: flex;
  flex-direction: column;
  background: #FAFCFF;
  border: 1px solid #E2E8F0;
  border-radius: 2px;
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.insight-card:hover {
  border-color: rgba(8, 153, 244, 0.4);
  box-shadow: 0 12px 32px rgba(8, 153, 244, 0.08);
  transform: translateY(-3px);
}

.insight-card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #0E1726;
  overflow: hidden;
}

.insight-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.6s var(--ease);
}

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

.insight-card-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0A111E 0%, #0F1B2E 100%);
  color: rgba(255, 255, 255, 0.3);
  transition: color 0.3s ease;
}

.insight-card:hover .insight-card-placeholder {
  color: rgba(8, 153, 244, 0.7);
}

.insight-card-body {
  padding: 24px 22px 22px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
}

.insight-card-cat {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #0899f4;
  font-weight: 600;
  margin-bottom: 10px;
}

.insight-card-title {
  font-family: var(--f-head);
  font-weight: 700;
  font-size: clamp(17px, 1.35vw, 19px);
  line-height: 1.3;
  color: #0E1726;
  margin: 0 0 12px 0;
  transition: color 0.2s ease;
}

.insight-card:hover .insight-card-title {
  color: #0899f4;
}

.insight-card-desc {
  font-family: var(--f-body);
  font-size: 13.5px;
  line-height: 1.6;
  color: #4B5565;
  margin: 0 0 20px 0;
}

.insight-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid #E2E8F0;
  margin-top: auto;
}

.insight-card-meta {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748B;
  font-weight: 500;
}

.insight-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--f-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  color: #0E1726;
  text-decoration: none;
  transition: color 0.25s ease, gap 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.insight-card-cta svg {
  color: #0899f4;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.insight-card-cta:hover,
.insight-card:hover .insight-card-cta {
  color: #0899f4;
  gap: 9px;
}

.insight-card:hover .insight-card-cta svg {
  transform: translateX(3px);
}

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

@media (max-width: 640px) {
  .latest-insights-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .latest-insights-section {
    padding-top: 48px;
    padding-bottom: 64px;
  }
}

/* ==========================================================================
   Blog Article Detail Pages (HORIZON X Editorial Design System)
   ========================================================================== */
.article-page-main {
  background: var(--ink);
  color: var(--off);
  padding-top: clamp(100px, 12vw, 140px);
  padding-bottom: clamp(60px, 8vw, 100px);
}

.article-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
}

/* Back Navigation */
.article-back-nav {
  margin-bottom: clamp(24px, 4vw, 36px);
}

.article-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748B;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.25s ease, gap 0.25s ease;
}

.article-back-link svg {
  transition: transform 0.25s ease;
}

.article-back-link:hover {
  color: #0899f4;
  gap: 12px;
}

.article-back-link:hover svg {
  transform: translateX(-3px);
}

/* Article Hero Header */
.article-header-wrap {
  max-width: 900px;
  margin: 0 auto clamp(32px, 5vw, 48px) auto;
  text-align: left;
}

.article-cat-badge {
  display: inline-block;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #0899f4;
  font-weight: 700;
  margin-bottom: 16px;
}

.article-main-title {
  font-family: var(--f-head);
  font-weight: 800;
  font-size: clamp(30px, 4.2vw, 54px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: #0E1726;
  margin: 0 0 20px 0;
  text-transform: uppercase;
}

.article-lead-desc {
  font-family: var(--f-body);
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.65;
  color: #4B5565;
  margin: 0 0 24px 0;
}

.article-meta-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid #E2E8F0;
  font-family: var(--f-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748B;
  font-weight: 500;
}

.article-meta-brand {
  color: #0E1726;
  font-weight: 700;
}

.article-meta-sep {
  color: #CBD5E1;
}

/* Featured Article Image */
.article-featured-media {
  max-width: 1100px;
  margin: 0 auto clamp(40px, 6vw, 64px) auto;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid #E2E8F0;
  background: #F8FAFC;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.article-featured-img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Article Body Reading Area */
.article-body-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.article-intro-block {
  font-size: clamp(17px, 1.25vw, 19px);
  line-height: 1.75;
  color: #1F2937;
  font-weight: 400;
  margin-bottom: clamp(32px, 5vw, 48px);
  padding-bottom: 28px;
  border-bottom: 1px solid #E5E7EB;
}

.article-section {
  margin-bottom: clamp(36px, 5vw, 52px);
}

.article-section-heading {
  font-family: var(--f-head);
  font-weight: 700;
  font-size: clamp(20px, 1.8vw, 26px);
  line-height: 1.28;
  color: #0E1726;
  margin: 0 0 16px 0;
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.article-section-heading .section-num {
  font-family: var(--f-mono);
  font-size: 14px;
  letter-spacing: 0.1em;
  color: #0899f4;
  font-weight: 600;
}

.article-paragraph {
  font-family: var(--f-body);
  font-size: 15.5px;
  line-height: 1.8;
  color: #374151;
  margin: 0 0 18px 0;
}

.article-paragraph:last-child {
  margin-bottom: 0;
}

/* Editorial Quote Block */
.article-quote-block {
  margin: clamp(36px, 5vw, 52px) 0;
  padding: 32px 36px;
  background: #F8FAFC;
  border-left: 3px solid #0899f4;
  border-radius: 0 6px 6px 0;
  border-top: 1px solid #E2E8F0;
  border-right: 1px solid #E2E8F0;
  border-bottom: 1px solid #E2E8F0;
}

.article-quote-text {
  font-family: var(--f-head);
  font-size: clamp(18px, 1.5vw, 22px);
  font-weight: 600;
  line-height: 1.5;
  color: #0E1726;
  margin: 0 0 14px 0;
  font-style: italic;
}

.article-quote-cite {
  font-family: var(--f-mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #0899f4;
  font-weight: 600;
  display: block;
}

/* Feature Points / Takeaways */
.article-key-points {
  margin: 24px 0;
  padding: 24px 28px;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 6px;
}

.article-key-points-title {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #0E1726;
  font-weight: 700;
  margin-bottom: 14px;
}

.article-points-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.article-points-list li {
  font-family: var(--f-body);
  font-size: 14.5px;
  line-height: 1.6;
  color: #4B5565;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.article-points-list li::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #0899f4;
  margin-top: 8px;
  flex-shrink: 0;
}

/* Bottom Back Link */
.article-bottom-actions {
  padding-top: 36px;
  border-top: 1px solid #E2E8F0;
  margin-top: 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* End-of-article Project CTA */
.article-cta-section {
  max-width: 1100px;
  margin: clamp(60px, 8vw, 96px) auto clamp(48px, 6vw, 80px) auto;
  padding: clamp(40px, 6vw, 64px) clamp(24px, 4vw, 48px);
  background: #0E1726;
  color: #FFFFFF;
  border-radius: 8px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.article-cta-eyebrow {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #0899f4;
  font-weight: 700;
  margin-bottom: 14px;
}

.article-cta-title {
  font-family: var(--f-head);
  font-weight: 800;
  font-size: clamp(26px, 3.5vw, 44px);
  line-height: 1.15;
  color: #FFFFFF;
  margin: 0 0 28px 0;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

.article-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: #0899f4;
  color: #FFFFFF;
  font-family: var(--f-mono);
  font-size: 12.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  border-radius: 3px;
  text-decoration: none;
  transition: background 0.25s ease, transform 0.25s ease, gap 0.25s ease;
}

.article-cta-btn:hover {
  background: #0284c7;
  transform: translateY(-2px);
  gap: 14px;
}

/* Related Insights Section */
.article-related-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding-top: clamp(48px, 6vw, 80px);
  border-top: 1px solid #E2E8F0;
}

.article-related-header {
  margin-bottom: clamp(24px, 4vw, 36px);
}

.article-related-heading {
  font-family: var(--f-head);
  font-weight: 800;
  font-size: clamp(22px, 2.2vw, 32px);
  color: #0E1726;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin: 0;
}

@media (max-width: 768px) {
  .article-header-wrap {
    margin-bottom: 28px;
  }
  
  .article-quote-block {
    padding: 24px 20px;
  }
  
  .article-key-points {
    padding: 20px;
  }
  
  .article-bottom-actions {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
}

/* ==========================================================================
   HORIZON X — Home Inline Project Gallery System
   ========================================================================== */
.home-inline-gallery-section {
  background: #FFFFFF;
  padding: clamp(48px, 6vw, 88px) 0 clamp(64px, 8vw, 112px);
  position: relative;
  border-top: 1px solid var(--navy-line);
}

.home-inline-gallery-section.is-revealed {
  display: block !important;
  animation: hgFadeIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

.hg-header-wrap {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: clamp(28px, 3.5vw, 44px);
}

.hg-header-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hg-eyebrow {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #0899f4;
  margin: 0;
}

.hg-section-title {
  font-family: var(--f-display);
  font-size: clamp(26px, 3.6vw, 44px);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--off);
  margin: 0;
}

.hg-project-selector {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.hg-project-selector::-webkit-scrollbar {
  height: 4px;
}

.hg-project-selector::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.18);
  border-radius: 4px;
}

.hg-tab-btn {
  font-family: var(--f-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 10px 18px;
  border-radius: 2px;
  border: 1px solid var(--navy-line);
  background: #F9FAFB;
  color: var(--off-dim);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.hg-tab-btn:hover {
  border-color: #0899f4;
  color: #0899f4;
  background: rgba(8, 153, 244, 0.05);
}

.hg-tab-btn.is-active {
  background: #0899f4;
  color: #FFFFFF;
  border-color: #0899f4;
  box-shadow: 0 4px 14px rgba(8, 153, 244, 0.28);
}

.hg-tab-btn:focus-visible {
  outline: 2px solid #0899f4;
  outline-offset: 2px;
}

.hg-active-project-info {
  background: #0B0E14;
  color: #FFFFFF;
  border-radius: 4px;
  padding: clamp(20px, 3vw, 36px);
  margin-bottom: clamp(24px, 3vw, 32px);
  display: flex;
  flex-direction: column;
  gap: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hg-project-title-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 12px;
}

.hg-project-title {
  font-family: var(--f-display);
  font-size: clamp(20px, 2.6vw, 32px);
  font-weight: 700;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  color: #FFFFFF;
  margin: 0;
}

.hg-project-category {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #0899f4;
}

.hg-project-desc {
  font-family: var(--f-body);
  font-size: clamp(13.5px, 1.15vw, 15px);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.82);
  max-width: 72ch;
  margin: 0;
}

.hg-project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}

.hg-tag-pill {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.65);
  border-radius: 2px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hg-empty-state {
  text-align: center;
  padding: 48px 20px;
  color: var(--off-dim);
  font-family: var(--f-body);
  font-size: 14px;
}