/* ==========================================================================
   SpArrow Fin — Shared Stylesheet
   ========================================================================== */

:root {
  --navy-900: #0b1a2d;
  --navy-800: #102544;
  --navy-700: #15294d;
  --navy-600: #1d4b8f;
  --navy-border: #2b3f63;
  --cream: #f8f4ec;
  --cream-dark: #efe7d6;
  --gold: #d4af37;
  --gold-dark: #b8932a;
  --white: #ffffff;
  --text-on-navy: #e6ebf3;
  --text-on-navy-muted: #aab6cc;
  --text-on-cream: #2b2f3a;
  --text-on-cream-muted: #5a6275;
  --max-width: 1200px;
  --radius: 10px;
  --font-serif: "Playfair Display", "Georgia", serif;
  --font-sans: "Inter", "Helvetica Neue", Arial, sans-serif;
}

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

body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--cream);
  color: var(--text-on-cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

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

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.01em;
  margin: 0 0 20px;
}

h1 { font-size: 44px; }
h2 { font-size: 34px; }
h3 { font-size: 21px; }
h4 { font-size: 17px; }

@media (max-width: 768px) {
  h1 { font-size: 34px; }
  h2 { font-size: 27px; }
}

p { margin: 0 0 18px; }

p:last-child { margin-bottom: 0; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 20px;
}

.eyebrow.on-navy { color: var(--gold); }

section { padding: 116px 0; }

@media (max-width: 768px) {
  section { padding: 64px 0; }
  .container { padding: 0 20px; }
}

/* ---------------------------------------------------------------------- */
/* Header / Navigation                                                    */
/* ---------------------------------------------------------------------- */

.site-header {
  background: var(--cream);
  border-bottom: 1px solid var(--cream-dark);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 32px;
  gap: 24px;
}

.logo-link {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-img {
  height: 136px;
  width: auto;
}

.main-nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav a {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-on-cream);
  letter-spacing: 0.01em;
  padding: 8px 2px;
  position: relative;
  white-space: nowrap;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.2s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 100%;
}

.main-nav a.active {
  color: var(--navy-600);
}

/* Solutions dropdown (desktop: hover-reveal / mobile: tap-toggle accordion) */
.main-nav li.has-dropdown {
  display: flex;
  align-items: center;
  position: relative;
}

.main-nav .dropdown-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  margin-left: 2px;
  background: none;
  border: none;
  padding: 0;
  color: var(--text-on-cream);
  cursor: pointer;
}

.main-nav .dropdown-toggle .icon {
  width: 13px;
  height: 13px;
  transition: transform 0.2s ease;
}

.main-nav .dropdown {
  list-style: none;
  margin: 0;
  padding: 10px;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translate(-50%, 6px);
  min-width: 190px;
  background: var(--white);
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius);
  box-shadow: 0 18px 44px rgba(11, 26, 45, 0.12);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 110;
}

.main-nav li.has-dropdown:hover .dropdown,
.main-nav li.has-dropdown:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.main-nav .dropdown li { margin: 0; }

.main-nav .dropdown a {
  display: block;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 6px;
  white-space: nowrap;
}

.main-nav .dropdown a::after { display: none; }

.main-nav .dropdown a:hover,
.main-nav .dropdown a.active {
  background: var(--cream);
  color: var(--navy-600);
}

.btn-contact {
  flex-shrink: 0;
  background: var(--navy-800);
  color: var(--white) !important;
  font-weight: 700;
  font-size: 12px;
  padding: 7px 15px;
  border-radius: var(--radius);
  border: 2px solid var(--navy-800);
  transition: all 0.2s ease;
}

.btn-contact:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy-900) !important;
  box-shadow: 0 0 18px 1px rgba(212, 175, 55, 0.4);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--navy-800);
}

