/* ═══════════════════════════════════════════════════════════
   REST Group — Premium Stylesheet
   Vibe: Editorial Luxury | Layout: Asymmetrical Bento
   ═══════════════════════════════════════════════════════════ */

/* ── Custom Properties ── */
:root {
  --navy: #0B3A66;
  --navy-deep: #0A2F4F;
  --teal: #1F7A8C;
  --orange: #F05A28;
  --yellow: #F2B705;
  --charcoal: #1A1A1A;
  --mid-grey: #6B7280;
  --light-grey: #F5F7FA;
  --cream: #FDFBF7;
  --white: #FFFFFF;

  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', system-ui, sans-serif;

  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-spring: cubic-bezier(0.32, 0.72, 0, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

/* ── Film Grain Overlay ── */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}

/* ── Typography ── */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.1;
  color: var(--navy-deep);
}

h1 { font-size: clamp(2.8rem, 6vw, 5.5rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 4vw, 3.8rem); letter-spacing: -0.015em; }
h3 { font-size: clamp(1.4rem, 2.5vw, 2rem); }
h4 { font-size: clamp(1.1rem, 1.5vw, 1.4rem); }

p {
  font-size: clamp(0.95rem, 1.1vw, 1.1rem);
  color: var(--mid-grey);
  max-width: 65ch;
}

/* ── Eyebrow Tags ── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1rem;
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--teal);
  background: rgba(31, 122, 140, 0.08);
  border: 1px solid rgba(31, 122, 140, 0.12);
  border-radius: 100px;
}

.eyebrow--navy {
  color: var(--navy);
  background: rgba(11, 58, 102, 0.06);
  border-color: rgba(11, 58, 102, 0.1);
}

.eyebrow--light {
  color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.1);
}

/* ── Floating Pill Navbar ── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.25rem 1.5rem;
  transition: padding 0.6s var(--ease-out-expo);
}

.navbar.scrolled {
  padding: 0.75rem 1.5rem;
}

.navbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0.65rem 0.65rem 1.5rem;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(11, 58, 102, 0.06);
  border-radius: 100px;
  box-shadow:
    0 1px 3px rgba(11, 58, 102, 0.04),
    0 8px 32px rgba(11, 58, 102, 0.06);
  transition: all 0.6s var(--ease-out-expo);
}

.navbar.scrolled .navbar-inner {
  box-shadow:
    0 1px 3px rgba(11, 58, 102, 0.06),
    0 12px 48px rgba(11, 58, 102, 0.1);
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--navy-deep);
}

.navbar-logo img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

.navbar-logo span {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}

.navbar-links a {
  padding: 0.5rem 1rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--mid-grey);
  text-decoration: none;
  border-radius: 100px;
  transition: all 0.4s var(--ease-spring);
}

.navbar-links a:hover {
  color: var(--navy);
  background: rgba(11, 58, 102, 0.04);
}

.navbar-links a.active {
  color: var(--navy);
  font-weight: 600;
}

/* ── CTA Button (Button-in-Button) ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 0.6rem 0.6rem 1.4rem;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--white);
  background: var(--orange);
  border: none;
  border-radius: 100px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.5s var(--ease-spring);
  will-change: transform;
}

.btn-primary:hover {
  background: #e04d1e;
  box-shadow: 0 8px 32px rgba(240, 90, 40, 0.3);
}

.btn-primary:active {
  transform: scale(0.98);
}

.btn-primary .btn-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 100%;
  transition: all 0.5s var(--ease-spring);
}

.btn-primary:hover .btn-icon {
  background: rgba(255, 255, 255, 0.3);
  transform: translateX(2px) translateY(-1px) scale(1.05);
}

.btn-primary .btn-icon-mobile { display: none; }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.6rem;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
  background: transparent;
  border: 1.5px solid rgba(11, 58, 102, 0.15);
  border-radius: 100px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.5s var(--ease-spring);
}

.btn-secondary:hover {
  border-color: var(--navy);
  background: rgba(11, 58, 102, 0.03);
}

.btn-secondary--light {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-secondary--light:hover {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.05);
}

/* ── Double-Bezel Cards ── */
.card-shell {
  background: rgba(11, 58, 102, 0.02);
  border: 1px solid rgba(11, 58, 102, 0.05);
  border-radius: 2rem;
  padding: 0.375rem;
}

