/* Skyline Global Foods minimal stylesheet */

/* CSS custom properties for brand colours */
:root {
  --navy: #0f2040;
  --navy-light: #1a2e55;
  --gold: #c9991a;
  --sand: #f9f6f0;
  --white: #ffffff;
  --gray: #667085;
}

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

body {
  font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.6;
  color: var(--navy);
  background-color: var(--white);
}

.container {
  width: 90%;
  max-width: 1180px;
  margin: 0 auto;
}

/* Header */
.site-header {
  background-color: var(--navy);
  color: var(--white);
  padding: 0.75rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  height: 54px;
  width: auto;
  display: block;
}

.nav-list {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.nav-list a {
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.2s ease-in-out;
}

.nav-list a:hover {
  opacity: 0.8;
}

.button {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
}

.button.primary {
  background-color: var(--gold);
  color: var(--navy);
  border: 2px solid var(--gold);
}

.button.primary:hover {
  background-color: var(--navy);
  color: var(--gold);
}

.button.secondary {
  background-color: transparent;
  color: var(--gold);
  border: 2px solid var(--gold);
}

.button.secondary:hover {
  background-color: var(--gold);
  color: var(--navy);
}

.button.tertiary {
  background-color: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}

.button.tertiary:hover {
  background-color: var(--navy);
  color: var(--white);
}

/* Hero */
.hero {
  background-color: var(--navy);
  color: var(--white);
  padding: 4rem 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  align-items: center;
}

.hero h1 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  color: var(--gold);
}

.hero .tagline {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
  color: var(--gold);
}

.hero p {
  margin-bottom: 1.5rem;
  max-width: 500px;
}

.hero-image img {
  width: 100%;
  border-radius: 6px;
}

/* Metrics */
.metrics {
  background-color: var(--sand);
  padding: 2rem 0;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1.5rem;
  text-align: center;
}

.metric-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
}

.metric-desc {
  font-size: 0.8rem;
  color: var(--gray);
}

/* Positioning */
.positioning {
  padding: 4rem 0;
}

.pos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  align-items: center;
}

.pos-text h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.pos-text p {
  margin-bottom: 1.5rem;
}

.pos-image img {
  width: 100%;
  border-radius: 6px;
}

/* Services */
.services {
  background-color: var(--sand);
  padding: 4rem 0;
  text-align: center;
}

.services h2 {
  margin-bottom: 0.5rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.service-card {
  background-color: var(--white);
  padding: 1.5rem;
  border: 1px solid #eaeaea;
  border-radius: 6px;
  text-align: left;
}

.service-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold);
}

/* Founder */
.founder {
  padding: 4rem 0;
}

.founder-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  align-items: center;
}

.founder-image img {
  width: 100%;
  border-radius: 50%;
}

.founder-text h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.founder-text p {
  margin-bottom: 1rem;
  line-height: 1.5;
}

/* CTA */
.call-to-action {
  background-color: var(--navy);
  color: var(--white);
  text-align: center;
  padding: 3rem 0;
}

.call-to-action h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: var(--gold);
}

.call-to-action p {
  margin-bottom: 1.5rem;
}

/* Footer */
.site-footer {
  background-color: var(--navy);
  color: var(--white);
  padding: 3rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.footer-logo img {
  height: 54px;
  width: auto;
  margin-bottom: 1rem;
}

.footer-links h4 {
  margin-bottom: 0.5rem;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.4rem;
}

.footer-links a {
  color: var(--white);
  text-decoration: none;
  font-size: 0.9rem;
}

.footer-links a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 1.8rem;
  }
  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ===== Proper Mobile Header ===== */

html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

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

.logo {
  height: 52px;
  width: auto;
  display: block;
}

.site-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  align-items: center;
}

.header-cta {
  flex-shrink: 0;
}

.nav-toggle,
.hamburger,
.mobile-only {
  display: none;
}