@media (max-width: 900px) {
  .main-nav {
    position: fixed;
    top: 84px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--cream);
    flex-direction: column;
    justify-content: flex-start;
    padding: 24px;
    transform: translateX(100%);
    transition: transform 0.25s ease;
    z-index: 99;
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
    width: 100%;
  }
  .main-nav a { font-size: 18px; }
  .nav-toggle { display: flex; }
  .header-inner { padding: 10px 20px; }
  .logo-img { height: 68px; }

  .main-nav li.has-dropdown {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
  }
  .main-nav li.has-dropdown > a { flex: 1; }
  .main-nav .dropdown-toggle {
    display: flex;
    position: absolute;
    top: 4px;
    right: 0;
    width: 32px;
    height: 32px;
  }
  .main-nav .dropdown-toggle .icon { width: 16px; height: 16px; }
  .main-nav li.has-dropdown.open .dropdown-toggle .icon { transform: rotate(180deg); }
  .main-nav .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    border-left: 1px solid var(--cream-dark);
    border-radius: 0;
    background: transparent;
    min-width: 0;
    width: 100%;
    margin: 4px 0 0 4px;
    padding: 2px 0 2px 16px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }
  .main-nav li.has-dropdown.open .dropdown { max-height: 220px; }
  .main-nav .dropdown a { font-size: 16px; padding: 8px 0; }
}

/* ---------------------------------------------------------------------- */
/* Buttons (general)                                                      */
/* ---------------------------------------------------------------------- */

.btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 15px;
  padding: 14px 30px;
  border-radius: var(--radius);
  cursor: pointer;
  border: 2px solid transparent;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, box-shadow 0.35s ease, transform 0.25s ease;
  box-shadow: 0 0 0 0 rgba(212, 175, 55, 0);
}

.btn-primary {
  background: var(--gold);
  color: var(--navy-900);
  border-color: var(--gold);
}

.btn-primary:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  box-shadow: 0 0 26px 2px rgba(212, 175, 55, 0.45);
  transform: translateY(-1px);
}

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-outline-light:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 22px 1px rgba(255, 255, 255, 0.12);
}

.btn-outline-navy {
  background: transparent;
  color: var(--navy-800);
  border-color: var(--navy-800);
}

.btn-outline-navy:hover {
  background: var(--navy-800);
  color: var(--white);
  box-shadow: 0 0 22px 1px rgba(11, 26, 45, 0.18);
}

/* ---------------------------------------------------------------------- */
/* Navy section / hero                                                    */
/* ---------------------------------------------------------------------- */

.section-navy {
  background: var(--navy-800);
  color: var(--text-on-navy);
}

.section-navy h1,
.section-navy h2,
.section-navy h3 { color: var(--white); }

.section-navy p { color: var(--text-on-navy-muted); }

.hero {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 56px;
}

.hero h1 {
  font-size: 44px;
  margin: 0;
}

.hero .hero-copy {
  padding-top: 10px;
  font-size: 17px;
}

@media (max-width: 800px) {
  .hero { grid-template-columns: 1fr; gap: 20px; }
  .hero h1 { font-size: 32px; }
}

/* ---------------------------------------------------------------------- */
/* Cards grid (Solutions, Insights, etc.)                                 */
/* ---------------------------------------------------------------------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--navy-border);
  border: 1px solid var(--navy-border);
}

.card {
  background: var(--navy-800);
  padding: 36px 32px;
}

.card h3 {
  font-size: 22px;
  color: var(--white);
  margin-bottom: 14px;
}

.card p {
  font-size: 15px;
  color: var(--text-on-navy-muted);
  margin: 0;
}

@media (max-width: 900px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
}

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

/* Light variant card grid (used on cream backgrounds) */
.card-grid-light {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.card-light {
  position: relative;
  background: var(--white);
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius);
  padding: 36px 30px;
  overflow: hidden;
  box-shadow: 0 2px 18px rgba(11, 26, 45, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-light::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gold);
}

.card-light:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(11, 26, 45, 0.1);
}

.card-light h3 {
  font-size: 20px;
  color: var(--navy-800);
  margin-bottom: 10px;
}

.card-light p {
  font-size: 15px;
  color: var(--text-on-cream-muted);
  margin: 0;
}

/* Team / leadership cards */
.team-card .team-photo-wrap {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  margin-bottom: 20px;
  overflow: hidden;
  border: 2px solid var(--gold);
  flex-shrink: 0;
}

.team-card .team-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.avatar-placeholder {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  background: var(--navy-800);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
  border: 2px solid var(--gold);
  flex-shrink: 0;
}

.team-card h3 {
  margin-bottom: 2px;
}