.card-core {
  background: var(--white);
  border-radius: calc(2rem - 0.375rem);
  padding: 2.5rem;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.6);
  height: 100%;
}

.card-shell--navy {
  background: rgba(11, 58, 102, 0.06);
  border-color: rgba(11, 58, 102, 0.08);
}

.card-core--navy {
  background: var(--navy-deep);
  color: var(--white);
}

.card-core--navy h3,
.card-core--navy h4 {
  color: var(--white);
}

.card-core--navy p {
  color: rgba(255, 255, 255, 0.65);
}

.card-shell--link {
  text-decoration: none;
  color: inherit;
  display: block;
  cursor: pointer;
}

.card-shell--link .card-core {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-shell--link:hover .card-core {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(11, 58, 102, 0.1);
}

.card-core--cream {
  background: var(--cream);
}

.card-core--grey {
  background: var(--light-grey);
}

/* ── Section Utilities ── */
.section {
  padding: 7rem 1.5rem;
}

.section--lg {
  padding: 9rem 1.5rem;
}

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

.section--cream {
  background: var(--cream);
}

.section--grey {
  background: var(--light-grey);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.container--narrow {
  max-width: 900px;
}

.container--wide {
  max-width: 1400px;
}

/* ── Bento Grid ── */
.bento-grid {
  display: grid;
  gap: 1rem;
}

.bento-grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

.bento-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.services-stack {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 800px;
  margin: 0 auto;
}

.services-stack .card-shell {
  scroll-margin-top: 6rem;
}

/* ── Hero ── */
.hero {
  min-height: 100dvh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 8rem 1.5rem 4rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(31, 122, 140, 0.06) 0%, transparent 70%),
    radial-gradient(ellipse 60% 50% at 20% 80%, rgba(240, 90, 40, 0.04) 0%, transparent 70%),
    var(--cream);
  z-index: 0;
}

.hero-video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 45%, rgba(0,0,0,1) 30%, rgba(0,0,0,0) 100%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 45%, rgba(0,0,0,1) 30%, rgba(0,0,0,0) 100%);
  pointer-events: none;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.18;
  transform: translateZ(0);
}

/* Hide video entirely when autoplay fails (no static frame / play button) */
.hero-video-wrap.video-failed {
  display: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  text-align: center;
}

.hero-content .hero-description {
  margin-left: auto;
  margin-right: auto;
}

.hero-content .hero-actions {
  justify-content: center;
}


/* ── Hero Crash Title ── */
.hero-crash-title {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 8vw, 7rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--navy);
  opacity: 0;
  transform: translateY(12px) scale(1.04);
  filter: blur(4px);
  transition: none;
  pointer-events: none;
  margin-bottom: 0.25rem;
}

.hero-crash-title.crash-in {
  animation: crashIn 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes crashIn {
  0% {
    opacity: 0;
    transform: translateY(12px) scale(1.04);
    filter: blur(4px);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0px);
  }
}

.hero-what-we-do {
  margin-top: 4rem;
  text-align: center;
}

.hero-what-we-do h2 {
  margin: 0.75rem 0 0.5rem;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
}

.hero-what-we-do p {
  font-size: clamp(0.95rem, 1.1vw, 1.1rem);
  color: var(--mid-grey);
  max-width: 50ch;
  margin: 0 auto;
}

.section--cards-only {
  padding-top: 2.5rem;
}

.hero h1 {
  margin: 0.5rem 0 0.75rem;
}

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