@media (max-width: 1024px) {
  .logo {
    height: 46px;
  }

  .nav-list {
    gap: 1rem;
  }

  .nav-list a {
    font-size: 0.9rem;
  }

  .header-cta {
    padding: 0.65rem 1rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 768px) {
  .site-header {
    padding: 0.6rem 0;
  }

  .header-inner {
    position: relative;
    flex-wrap: wrap;
    gap: 0;
  }

  .logo {
    height: 42px;
  }

  .header-cta {
    display: none;
  }

  .hamburger {
    display: flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 6px;
  }

  .hamburger span {
    width: 22px;
    height: 2px;
    background: #ffffff;
    display: block;
    border-radius: 2px;
  }

  .site-nav {
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }

  .nav-toggle:checked ~ .site-nav {
    max-height: 520px;
    margin-top: 0.85rem;
  }

  .nav-list {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.75rem 0;
    border-top: 1px solid rgba(255,255,255,0.16);
  }

  .nav-list li {
    width: 100%;
  }

  .nav-list a {
    display: block;
    width: 100%;
    padding: 0.85rem 0;
    font-size: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }

  .mobile-only {
    display: block;
    margin-top: 0.75rem;
  }

  .nav-mobile-cta {
    text-align: center;
    border-bottom: 0 !important;
  }

  .hero {
    padding: 3rem 0;
  }

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

  .hero h1 {
    font-size: 2rem;
    line-height: 1.2;
  }

  .hero-cta {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  .hero-cta .button {
    width: 100%;
    text-align: center;
  }

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

  .service-grid,
  .services-grid,
  .values-grid,
  .insights-grid,
  .cards-grid,
  .split-grid,
  .about-grid,
  .leadership-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  input,
  select,
  textarea {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .container {
    width: 92%;
  }

  .logo {
    height: 38px;
  }

  .hero h1 {
    font-size: 1.75rem;
  }

  .metrics-grid {
    grid-template-columns: 1fr 1fr;
  }

  .button {
    width: 100%;
    text-align: center;
  }
}

/* ===== Premium Mobile Metrics Cards ===== */

@media (max-width: 768px) {
  .metrics {
    padding: 2.5rem 0;
  }

  .metrics-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }

  .metric {
    background: #ffffff;
    border: 1px solid rgba(15, 32, 64, 0.08);
    border-radius: 12px;
    padding: 1.25rem 0.75rem;
    text-align: center;
    min-height: 135px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .metric-number {
    display: block;
    font-size: 2rem;
    line-height: 1.1;
    font-weight: 700;
    color: var(--gold);
    white-space: nowrap;
    margin-bottom: 0.45rem;
  }

  .metric-desc {
    display: block;
    font-size: 0.84rem;
    line-height: 1.45;
    color: var(--gray);
    max-width: 135px;
    margin: 0 auto;
  }
}

@media (max-width: 480px) {
  .metrics-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
  }

  .metric {
    min-height: 125px;
    padding: 1rem 0.6rem;
  }

  .metric-number {
    font-size: 1.85rem;
  }

  .metric-desc {
    font-size: 0.78rem;
  }
}

/* ===== Metrics Section Fix: Desktop + Tablet + Mobile ===== */

.metrics {
  padding: 3rem 0;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
  align-items: stretch;
}

.metric {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  gap: 0.45rem;
  padding: 0.75rem 0.5rem;
}

.metric-number {
  display: block;
  font-size: 2.15rem;
  line-height: 1.05;
  font-weight: 700;
  color: var(--gold);
  white-space: nowrap;
}

.metric-desc {
  display: block;
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--gray);
  max-width: 180px;
  margin: 0 auto;
}

.metric-desc br {
  display: none;
}

/* Tablet */
@media (max-width: 1024px) {
  .metrics-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
  }

  .metric-number {
    font-size: 1.95rem;
  }

  .metric-desc {
    font-size: 0.82rem;
    max-width: 150px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .metrics {
    padding: 2.5rem 0;
  }

  .metrics-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem 1rem;
  }

  .metric {
    min-height: 115px;
    padding: 0.75rem 0.5rem;
  }

  .metric-number {
    font-size: 2rem;
  }

  .metric-desc {
    font-size: 0.82rem;
    line-height: 1.45;
    max-width: 135px;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .metrics-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem 0.75rem;
  }

  .metric {
    min-height: 110px;
  }

  .metric-number {
    font-size: 1.85rem;
  }

  .metric-desc {
    font-size: 0.78rem;
    max-width: 120px;
  }
}

/* ===== Contact Page Final Design ===== */