.team-card .team-title {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 14px;
}

.team-card p {
  font-size: 15px;
  color: var(--text-on-cream-muted);
  margin: 0;
}

@media (max-width: 900px) {
  .card-grid-light { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .card-grid-light { grid-template-columns: 1fr; }
}

/* ---------------------------------------------------------------------- */
/* Generic section layout helpers                                         */
/* ---------------------------------------------------------------------- */

.section-head {
  max-width: 740px;
  margin-bottom: 64px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

@media (max-width: 800px) {
  .two-col { grid-template-columns: 1fr; gap: 28px; }
}

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 36px;
}

@media (max-width: 900px) {
  .pillar-grid { grid-template-columns: repeat(2, 1fr); }
}

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

.pillar {
  border-top: 3px solid var(--gold);
  padding-top: 22px;
  transition: transform 0.3s ease;
}

.pillar:hover { transform: translateY(-4px); }

.pillar h3 {
  font-size: 18px;
  color: var(--navy-800);
}

.pillar p {
  font-size: 14.5px;
  color: var(--text-on-cream-muted);
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

@media (max-width: 700px) {
  .stat-row { grid-template-columns: repeat(2, 1fr); }
}

.stat-row .stat-num {
  font-family: var(--font-serif);
  font-size: 38px;
  color: var(--gold);
  font-weight: 700;
}

.stat-row .stat-label {
  font-size: 13.5px;
  color: var(--text-on-navy-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* CTA band */
.cta-band {
  background: var(--navy-900);
  color: var(--white);
  text-align: center;
  padding: 72px 0;
}

.cta-band h2 { color: var(--white); }
.cta-band p { color: var(--text-on-navy-muted); max-width: 560px; margin: 0 auto 28px; }

/* Placeholder note banner (visible cue to swap in real content) */
.placeholder-note {
  display: inline-block;
  background: #fff3d6;
  border: 1px dashed var(--gold-dark);
  color: #6b5217;
  font-size: 13px;
  padding: 6px 12px;
  border-radius: var(--radius);
  margin-bottom: 20px;
}

/* ---------------------------------------------------------------------- */
/* Legal / utility page content                                          */
/* ---------------------------------------------------------------------- */

.legal-hero h1 { font-size: 38px; margin-bottom: 8px; }
.legal-hero p { font-size: 15px; }

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

.legal-content .updated-date {
  display: block;
  color: var(--text-on-cream-muted);
  font-size: 13.5px;
  margin-bottom: 32px;
}

.legal-content h2 {
  font-size: 22px;
  color: var(--navy-800);
  margin-top: 40px;
}

.legal-content h2:first-of-type { margin-top: 0; }

.legal-content p,
.legal-content li {
  font-size: 15.5px;
  color: var(--text-on-cream-muted);
}

.legal-content ul,
.legal-content ol {
  margin: 0 0 16px;
  padding-left: 22px;
}

.legal-content li { margin-bottom: 8px; }

.legal-content a { color: var(--navy-600); text-decoration: underline; }

/* ---------------------------------------------------------------------- */
/* Forms                                                                  */
/* ---------------------------------------------------------------------- */

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

.form-grid .full { grid-column: 1 / -1; }

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

label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-on-cream);
  margin-bottom: 6px;
}

input, textarea, select {
  width: 100%;
  font-family: var(--font-sans);
  font-size: 15px;
  padding: 12px 14px;
  border: 1px solid #d8d2c2;
  border-radius: var(--radius);
  background: var(--white);
  color: var(--text-on-cream);
}

input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--navy-600);
}

textarea { resize: vertical; min-height: 130px; }

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

.site-footer {
  background: var(--navy-900);
  color: var(--text-on-navy-muted);
  padding-top: 56px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--navy-border);
}

.footer-logo {
  height: 124px;
  width: auto;
  margin-bottom: 16px;
  /* logo is navy/gold; place on a light chip so it stays legible on dark footer */
  background: var(--cream);
  padding: 14px 20px;
  border-radius: var(--radius);
}

.footer-brand p {
  font-size: 14px;
  max-width: 320px;
}

.site-footer h4 {
  font-family: var(--font-sans);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--white);
  margin-bottom: 16px;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer ul li { margin-bottom: 10px; }