.hero-description {
  font-size: clamp(1.05rem, 1.3vw, 1.25rem);
  line-height: 1.8;
  max-width: 52ch;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}


/* ── Split Section ── */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.split--reverse {
  direction: rtl;
}

.split--reverse > * {
  direction: ltr;
}

/* ── Process Steps ── */
.process-step {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}

.process-number {
  flex-shrink: 0;
  width: 3.5rem;
  height: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--teal);
  background: rgba(31, 122, 140, 0.08);
  border: 1px solid rgba(31, 122, 140, 0.12);
  border-radius: 1rem;
}

.process-content h4 {
  margin-bottom: 0.5rem;
}

/* ── Icon Circle ── */
.icon-circle {
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
}

.icon-circle--teal {
  background: rgba(31, 122, 140, 0.08);
  color: var(--teal);
  border: 1px solid rgba(31, 122, 140, 0.1);
}

.icon-circle--orange {
  background: rgba(240, 90, 40, 0.08);
  color: var(--orange);
  border: 1px solid rgba(240, 90, 40, 0.1);
}

.icon-circle--navy {
  background: rgba(11, 58, 102, 0.08);
  color: var(--navy);
  border: 1px solid rgba(11, 58, 102, 0.1);
}

.icon-circle--light {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ── Problems Grid ── */
.problems-list {
  list-style: none;
  display: grid;
  gap: 1rem;
}

.problems-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: rgba(240, 90, 40, 0.04);
  border: 1px solid rgba(240, 90, 40, 0.08);
  border-radius: 1rem;
  font-size: 0.92rem;
  color: var(--charcoal);
  transition: all 0.4s var(--ease-spring);
}

.problems-list li:hover {
  background: rgba(240, 90, 40, 0.07);
  transform: translateX(4px);
}

.problems-list li::before {
  content: '';
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  margin-top: 0.55rem;
  background: var(--orange);
  border-radius: 50%;
}

/* ── Transition Arrows ── */
.transition-row {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 1rem 0;
}

.transition-from {
  font-size: 0.95rem;
  color: var(--mid-grey);
  min-width: 8rem;
  text-align: right;
}

.transition-arrow {
  color: var(--teal);
  font-size: 1.2rem;
}

.transition-to {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
}

/* ── Client Tags ── */
.client-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.client-tag {
  padding: 0.5rem 1.25rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--navy);
  background: rgba(11, 58, 102, 0.04);
  border: 1px solid rgba(11, 58, 102, 0.08);
  border-radius: 100px;
  transition: all 0.4s var(--ease-spring);
}

.client-tag:hover {
  background: rgba(11, 58, 102, 0.08);
  transform: translateY(-1px);
}

/* ── Footer ── */
.footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.5);
  padding: 5rem 1.5rem 2.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
  padding-bottom: 4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.88rem;
  margin-top: 1rem;
  max-width: 35ch;
}

.footer h5 {
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.3s var(--ease-spring);
}

.footer-links a:hover {
  color: var(--white);
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.footer-logo img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.footer-logo span {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--white);
}

/* ── Mobile Menu Overlay ── */
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(40px) saturate(180%);
  -webkit-backdrop-filter: blur(40px) saturate(180%);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s var(--ease-out-expo);
}

.mobile-menu-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.mobile-menu-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(11, 58, 102, 0.05);
  border: 1px solid rgba(11, 58, 102, 0.08);
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.1rem;
  color: var(--navy);
  transition: all 0.3s var(--ease-spring);
}

.mobile-menu-close:hover {
  background: rgba(11, 58, 102, 0.1);
}