.contact-hero {
  background: var(--navy);
  color: #ffffff;
  padding: 5.25rem 0 4.75rem;
}

.contact-hero-copy {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}

.contact-eyebrow {
  margin: 0 0 1rem;
  color: var(--gold);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.contact-hero h1 {
  max-width: 950px;
  margin: 0 auto 1.25rem;
  color: var(--gold);
  font-size: clamp(2.4rem, 4vw, 4rem);
  line-height: 1.12;
  font-weight: 700;
}

.contact-intro {
  max-width: 840px;
  margin: 0 auto;
  color: #ffffff;
  font-size: 1.12rem;
  line-height: 1.75;
}

/* Contact form section */
.contact-form-section {
  background: #f7f5ef;
  padding: 4.5rem 0 5rem;
}

.contact-form-card {
  max-width: 960px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid rgba(15, 32, 64, 0.08);
  border-radius: 18px;
  padding: 2.5rem;
  box-shadow: 0 18px 45px rgba(5, 18, 44, 0.08);
}

.contact-form-heading {
  max-width: 760px;
  margin: 0 auto 2.25rem;
  text-align: center;
}

.contact-form-eyebrow {
  margin: 0 0 0.75rem;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contact-form-heading h2 {
  margin: 0 0 0.85rem;
  color: var(--navy);
  font-size: 2rem;
  line-height: 1.2;
}

.contact-form-heading p {
  margin: 0 auto;
  color: var(--gray);
  font-size: 1rem;
  line-height: 1.65;
}

.contact-form {
  width: 100%;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem 1.25rem;
}

.form-field {
  width: 100%;
}

.form-field label {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--navy);
  font-size: 0.95rem;
  font-weight: 600;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.75rem 0.85rem;
  border: 1px solid rgba(15, 32, 64, 0.18);
  border-radius: 8px;
  background: #ffffff;
  color: var(--navy);
  font: inherit;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

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

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(204, 160, 32, 0.18);
}

.full-width {
  margin-top: 1.25rem;
}

.contact-form .button {
  margin-top: 1.5rem;
}

/* Tablet */
@media (max-width: 1024px) {
  .contact-hero {
    padding: 4.5rem 0 4rem;
  }

  .contact-hero h1 {
    font-size: 2.75rem;
  }

  .contact-intro {
    max-width: 720px;
    font-size: 1.05rem;
  }

  .contact-form-card {
    padding: 2rem;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .contact-hero {
    padding: 3.5rem 0 3.25rem;
  }

  .contact-hero-copy {
    text-align: center;
  }

  .contact-eyebrow {
    font-size: 0.78rem;
    margin-bottom: 0.85rem;
  }

  .contact-hero h1 {
    font-size: 2rem;
    line-height: 1.18;
    margin-bottom: 1rem;
  }

  .contact-intro {
    font-size: 0.98rem;
    line-height: 1.65;
  }

  .contact-form-section {
    padding: 3rem 0 3.5rem;
  }

  .contact-form-card {
    padding: 1.5rem;
    border-radius: 14px;
  }

  .contact-form-heading {
    margin-bottom: 1.75rem;
    text-align: left;
  }

  .contact-form-heading h2 {
    font-size: 1.55rem;
  }

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

  .full-width {
    margin-top: 1rem;
  }

  .contact-form .button {
    width: 100%;
    text-align: center;
  }
}

/* ===== Insights Page Final Design ===== */

.insights-hero {
  background: var(--navy);
  color: #ffffff;
  padding: 5rem 0 4.5rem;
}

.insights-hero-copy {
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
}

.insights-eyebrow {
  margin: 0 0 1rem;
  color: var(--gold);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.insights-hero h1 {
  max-width: 940px;
  margin: 0 auto 1.25rem;
  color: var(--gold);
  font-size: clamp(2.25rem, 3.7vw, 3.7rem);
  line-height: 1.15;
  font-weight: 700;
}

.insights-hero p:not(.insights-eyebrow) {
  max-width: 760px;
  margin: 0 auto;
  color: #ffffff;
  font-size: 1.08rem;
  line-height: 1.75;
}

/* Featured insights section */
.insights-section {
  background: #f7f5ef;
  padding: 4.75rem 0 5.25rem;
}

.insights-section-heading {
  max-width: 760px;
  margin: 0 auto 2.75rem;
  text-align: center;
}

.section-eyebrow {
  margin: 0 0 0.75rem;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.insights-section-heading h2 {
  margin: 0 0 0.85rem;
  color: var(--navy);
  font-size: 2.15rem;
  line-height: 1.2;
}

.insights-section-heading p {
  margin: 0 auto;
  color: var(--gray);
  font-size: 1rem;
  line-height: 1.65;
}

.insights-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.insight-card {
  background: #ffffff;
  border: 1px solid rgba(15, 32, 64, 0.08);
  border-radius: 18px;
  padding: 2rem;
  min-height: 315px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 16px 38px rgba(5, 18, 44, 0.07);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.insight-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 50px rgba(5, 18, 44, 0.11);
}

.insight-tag {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 1.1rem;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: rgba(204, 160, 32, 0.12);
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.insight-card h3 {
  margin: 0 0 1rem;
  color: var(--navy);
  font-size: 1.24rem;
  line-height: 1.35;
}

.insight-card p {
  margin: 0;
  color: var(--gray);
  font-size: 0.96rem;
  line-height: 1.65;
}

.insight-status {
  margin-top: auto;
  padding-top: 1.5rem;
  color: var(--gold);
  font-size: 0.9rem;
  font-weight: 700;
}

/* Tablet */
@media (max-width: 1024px) {
  .insights-hero {
    padding: 4.25rem 0 3.75rem;
  }

  .insights-hero h1 {
    font-size: 2.65rem;
  }

  .insights-hero p:not(.insights-eyebrow) {
    max-width: 700px;
    font-size: 1.02rem;
  }

  .insights-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
  }

  .insight-card {
    padding: 1.5rem;
  }

  .insight-card h3 {
    font-size: 1.1rem;
  }

  .insight-card p {
    font-size: 0.9rem;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .insights-hero {
    padding: 3.5rem 0 3rem;
  }

  .insights-hero-copy {
    text-align: center;
  }

  .insights-eyebrow {
    font-size: 0.78rem;
    margin-bottom: 0.85rem;
  }

  .insights-hero h1 {
    font-size: 2rem;
    line-height: 1.18;
    margin-bottom: 1rem;
  }

  .insights-hero p:not(.insights-eyebrow) {
    font-size: 0.98rem;
    line-height: 1.65;
  }

  .insights-section {
    padding: 3.25rem 0 3.75rem;
  }

  .insights-section-heading {
    text-align: left;
    margin-bottom: 1.75rem;
  }

  .insights-section-heading h2 {
    font-size: 1.65rem;
  }

  .insights-cards {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .insight-card {
    min-height: auto;
    padding: 1.5rem;
    border-radius: 14px;
  }

  .insight-card h3 {
    font-size: 1.15rem;
  }
}
/* ===== Insights Article Library ===== */

.insights-hero {
  background: var(--navy, #0b1f3a);
  color: #ffffff;
  padding: 5rem 0 4.5rem;
}

.insights-hero-copy {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}

.insights-eyebrow {
  margin: 0 0 1rem;
  color: var(--gold, #c9a227);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.insights-hero h1 {
  max-width: 900px;
  margin: 0 auto 1.25rem;
  color: var(--gold, #c9a227);
  font-size: clamp(2.25rem, 3.7vw, 3.7rem);
  line-height: 1.15;
  font-weight: 700;
}

.insights-hero p:not(.insights-eyebrow) {
  max-width: 760px;
  margin: 0 auto;
  color: #ffffff;
  font-size: 1.08rem;
  line-height: 1.75;
}

.insights-library {
  background: #f7f5ef;
  padding: 4.75rem 0 5.25rem;
}

.insights-section-heading {
  max-width: 760px;
  margin: 0 auto 2.75rem;
  text-align: center;
}

.section-eyebrow {
  margin: 0 0 0.75rem;
  color: var(--gold, #c9a227);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.insights-section-heading h2 {
  margin: 0 0 0.85rem;
  color: var(--navy, #0b1f3a);
  font-size: 2.15rem;
  line-height: 1.2;
}

.insights-section-heading p {
  margin: 0 auto;
  color: var(--gray, #5f6673);
  font-size: 1rem;
  line-height: 1.65;
}

.article-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}

.article-card {
  min-height: 260px;
  padding: 1.65rem;
  background: #ffffff;
  border: 1px solid rgba(15, 32, 64, 0.08);
  border-radius: 18px;
  box-shadow: 0 14px 32px rgba(5, 18, 44, 0.06);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.article-card:hover {
  transform: translateY(-4px);
  border-color: rgba(204, 160, 32, 0.35);
  box-shadow: 0 22px 48px rgba(5, 18, 44, 0.1);
}

.article-category {
  display: inline-flex;
  width: fit-content;
  margin: 0 0 1rem;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: rgba(204, 160, 32, 0.12);
  color: var(--gold, #c9a227);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.article-card h3 {
  margin: 0 0 0.9rem;
  color: var(--navy, #0b1f3a);
  font-size: 1.12rem;
  line-height: 1.35;
}

.article-card p {
  margin: 0;
  color: var(--gray, #5f6673);
  font-size: 0.92rem;
  line-height: 1.6;
}

.article-meta {
  margin-top: auto;
  padding-top: 1.25rem;
  color: var(--gold, #c9a227);
  font-size: 0.86rem;
  font-weight: 700;
}

.article-reader-note {
  max-width: 760px;
  margin: 2.5rem auto 0;
  padding: 1rem 1.25rem;
  border: 1px solid rgba(15, 32, 64, 0.08);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.65);
  color: var(--gray, #5f6673);
  text-align: center;
}

.article-reader-note p {
  margin: 0;
}

/* Article detail cards */

.article-detail {
  display: none;
  max-width: 980px;
  margin: 2.5rem auto 0;
  scroll-margin-top: 110px;
}

.article-detail:target {
  display: block;
}

.article-detail-inner {
  background: #ffffff;
  border: 1px solid rgba(15, 32, 64, 0.08);
  border-radius: 22px;
  padding: 3rem;
  box-shadow: 0 24px 60px rgba(5, 18, 44, 0.12);
}

.article-close {
  display: inline-flex;
  margin-bottom: 1.5rem;
  color: var(--navy, #0b1f3a);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid rgba(15, 32, 64, 0.35);
}

.article-close:hover {
  color: var(--gold, #c9a227);
  border-color: var(--gold, #c9a227);
}

.article-detail h2 {
  max-width: 820px;
  margin: 0 0 1.5rem;
  color: var(--navy, #0b1f3a);
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.15;
}

.article-detail h3 {
  margin: 2rem 0 0.75rem;
  color: var(--navy, #0b1f3a);
  font-size: 1.25rem;
  line-height: 1.35;
}

.article-detail p {
  margin: 0 0 1.1rem;
  color: var(--gray, #5f6673);
  font-size: 1.03rem;
  line-height: 1.78;
}

.article-detail ul {
  margin: 0 0 1.3rem 1.2rem;
  padding: 0;
}

.article-detail li {
  margin-bottom: 0.65rem;
  color: var(--gray, #5f6673);
  font-size: 1.02rem;
  line-height: 1.65;
}

.article-source {
  margin-top: 2.5rem !important;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(15, 32, 64, 0.1);
  color: var(--navy, #0b1f3a) !important;
  font-size: 0.95rem !important;
  font-weight: 700;
}

.article-source a {
  color: var(--navy, #0b1f3a);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-source a:hover {
  color: var(--gold, #c9a227);
}

#articles {
  scroll-margin-top: 110px;
}

/* Tablet */

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

  .article-card {
    min-height: 240px;
  }
}

/* Mobile */

@media (max-width: 768px) {
  .insights-hero {
    padding: 3.5rem 0 3rem;
  }

  .insights-eyebrow {
    font-size: 0.78rem;
    margin-bottom: 0.85rem;
  }

  .insights-hero h1 {
    font-size: 2rem;
    line-height: 1.18;
    margin-bottom: 1rem;
  }

  .insights-hero p:not(.insights-eyebrow) {
    font-size: 0.98rem;
    line-height: 1.65;
  }

  .insights-library {
    padding: 3.25rem 0 3.75rem;
  }

  .insights-section-heading {
    text-align: left;
    margin-bottom: 1.75rem;
  }

  .insights-section-heading h2 {
    font-size: 1.65rem;
  }

  .article-card-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .article-card {
    min-height: auto;
    padding: 1.5rem;
    border-radius: 14px;
  }

  .article-reader-note {
    text-align: left;
    margin-top: 1.75rem;
  }

  .article-detail {
    margin-top: 1.75rem;
    scroll-margin-top: 90px;
  }

  .article-detail-inner {
    padding: 1.5rem;
    border-radius: 16px;
  }

  .article-detail h2 {
    font-size: 1.75rem;
  }

  .article-detail h3 {
    font-size: 1.12rem;
  }

  .article-detail p,
  .article-detail li {
    font-size: 0.96rem;
  }
}

/* ===== Final SGF fixes: clean mobile header, article pages, and stable desktop layout ===== */
.site-header .container.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.site-header .brand-link {
  flex: 0 0 auto;
}

.site-header .site-nav {
  flex: 1 1 auto;
  justify-content: center;
}

.site-header .nav-list {
  justify-content: center;
}

.site-header .header-language-switcher,
.site-header .header-cta {
  flex: 0 0 auto;
}

.article-page .article-detail,
.article-detail-standalone {
  display: block !important;
  margin-top: 0;
}

.article-page .article-detail-inner {
  max-width: 980px;
  margin: 0 auto;
}

@media (min-width: 769px) {
  html[lang="ar"] .site-header,
  html[lang="ar"] .header-inner {
    direction: ltr !important;
  }

  html[lang="ar"] .brand-link {
    order: 1 !important;
    margin-right: 1.5rem !important;
  }

  html[lang="ar"] .header-language-switcher {
    order: 2 !important;
    direction: ltr !important;
    margin-left: 0 !important;
    margin-right: 1.5rem !important;
  }

  html[lang="ar"] .site-nav {
    order: 3 !important;
    direction: rtl !important;
    flex: 1 1 auto !important;
    margin-inline-start: 0 !important;
  }

  html[lang="ar"] .nav-list {
    direction: rtl !important;
    flex-direction: row !important;
    justify-content: center !important;
    gap: 1.65rem !important;
  }

  html[lang="ar"] .nav-list li,
  html[lang="ar"] .nav-list a {
    direction: rtl !important;
    text-align: center !important;
  }

  html[lang="ar"] .header-cta {
    order: 4 !important;
    margin-left: 1.5rem !important;
  }
}

@media (max-width: 900px) {
  .site-header .container.header-inner {
    gap: 0.85rem;
  }

  .nav-list {
    gap: 0.85rem;
  }

  .header-language-switcher {
    margin-inline-start: 0.4rem !important;
    margin-inline-end: 0.4rem !important;
  }
}

@media (max-width: 768px) {
  .site-header {
    padding: 0.65rem 0;
  }

  .site-header .container.header-inner,
  html[lang="ar"] .site-header .container.header-inner {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    direction: ltr !important;
    gap: 0 !important;
  }

  .brand-link,
  html[lang="ar"] .brand-link {
    order: 1 !important;
    width: auto !important;
    margin: 0 !important;
  }

  .logo {
    height: 42px !important;
    max-width: 170px !important;
  }

  .hamburger,
  html[lang="ar"] .hamburger {
    order: 2 !important;
    margin-left: auto !important;
    margin-right: 0 !important;
    flex: 0 0 44px !important;
  }

  .site-nav,
  html[lang="ar"] .site-nav {
    order: 3 !important;
    flex: 0 0 100% !important;
    width: 100% !important;
    margin: 0 !important;
    direction: ltr !important;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
  }

  .nav-toggle:checked ~ .site-nav {
    max-height: 620px !important;
    margin-top: 0.9rem !important;
  }

  .nav-list,
  html[lang="ar"] .nav-list {
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0 !important;
    padding: 0.7rem 0 !important;
    border-top: 1px solid rgba(255,255,255,0.16) !important;
  }

  .nav-list li {
    width: 100% !important;
  }

  .nav-list a,
  html[lang="ar"] .nav-list a {
    width: 100% !important;
    display: block !important;
    padding: 0.9rem 1rem !important;
    border-bottom: 1px solid rgba(255,255,255,0.08) !important;
    text-align: left !important;
  }

  html[lang="ar"] .nav-list a {
    direction: rtl !important;
    text-align: right !important;
  }

  .mobile-language-switcher,
  html[lang="ar"] .mobile-language-switcher {
    display: flex !important;
    width: 100% !important;
    justify-content: flex-start !important;
    align-items: center !important;
    padding: 0.9rem 1rem !important;
    border-bottom: 1px solid rgba(255,255,255,0.08) !important;
  }

  html[lang="ar"] .mobile-language-switcher {
    justify-content: flex-end !important;
    direction: ltr !important;
  }

  .mobile-language-switcher a,
  .mobile-language-switcher span {
    width: auto !important;
    display: inline-flex !important;
    padding: 0 !important;
    border: 0 !important;
  }

  .nav-mobile-cta,
  html[lang="ar"] .nav-mobile-cta {
    margin-top: 0.75rem !important;
    text-align: center !important;
    border-bottom: 0 !important;
  }

  .hero,
  .contact-hero,
  .insights-hero {
    padding-top: 3rem !important;
  }

  .hero-grid,
  .pos-grid,
  .founder-grid {
    grid-template-columns: 1fr !important;
  }

  .hero h1,
  .contact-hero h1,
  .insights-hero h1 {
    font-size: 1.9rem !important;
    line-height: 1.25 !important;
  }

  .hero p,
  .contact-intro,
  .insights-hero p:not(.insights-eyebrow) {
    font-size: 0.98rem !important;
  }
}

@media (max-width: 420px) {
  .logo {
    height: 38px !important;
    max-width: 150px !important;
  }

  .hamburger,
  html[lang="ar"] .hamburger {
    width: 40px !important;
    height: 40px !important;
    flex-basis: 40px !important;
  }

  .hero h1,
  .contact-hero h1,
  .insights-hero h1 {
    font-size: 1.65rem !important;
  }
}

/* ===== Language switcher desktop/mobile correction ===== */
.header-language-switcher,
.mobile-language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  white-space: nowrap;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.82);
}

.header-language-switcher a,
.mobile-language-switcher a {
  color: var(--gold) !important;
  text-decoration: none !important;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.header-language-switcher a:hover,
.mobile-language-switcher a:hover {
  color: #ffffff !important;
  border-bottom-color: var(--gold);
}

.header-language-switcher .active-lang,
.mobile-language-switcher .active-lang {
  color: #ffffff !important;
}

.header-language-switcher .lang-separator,
.mobile-language-switcher .lang-separator {
  color: rgba(255, 255, 255, 0.42) !important;
}

@media (min-width: 769px) {
  html[lang="ar"] .brand-link {
    order: 1 !important;
    margin-right: 1.5rem !important;
  }

  html[lang="ar"] .site-nav {
    order: 2 !important;
    direction: rtl !important;
    flex: 1 1 auto !important;
    margin-inline-start: 0 !important;
  }

  html[lang="ar"] .header-language-switcher {
    order: 3 !important;
    direction: ltr !important;
    margin-left: 1.5rem !important;
    margin-right: 0.75rem !important;
  }

  html[lang="ar"] .header-cta {
    order: 4 !important;
    margin-left: 0 !important;
  }
}


/* ===== SGF v4 language switcher final correction ===== */
.site-header .header-language-switcher {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.38rem !important;
  white-space: nowrap !important;
  font-weight: 700 !important;
  color: rgba(255,255,255,0.84) !important;
}

.site-header .header-language-switcher a,
.site-header .mobile-language-switcher a {
  color: var(--gold) !important;
  text-decoration: none !important;
  border-bottom: 1px solid transparent !important;
}

.site-header .header-language-switcher a:hover,
.site-header .mobile-language-switcher a:hover {
  color: #ffffff !important;
  border-bottom-color: var(--gold) !important;
}

.site-header .header-language-switcher .active-lang,
.site-header .mobile-language-switcher .active-lang {
  color: #ffffff !important;
}

.site-header .header-language-switcher .lang-separator,
.site-header .mobile-language-switcher .lang-separator {
  color: rgba(255,255,255,0.45) !important;
}

@media (min-width: 769px) {
  .site-header .nav-list .mobile-only,
  .site-header .nav-list .mobile-language-switcher {
    display: none !important;
  }

  .site-header .header-language-switcher {
    display: inline-flex !important;
  }

  html[lang="en"] .site-header .header-language-switcher {
    margin-left: 0.5rem !important;
    margin-right: 0.5rem !important;
  }

  html[lang="ar"] .site-header,
  html[lang="ar"] .site-header .container.header-inner {
    direction: ltr !important;
  }

  html[lang="ar"] .site-header .brand-link {
    order: 1 !important;
    margin-right: 1.5rem !important;
    margin-left: 0 !important;
  }

  html[lang="ar"] .site-header .site-nav {
    order: 2 !important;
    direction: rtl !important;
    flex: 1 1 auto !important;
    justify-content: center !important;
  }

  html[lang="ar"] .site-header .nav-list {
    direction: rtl !important;
    flex-direction: row !important;
    justify-content: center !important;
  }

  html[lang="ar"] .site-header .header-language-switcher {
    order: 3 !important;
    direction: ltr !important;
    margin-left: 1.25rem !important;
    margin-right: 0.75rem !important;
  }

  html[lang="ar"] .site-header .header-cta {
    order: 4 !important;
    margin-left: 0 !important;
  }
}

@media (max-width: 768px) {
  .site-header .header-language-switcher,
  .site-header .header-cta {
    display: none !important;
  }

  .site-header .nav-list .mobile-only {
    display: block !important;
  }

  .site-header .nav-list .mobile-language-switcher,
  html[lang="ar"] .site-header .nav-list .mobile-language-switcher {
    display: flex !important;
    width: 100% !important;
    align-items: center !important;
    gap: 0.38rem !important;
    padding: 0.9rem 1rem !important;
    border-bottom: 1px solid rgba(255,255,255,0.08) !important;
  }

  html[lang="en"] .site-header .nav-list .mobile-language-switcher {
    justify-content: flex-start !important;
    direction: ltr !important;
  }

  html[lang="ar"] .site-header .nav-list .mobile-language-switcher {
    justify-content: flex-end !important;
    direction: ltr !important;
  }

  .site-header .mobile-language-switcher a,
  .site-header .mobile-language-switcher span {
    display: inline-flex !important;
    width: auto !important;
    padding: 0 !important;
    border-bottom: 0 !important;
  }
}


/* ===== SEO FAQ and article depth additions v5 ===== */
.faq-section {
  padding: 4rem 0;
  background: var(--sand);
}
.faq-section .section-eyebrow {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 700;
  font-size: 0.78rem;
  margin-bottom: 0.6rem;
}
.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}
.faq-item {
  background: var(--white);
  border: 1px solid rgba(15,32,64,0.08);
  border-radius: 10px;
  padding: 1.35rem;
  box-shadow: 0 12px 28px rgba(15,32,64,0.06);
}
.faq-item h3 {
  font-size: 1.02rem;
  margin-bottom: 0.65rem;
  color: var(--navy);
}
.faq-item p {
  color: var(--gray);
  margin-bottom: 0;
}
.article-detail-inner h3 {
  margin-top: 1.7rem;
  margin-bottom: 0.65rem;
  color: var(--navy);
}
.article-detail-inner ul,
.article-detail-inner ol {
  margin: 0.6rem 0 1rem 1.35rem;
  color: var(--gray);
}
.article-detail-inner li {
  margin-bottom: 0.45rem;
}
html[lang="ar"] .article-detail-inner ul,
html[lang="ar"] .article-detail-inner ol {
  margin-left: 0;
  margin-right: 1.35rem;
}
.article-insight-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 1.4rem;
  font-size: 0.95rem;
}
.article-insight-table th,
.article-insight-table td {
  border: 1px solid rgba(15,32,64,0.12);
  padding: 0.75rem;
  text-align: left;
  vertical-align: top;
}
.article-insight-table th {
  background: var(--navy);
  color: var(--white);
}
html[lang="ar"] .article-insight-table th,
html[lang="ar"] .article-insight-table td {
  text-align: right;
}
.article-cta-note {
  margin-top: 1.5rem;
  padding: 1rem 1.2rem;
  border-left: 4px solid var(--gold);
  background: var(--sand);
  color: var(--navy);
  border-radius: 6px;
}
html[lang="ar"] .article-cta-note {
  border-left: 0;
  border-right: 4px solid var(--gold);
}