.site-footer a {
  font-size: 14.5px;
  color: var(--text-on-navy-muted);
}

.site-footer a:hover { color: var(--gold); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 22px 0;
  font-size: 13px;
}

@media (max-width: 800px) {
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
}

/* ---------------------------------------------------------------------- */
/* Icon system                                                            */
/* ---------------------------------------------------------------------- */

.icon {
  width: 1em;
  height: 1em;
  display: block;
  stroke-width: 2.1;
}

.icon-badge {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 27px;
  margin-bottom: 16px;
  flex-shrink: 0;
  position: relative;
  box-shadow: 0 8px 18px -8px rgba(11, 26, 45, 0.3), inset 0 0 0 1px rgba(212, 175, 55, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.icon-badge::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 50%;
  border: 1px solid rgba(212, 175, 55, 0.4);
  pointer-events: none;
}

.icon-badge.on-cream {
  background: radial-gradient(circle at 32% 28%, rgba(212, 175, 55, 0.28), rgba(212, 175, 55, 0.07) 72%);
  color: var(--gold-dark);
}

.icon-badge.on-navy {
  background: radial-gradient(circle at 32% 28%, rgba(212, 175, 55, 0.32), rgba(212, 175, 55, 0.1) 72%);
  color: var(--gold);
}

.icon-badge.on-navy::after { border-color: rgba(212, 175, 55, 0.55); }

.card:hover .icon-badge,
.pillar:hover .icon-badge,
.industry-card:hover .icon-badge {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 12px 24px -10px rgba(212, 175, 55, 0.45), inset 0 0 0 1px rgba(212, 175, 55, 0.1);
}

.card-light .icon-badge,
.pillar .icon-badge,
.card-light h3, .pillar h3 { }

.pillar .icon-badge {
  width: 52px;
  height: 52px;
  font-size: 23px;
  margin-bottom: 14px;
}

/* ---------------------------------------------------------------------- */
/* Media: hero video banner + image strips                               */
/* ---------------------------------------------------------------------- */

.hero-banner {
  position: relative;
  overflow: hidden;
}

.hero-banner .hero-bg-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-banner .hero-bg-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(100deg, rgba(11,26,45,0.95) 0%, rgba(11,26,45,0.9) 32%, rgba(11,26,45,0.6) 65%, rgba(11,26,45,0.4) 100%);
}

.hero-banner .container {
  position: relative;
  z-index: 2;
}

.hero-banner .hero-copy,
.hero-banner .hero-copy p {
  color: rgba(255, 255, 255, 0.94);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.25);
}

/* Statement band — no-photo replacement for the old media-strip banners.
   Pairs a gold icon badge with a serif pull-quote on a subtle navy panel. */
.statement-band {
  background: linear-gradient(100deg, var(--navy-900) 0%, #112338 100%);
  padding: 52px 0;
  position: relative;
  overflow: hidden;
}

.statement-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 14% 50%, rgba(212,175,55,0.10), transparent 60%);
  pointer-events: none;
}

.statement-band-inner {
  display: flex;
  align-items: center;
  gap: 26px;
  max-width: 820px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.statement-band .icon-badge {
  width: 64px;
  height: 64px;
  font-size: 28px;
  margin-bottom: 0;
  border: 1px solid rgba(212,175,55,0.35);
}

.statement-band blockquote {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 22px;
  line-height: 1.45;
  font-weight: 600;
  color: var(--white);
}

@media (max-width: 700px) {
  .statement-band { padding: 36px 0; }
  .statement-band-inner { gap: 18px; }
  .statement-band .icon-badge { width: 50px; height: 50px; font-size: 22px; }
  .statement-band blockquote { font-size: 18px; }
}

/* ---------------------------------------------------------------------- */
/* Footer: social icons + legal/utility links                            */
/* ---------------------------------------------------------------------- */

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 18px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--navy-border);
  color: var(--text-on-navy-muted);
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.footer-social a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy-900);
}

.footer-social svg {
  width: 17px;
  height: 17px;
}

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  align-items: center;
  padding: 18px 0;
  font-size: 12.5px;
  border-top: 1px solid var(--navy-border);
}

.footer-legal-links span {
  color: var(--navy-border);
}