.mobile-menu-links {
  list-style: none;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mobile-menu-links li {
  transform: translateY(2rem);
  opacity: 0;
  transition: all 0.6s var(--ease-out-expo);
}

.mobile-menu-overlay.active .mobile-menu-links li {
  transform: translateY(0);
  opacity: 1;
}

.mobile-menu-overlay.active .mobile-menu-links li:nth-child(1) { transition-delay: 0.08s; }
.mobile-menu-overlay.active .mobile-menu-links li:nth-child(2) { transition-delay: 0.14s; }
.mobile-menu-overlay.active .mobile-menu-links li:nth-child(3) { transition-delay: 0.20s; }
.mobile-menu-overlay.active .mobile-menu-links li:nth-child(4) { transition-delay: 0.26s; }
.mobile-menu-overlay.active .mobile-menu-links li:nth-child(5) { transition-delay: 0.32s; }
.mobile-menu-overlay.active .mobile-menu-links li:nth-child(6) { transition-delay: 0.38s; }
.mobile-menu-overlay.active .mobile-menu-links li:nth-child(7) { transition-delay: 0.44s; }

.mobile-menu-links a {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--navy-deep);
  text-decoration: none;
  padding: 0.5rem 2rem;
  display: block;
  border-radius: 1rem;
  transition: background 0.3s var(--ease-spring);
}

.mobile-menu-links a:hover {
  background: rgba(11, 58, 102, 0.04);
}

/* ── Hamburger ── */
.hamburger {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  align-items: center;
  justify-content: center;
  background: rgba(11, 58, 102, 0.04);
  border: 1px solid rgba(11, 58, 102, 0.06);
  border-radius: 50%;
  cursor: pointer;
  position: relative;
}

.hamburger span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--navy);
  border-radius: 2px;
  transition: all 0.4s var(--ease-spring);
  position: absolute;
}

.hamburger span:first-child { transform: translateY(-4px); }
.hamburger span:last-child { transform: translateY(4px); }

.hamburger.active span:first-child {
  transform: rotate(45deg);
}
.hamburger.active span:last-child {
  transform: rotate(-45deg);
}

/* ── Scroll Reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(3rem);
  filter: blur(8px);
  transition: all 0.9s var(--ease-out-expo);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ── Project Cards ── */
.project-card .card-core {
  position: relative;
  overflow: hidden;
}

.project-card .project-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2.5rem;
  background: linear-gradient(to top, rgba(10, 47, 79, 0.95) 0%, transparent 100%);
  min-height: 50%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

/* ── Contact Form ── */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 1rem 1.25rem;
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--charcoal);
  background: var(--light-grey);
  border: 1.5px solid transparent;
  border-radius: 1rem;
  outline: none;
  transition: all 0.4s var(--ease-spring);
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--teal);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(31, 122, 140, 0.08);
}

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

/* ── File Upload ── */
.file-upload {
  position: relative;
  border: 2px dashed rgba(11, 58, 102, 0.12);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  transition: border-color 0.2s ease, background 0.2s ease;
  cursor: pointer;
}

.file-upload:hover,
.file-upload.dragover {
  border-color: var(--teal);
  background: rgba(31, 122, 140, 0.03);
}

.file-upload-input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.file-upload-prompt {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: var(--mid-grey);
  font-size: 0.85rem;
  pointer-events: none;
}

.file-upload-prompt svg {
  color: var(--teal);
  margin-bottom: 0.25rem;
}

.file-upload-prompt strong {
  color: var(--teal);
}

.file-upload-hint {
  font-size: 0.75rem;
  color: rgba(107, 114, 128, 0.7);
}

.file-upload-list {
  list-style: none;
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-align: left;
}

.file-upload-list:empty {
  display: none;
}

.file-upload-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0.75rem;
  background: rgba(31, 122, 140, 0.05);
  border-radius: 8px;
  font-size: 0.82rem;
  color: var(--navy);
}

.file-upload-item span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 200px;
}

.file-upload-remove {
  background: none;
  border: none;
  color: var(--mid-grey);
  cursor: pointer;
  font-size: 1.1rem;
  padding: 0 0.25rem;
  line-height: 1;
  transition: color 0.2s ease;
}

.file-upload-remove:hover {
  color: var(--orange);
}