.footer-legal-links a {
  color: var(--text-on-navy-muted);
}

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

/* ---------------------------------------------------------------------- */
/* Photo feature panel (standalone editorial photograph per page)        */
/* ---------------------------------------------------------------------- */

.photo-feature-section {
  padding: 0 0 88px;
}

.photo-feature {
  position: relative;
  margin: 0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 22px 48px -20px rgba(11, 26, 45, 0.28);
}

.photo-feature::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gold);
  z-index: 2;
}

.photo-feature img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  display: block;
  filter: brightness(1.07) saturate(1.12) contrast(1.03);
}

.photo-feature figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 26px 32px;
  background: linear-gradient(180deg, rgba(11, 26, 45, 0) 0%, rgba(11, 26, 45, 0.55) 55%, rgba(11, 26, 45, 0.85) 100%);
  color: var(--white);
}

.photo-feature-eyebrow {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}

.photo-feature-caption {
  display: block;
  font-family: var(--font-serif);
  font-size: 20px;
  max-width: 620px;
}

@media (max-width: 700px) {
  .photo-feature img { height: 280px; }
  .photo-feature-caption { font-size: 17px; }
}

/* ---------------------------------------------------------------------- */
/* Cookie preferences modal (placeholder UI — no consent backend wired)   */
/* ---------------------------------------------------------------------- */

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(11,26,45,0.65);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 20px;
}

.modal-overlay.open { display: flex; }

.modal-box {
  position: relative;
  background: var(--cream);
  border-radius: var(--radius);
  max-width: 480px;
  width: 100%;
  padding: 32px;
  max-height: 86vh;
  overflow-y: auto;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  color: var(--text-on-cream-muted);
}

.pref-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--cream-dark);
}

.pref-row:last-of-type { border-bottom: none; }

.pref-row strong {
  display: block;
  font-size: 14.5px;
  color: var(--text-on-cream);
}

.pref-row .pref-desc {
  font-size: 13px;
  color: var(--text-on-cream-muted);
}

.switch {
  position: relative;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
}

.switch input { opacity: 0; width: 0; height: 0; }

.switch .track {
  position: absolute;
  inset: 0;
  background: #d8d2c2;
  border-radius: 999px;
  transition: 0.2s;
  cursor: pointer;
}

.switch .track::before {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  left: 3px;
  top: 3px;
  background: #fff;
  border-radius: 50%;
  transition: 0.2s;
}

.switch input:checked + .track { background: var(--navy-600); }
.switch input:checked + .track::before { transform: translateX(20px); }
.switch input:disabled + .track { background: var(--gold-dark); opacity: 0.7; cursor: not-allowed; }

.modal-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
}

/* ---------------------------------------------------------------------- */
/* Scroll-reveal animation utility                                       */
/* ---------------------------------------------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------------------------------------------------------------------- */
/* Funding Ecosystem diagram (homepage differentiator)                   */
/* ---------------------------------------------------------------------- */

.ecosystem-diagram {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  padding: 8px 0;
}

.eco-providers {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  width: 100%;
  margin-bottom: 0;
}

.eco-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 9px;
  text-align: center;
  flex: 0 1 30%;
  min-width: 138px;
  padding: 18px 10px 16px;
  border-radius: 14px;
  background: linear-gradient(160deg, rgba(212, 175, 55, 0.09), rgba(212, 175, 55, 0.02));
  border: 1px solid rgba(212, 175, 55, 0.28);
  box-shadow: 0 10px 24px -14px rgba(0, 0, 0, 0.5);
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.eco-node:hover {
  transform: translateY(-4px);
  border-color: rgba(212, 175, 55, 0.6);
  background: linear-gradient(160deg, rgba(212, 175, 55, 0.16), rgba(212, 175, 55, 0.03));
  box-shadow: 0 16px 30px -14px rgba(212, 175, 55, 0.35);
}

.eco-node .icon-badge {
  width: 42px;
  height: 42px;
  font-size: 19px;
  margin-bottom: 0;
  box-shadow: none;
}

.eco-node span {
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--text-on-navy);
}

.eco-connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  margin: 10px 0;
}

.eco-connector-line {
  width: 1px;
  height: 30px;
  background: linear-gradient(to bottom, rgba(212, 175, 55, 0.6), rgba(212, 175, 55, 0.1));
}

.eco-connector .icon {
  width: 14px;
  height: 14px;
  color: var(--gold);
}

.eco-hub {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 22px 38px;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.18), rgba(212, 175, 55, 0.04));
  border: 1.5px solid rgba(212, 175, 55, 0.65);
  border-radius: 16px;
  margin: 2px 0;
  position: relative;
  box-shadow: 0 16px 34px -14px rgba(212, 175, 55, 0.4);
}

.eco-hub::before {
  content: "";
  position: absolute;
  inset: -7px;
  border: 1px solid rgba(212, 175, 55, 0.18);
  border-radius: 21px;
  pointer-events: none;
}

.eco-hub-mark {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--gold);
  white-space: nowrap;
}

.eco-hub-sub {
  font-size: 11.5px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-on-navy-muted);
  white-space: nowrap;
}

.eco-client {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 2px;
  padding: 11px 24px;
  border-radius: 999px;
  border: 1px solid rgba(248, 244, 236, 0.28);
  background: rgba(248, 244, 236, 0.04);
}

.eco-client .icon {
  width: 18px;
  height: 18px;
  color: var(--gold);
}

.eco-client span {
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
}

@media (max-width: 560px) {
  .eco-node { flex: 0 1 45%; }
  .eco-hub { padding: 18px 26px; }
  .eco-hub-mark { font-size: 19px; }
}

/* ---------------------------------------------------------------------- */
/* Industries page                                                       */
/* ---------------------------------------------------------------------- */

.industries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 36px;
}

@media (max-width: 900px) {
  .industries-grid { grid-template-columns: repeat(2, 1fr); }
}

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

.industry-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius);
  padding: 40px 32px;
  overflow: hidden;
  box-shadow: 0 2px 18px rgba(11, 26, 45, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.industry-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gold);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.industry-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 44px rgba(11, 26, 45, 0.1);
}

.industry-card:hover::before { opacity: 1; }

.industry-card .icon-badge {
  width: 66px;
  height: 66px;
  font-size: 30px;
  margin-bottom: 22px;
}

.industry-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 12px;
}

.industry-card p {
  font-size: 14.5px;
  color: var(--text-on-cream-muted);
  margin: 0;
}

/* ---------------------------------------------------------------------- */
/* Let's Connect page                                                    */
/* ---------------------------------------------------------------------- */

.connect-hero {
  text-align: center;
  padding: 76px 0 64px;
}

.connect-hero h1 { max-width: 720px; margin: 0 auto 18px; }
.connect-hero p { max-width: 640px; margin: 0 auto 32px; font-size: 16.5px; }

.connect-cta-row {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.connect-info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-bottom: 64px;
}

@media (max-width: 900px) {
  .connect-info-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .connect-info-grid { grid-template-columns: 1fr; }
}

.connect-info-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius);
  padding: 30px 24px;
  text-align: center;
  overflow: hidden;
  box-shadow: 0 2px 18px rgba(11, 26, 45, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.connect-info-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gold);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.connect-info-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(11, 26, 45, 0.09);
}

.connect-info-card:hover::before { opacity: 1; }

.connect-info-card h4 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--navy-600);
  margin: 14px 0 6px;
}

.connect-info-card p {
  font-size: 14.5px;
  color: var(--text-on-cream-muted);
  margin: 0;
}

.connect-form-layout {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 48px;
  align-items: start;
}

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

.category-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (max-width: 560px) {
  .category-list { grid-template-columns: 1fr; }
}

.category-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-on-cream-muted);
  background: var(--cream);
  border-radius: var(--radius);
  padding: 10px 12px;
}

.category-list .icon {
  width: 16px;
  height: 16px;
  color: var(--gold-dark);
  flex-shrink: 0;
}

/* Tighten nav spacing slightly at in-between widths so "Partner With Us"
   and the Solutions dropdown arrow never wrap awkwardly before the mobile
   breakpoint kicks in (desktop horizontal nav only — mobile menu untouched) */
@media (min-width: 901px) and (max-width: 1180px) {
  .main-nav ul { gap: 20px; }
  .main-nav a { font-size: 14px; }
}