/* ── Horizontal Divider ── */
.divider {
  width: 100%;
  height: 1px;
  background: rgba(11, 58, 102, 0.06);
  margin: 1rem 0;
}

/* ── Service detail list ── */
.service-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.service-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.88rem;
  color: var(--mid-grey);
}

.service-list li::before {
  content: '';
  flex-shrink: 0;
  width: 5px;
  height: 5px;
  background: var(--teal);
  border-radius: 50%;
}

.card-core--navy .service-list li::before {
  background: rgba(255, 255, 255, 0.4);
}

.card-core--navy .service-list li {
  color: rgba(255, 255, 255, 0.55);
}

/* ── Page Hero (inner pages) ── */
.page-hero {
  padding: 10rem 1.5rem 5rem;
  background:
    radial-gradient(ellipse 70% 50% at 30% 60%, rgba(31, 122, 140, 0.05) 0%, transparent 70%),
    var(--cream);
}

.page-hero h1 {
  margin-top: 1rem;
  margin-bottom: 1.5rem;
}

.page-hero p {
  font-size: clamp(1.05rem, 1.3vw, 1.2rem);
  max-width: 55ch;
}

/* ── Insight Cards ── */
.insight-card .card-core {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.insight-card .insight-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.78rem;
  color: var(--mid-grey);
}

.insight-card .insight-tag {
  padding: 0.25rem 0.75rem;
  background: rgba(31, 122, 140, 0.08);
  color: var(--teal);
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════ */

@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  .section { padding: 5rem 1rem; }
  .section--lg { padding: 6rem 1rem; }
  .section--cards-only { padding-top: 2rem; }

  .navbar { padding: 0.75rem 1rem; }
  .navbar-inner { padding: 0.5rem 0.5rem 0.5rem 1.25rem; }
  .navbar-links { display: none; }
  .hamburger { display: flex; }

  /* Collapse navbar CTA to icon-only on mobile */
  .navbar-inner > .btn-primary {
    padding: 0;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50%;
    justify-content: center;
    font-size: 0;
    gap: 0;
  }
  .navbar-inner > .btn-primary .btn-text { display: none; }
  .navbar-inner > .btn-primary .btn-icon {
    width: 2.75rem;
    height: 2.75rem;
    background: transparent;
  }
  .navbar-inner > .btn-primary .btn-icon-desktop { display: none; }
  .navbar-inner > .btn-primary .btn-icon-mobile { display: flex; }

  .hero { padding: 7rem 1rem 3.5rem; min-height: auto; }

  .split {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .split--reverse { direction: ltr; }

  .bento-grid--2 {
    grid-template-columns: 1fr;
  }
  .bento-grid--3 {
    grid-template-columns: repeat(2, 1fr);
  }


  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .page-hero { padding: 8rem 1rem 3.5rem; }

  .transition-row {
    gap: 1rem;
  }
  .transition-from {
    min-width: auto;
  }
}

@media (max-width: 480px) {
  h1 { font-size: 2.4rem; }
  .hero-crash-title { font-size: clamp(2.5rem, 10vw, 3.5rem); }
  .hero h1 { margin: 0.35rem 0 0.5rem; }
  .hero-description { margin-bottom: 1.5rem; }
  .hero-actions { flex-direction: column; align-items: center; }
  .card-core { padding: 1.75rem; }

  .bento-grid--3 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 380px) {
  .hero { padding: 6rem 0.75rem 3rem; }
  .hero-crash-title { font-size: clamp(2.2rem, 11vw, 3rem); }
  h1 { font-size: 2rem; }
  .section { padding: 4rem 0.75rem; }
  .section--lg { padding: 5rem 0.75rem; }
  .navbar { padding: 0.5rem 0.5rem; }
  .navbar-inner { padding: 0.4rem 0.4rem 0.4rem 1rem; }
  .page-hero { padding: 7rem 0.75rem 3rem; }
}
