/* ============================================================
   Intel-led Consulting — Global Stylesheet
   ============================================================ */

/* ---------- Variables ---------- */
:root {
  --red:        #F3434F;
  --white:      #FFFFFF;
  --gray:       #F2F2F2;
  --black:      #000000;
  --dark-text:  #1a1a1a;
  --mid-text:   #555;
  --font:       'Helvetica Neue', Helvetica, Arial, sans-serif;
  --nav-h:      72px;
  --max-w:      1180px;
  --pad-x:      5vw;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--dark-text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a   { color: inherit; text-decoration: none; }

/* ---------- Utility ---------- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

.text-red   { color: var(--red); }
.text-white { color: var(--white); }

/* ============================================================
   NAVIGATION
   ============================================================ */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: var(--white);
  transition: background 0.3s;
}

/* Transparent nav for dark-hero pages */
.nav-transparent .site-nav {
  background: transparent;
}

.nav-inner {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo img {
  height: 46px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-links a {
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.03em;
  color: var(--dark-text);
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}

/* White links for transparent/dark nav */
.nav-transparent .nav-links a {
  color: var(--white);
}

.nav-links a:hover,
.nav-links a.active {
  border-bottom-color: currentColor;
}

/* Active link: red text + underline on white nav */
.nav-links a.active {
  color: var(--red);
  border-bottom-color: var(--red);
}
/* Keep white on transparent (dark-hero) nav */
.nav-transparent .nav-links a.active {
  color: var(--white);
  border-bottom-color: var(--white);
}

/* Mobile hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 28px;
  height: 24px;
  flex-direction: column;
  justify-content: space-between;
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--dark-text);
  transition: background 0.2s;
}
.nav-transparent .nav-toggle span { background: var(--white); }

/* Mobile menu */
.nav-mobile {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: var(--white);
  z-index: 199;
  padding: 24px var(--pad-x) 32px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}
.nav-mobile.open { display: block; }
.nav-mobile a {
  display: block;
  font-size: 18px;
  font-weight: 500;
  color: var(--dark-text);
  padding: 14px 0;
  border-bottom: 1px solid #eee;
}
.nav-mobile a.active { color: var(--red); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-block;
  padding: 11px 26px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: opacity 0.2s;
}
.btn:hover { opacity: 0.85; }

.btn-red {
  background: var(--red);
  color: var(--white);
}

.btn-white {
  background: var(--white);
  color: var(--red);
}

.btn-red-small {
  background: var(--red);
  color: var(--white);
  display: inline-block;
  padding: 9px 20px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.2s;
}
.btn-red-small:hover { opacity: 0.85; }

/* ============================================================
   FORMS — Base
   ============================================================ */
.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 6px;
}

.form-group label span {
  font-weight: 400;
  font-size: 12px;
  opacity: 0.75;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  font-family: var(--font);
  font-size: 15px;
  border: 1px solid #ddd;
  border-radius: 0;
  background: var(--white);
  color: var(--dark-text);
  outline: none;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--dark-text);
}

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

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

/* Forms on red background */
.form-on-red .form-group label { color: var(--white); }
.form-on-red .form-group label span { color: rgba(255,255,255,0.75); }

.form-on-red .form-group input,
.form-on-red .form-group textarea {
  background: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--white);
}

.form-on-red .form-group input::placeholder,
.form-on-red .form-group textarea::placeholder {
  color: rgba(255,255,255,0.55);
}

.form-on-red .form-group input:focus,
.form-on-red .form-group textarea:focus {
  border-color: rgba(255,255,255,0.7);
  outline: none;
}

.form-label-group {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 10px;
  color: var(--white);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--black);
  color: rgba(255,255,255,0.75);
  padding: 56px 0 40px;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: grid;
  grid-template-columns: auto 1fr 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.footer-logo img {
  height: 46px;
  width: auto;
  opacity: 0.9;
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 16px;
}

.footer-links-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 24px;
}

.footer-links-grid a,
.footer-col a {
  display: block;
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  margin-bottom: 10px;
  transition: color 0.2s;
}

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

.footer-social-icon {
  display: inline-flex;
  color: rgba(255,255,255,0.65);
  transition: color 0.2s;
}
.footer-social-icon svg { display: block; width: 28px; height: 28px; }
.footer-social-icon:hover { color: var(--white); }

.footer-signup p {
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255,255,255,0.65);
  margin-bottom: 14px;
}

.footer-signup-form {
  display: flex;
  gap: 8px;
}

.footer-signup-form input {
  flex: 1;
  min-width: 0;
  padding: 9px 12px;
  font-family: var(--font);
  font-size: 13px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--white);
  outline: none;
}

.footer-signup-form input::placeholder { color: rgba(255,255,255,0.4); }
.footer-signup-form input:focus { border-color: rgba(255,255,255,0.5); }

/* ============================================================
   HERO — shared
   ============================================================ */
.hero {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  color: var(--white);
}

/* For nav-transparent pages the hero fills to page top */
.nav-transparent .hero { min-height: 100vh; }

/* Pages with white nav: hero starts below nav */
.hero-padded {
  min-height: calc(100vh - var(--nav-h));
  margin-top: var(--nav-h);
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-bg img,
.hero-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.8);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 1000px;
  padding: 0 var(--pad-x);
}

.hero-content h1 {
  font-size: calc(3.5vw + 1rem);
  font-weight: 500;
  line-height: 1.15;
  margin-bottom: 30px;
  letter-spacing: -0.01em;
}

.hero-content p {
  font-size: clamp(15px, 1.5vw, 18px);
  line-height: 1.6;
  margin-bottom: 32px;
  opacity: 0.92;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Left-aligned hero variant */
.hero-left .hero-content {
  text-align: left;
  max-width: 680px;
  margin: 0;
  padding-left: var(--pad-x);
  padding-right: 8%;
  align-self: flex-end;
  padding-bottom: 80px;
}

.hero-left .hero-content p { margin-left: 0; margin-right: 0; }

/* ============================================================
   SECTIONS — shared
   ============================================================ */
.section {
  padding: 60px 0;
}

.section-sm { padding: 30px 0; }
.section-gray { background: var(--gray); }
.section-red  { background: var(--red); color: var(--white); }
.section-dark { background: var(--black); color: var(--white); }

.section-heading {
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.section-subtext {
  font-size: 16px;
  line-height: 1.7;
  color: var(--mid-text);
}

.section-red .section-subtext { color: rgba(255,255,255,0.85); }

/* ============================================================
   HOME — Why China section
   ============================================================ */
.why-china {
  padding: 60px 0;
  text-align: center;
}

.why-china h2 {
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 700;
  margin-bottom: 32px;
  letter-spacing: -0.01em;
}

.why-china-body {
  max-width: 680px;
  margin: 0 auto;
}

.why-china-body p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--mid-text);
  margin-bottom: 18px;
}

.learn-more {
  display: inline-block;
  margin-top: 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dark-text);
  border-bottom: 1px solid var(--dark-text);
  padding-bottom: 1px;
}
.learn-more:hover { color: var(--red); border-color: var(--red); }

/* ============================================================
   HOME — Services Accordion
   ============================================================ */
.services-section {
  background: var(--gray);
  padding: 60px 0;
}

.services-grid {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 80px;
  align-items: start;
}

.services-title {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  position: sticky;
  top: calc(var(--nav-h) + 32px);
}

.accordion {
  width: 100%;
}

.accordion-item {
  border-top: 1px solid #ccc;
}
.accordion-item:last-child { border-bottom: 1px solid #ccc; }

.accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
  cursor: pointer;
  user-select: none;
  gap: 16px;
}

.accordion-header-title {
  font-size: 25px;
  font-weight: 500;
  color: var(--dark-text);
}

.accordion-toggle {
  flex-shrink: 0;
  font-size: 22px;
  font-weight: 300;
  color: var(--dark-text);
  line-height: 1;
  width: 24px;
  text-align: center;
  user-select: none;
}

.accordion-body {
  display: none;
  padding-bottom: 24px;
}

.accordion-body p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--mid-text);
}

.accordion-item.active .accordion-body { display: block; }

/* ============================================================
   HOME — Reverse Innovation Feature
   ============================================================ */
.reverse-feature {
  padding: 60px 0;
}

.reverse-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.reverse-text h2 {
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.1;
  color: var(--red);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.reverse-text p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--mid-text);
  margin-bottom: 28px;
}

.explore-link {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  border-bottom: 1px solid var(--red);
  padding-bottom: 2px;
  transition: opacity 0.2s;
}
.explore-link:hover { opacity: 0.7; }

.reverse-image {
  overflow: hidden;
}

.reverse-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

/* ============================================================
   HOME — Get in Touch (red contact section)
   ============================================================ */
.get-in-touch {
  background: var(--red);
  padding: 60px 0;
  color: var(--white);
}

.git-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.git-text h2 {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}

.git-text p {
  font-size: 15px;
  line-height: 1.75;
  color: rgba(255,255,255,0.88);
}

/* ============================================================
   INTELLIGENCE — Hero (split)
   ============================================================ */
.intel-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  overflow: hidden;
}

.intel-hero-bg {
  position: absolute;
  inset: 0;
}

.intel-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.intel-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.58);
}

.intel-hero-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
  padding: 0 var(--pad-x) 80px;
}

.intel-hero-content h1 {
  font-size: clamp(30px, 4vw, 50px);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.intel-hero-content p {
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 24px;
  opacity: 0.9;
}

.intel-hero-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 380px;
}

.intel-hero-form label {
  font-size: 13px;
  font-weight: 500;
  opacity: 0.9;
}

.intel-hero-form label span {
  font-weight: 400;
  opacity: 0.65;
}

.intel-hero-form input {
  padding: 11px 14px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.35);
  color: var(--white);
  font-family: var(--font);
  font-size: 14px;
  outline: none;
  border-radius: 0;
}

.intel-hero-form input::placeholder { color: rgba(255,255,255,0.5); }
.intel-hero-form input:focus { border-color: rgba(255,255,255,0.7); }

/* ============================================================
   INTELLIGENCE — Article Filters & Cards
   ============================================================ */
.article-filters {
  padding: 28px 0;
  border-bottom: 1px solid #ddd;
}

.article-filters-inner {
  display: flex;
  gap: 0;
  align-items: center;
}

.filter-link {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mid-text);
  padding: 0 16px;
  transition: color 0.2s;
}

.filter-link:first-child { padding-left: 0; }

.filter-link + .filter-link {
  border-left: 1px solid #ccc;
}

.filter-link.active,
.filter-link:hover { color: var(--dark-text); }

.articles-grid {
  padding: 60px 0 100px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}

.article-card {}

.article-card-image {
  aspect-ratio: 4/3;
  overflow: hidden;
  margin-bottom: 16px;
}

.article-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.article-card:hover .article-card-image img { transform: scale(1.03); }

.article-card-type {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mid-text);
  margin-bottom: 8px;
}

.article-card-title {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.article-card-excerpt {
  font-size: 14px;
  line-height: 1.65;
  color: var(--mid-text);
  margin-bottom: 14px;
}

.read-more {
  font-size: 13px;
  font-weight: 600;
  color: var(--red);
  letter-spacing: 0.02em;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.read-more:hover { border-color: var(--red); }

/* ============================================================
   ABOUT — Sections
   ============================================================ */
.about-perspective {
  padding: 60px 0 30px;
}

.about-perspective-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.about-perspective h2 {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  color: var(--red);
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}

.about-perspective p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--mid-text);
  margin-bottom: 20px;
}

.about-list {
  list-style: disc;
  margin-top: 12px;
  margin-left: 18px;
}

.about-list li {
  font-size: 15px;
  line-height: 1.7;
  color: var(--mid-text);
  margin-bottom: 10px;
}

.about-list-title {
  color: var(--red);
  font-weight: 600;
}

.about-perspective-image {
  overflow: hidden;
}

.about-perspective-image img {
  width: 100%;
  height: 460px;
  object-fit: cover;
}

/* Reverse Innovation section — matches perspective grid dimensions */
.about-reverse {
  padding: 30px 0 60px;
}

.about-reverse-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.about-reverse-text-content h2 {
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 700;
  color: var(--red);
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}

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

.about-reverse-text-content .read-more {
  margin-top: 8px;
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
}

/* Strategic difference section */
.about-strategic {
  padding: 90px 0;
  background: var(--gray);
}

.about-strategic-inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 var(--pad-x);
  text-align: center;
}

.about-strategic h2 {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  color: var(--red);
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}

.about-strategic p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--mid-text);
}

/* About CTA */
.about-cta {
  background: var(--red);
  padding: 80px 0;
  color: var(--white);
}

.about-cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-cta-text h2 {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}

.about-cta-text p {
  font-size: 15px;
  line-height: 1.75;
  color: rgba(255,255,255,0.88);
}

.about-cta-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.about-cta-form label {
  font-size: 13px;
  font-weight: 500;
  color: var(--white);
}
.about-cta-form label span { font-weight: 400; opacity: 0.7; }

.about-cta-form input {
  padding: 12px 14px;
  background: rgba(255,255,255,0.2);
  border: 1px solid rgba(255,255,255,0.28);
  color: var(--white);
  font-family: var(--font);
  font-size: 14px;
  outline: none;
  margin-bottom: 12px;
}
.about-cta-form input::placeholder { color: rgba(255,255,255,0.5); }
.about-cta-form input:focus { border-color: rgba(255,255,255,0.65); }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-section {
  background: var(--red);
  min-height: calc(100vh - var(--nav-h));
  margin-top: var(--nav-h);
  padding: 80px 0;
  color: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-text h1 {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 700;
  line-height: 1.05;
  margin-bottom: 40px;
  letter-spacing: -0.02em;
}

.contact-text p {
  font-size: 15px;
  line-height: 1.75;
  color: rgba(255,255,255,0.88);
}

.contact-form-wrap .form-label-group {
  color: var(--white);
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 10px;
}

/* ============================================================
   ARTICLE PAGE
   ============================================================ */
.article-page {
  margin-top: var(--nav-h);
  padding: 60px 0 100px;
}

.article-inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

.article-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mid-text);
  margin-bottom: 16px;
}

.article-page h1 {
  font-size: clamp(28px, 4vw, 50px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 36px;
}

.article-pullquote {
  border-left: 3px solid var(--red);
  padding: 20px 24px;
  background: var(--gray);
  margin-bottom: 36px;
}

.article-pullquote p {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--dark-text);
}

.article-body p {
  font-size: 16px;
  line-height: 1.8;
  color: #333;
  margin-bottom: 20px;
  text-align: justify;
}

.article-body h3 {
  font-size: 22px;
  font-weight: 700;
  margin-top: 40px;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.article-cta {
  margin-top: 48px;
  padding-top: 36px;
  border-top: 1px solid #ddd;
}

.article-cta p {
  font-size: 15px;
  line-height: 1.75;
  font-style: italic;
}

.article-cta a {
  color: var(--red);
  font-weight: 700;
  border-bottom: 1px solid var(--red);
}

.article-tags {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid #eee;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.article-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mid-text);
}

.article-tag + .article-tag::before {
  content: ' / ';
  margin-right: 4px;
}

/* ============================================================
   POLICY PAGES (Privacy, Cookie)
   ============================================================ */
.policy-page {
  margin-top: var(--nav-h);
  padding: 60px 0 100px;
}

.policy-inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

.policy-page h1 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.policy-date {
  font-size: 13px;
  color: var(--mid-text);
  margin-bottom: 44px;
}

.policy-inner h2 {
  font-size: 22px;
  font-weight: 700;
  margin-top: 40px;
  margin-bottom: 12px;
  color: var(--red);
}

.policy-inner h3 {
  font-size: 17px;
  font-weight: 700;
  margin-top: 24px;
  margin-bottom: 8px;
}

.policy-inner p {
  font-size: 15px;
  line-height: 1.8;
  color: #333;
  margin-bottom: 14px;
}

.policy-inner ul, .policy-inner ol {
  margin: 12px 0 20px 24px;
}

.policy-inner li {
  font-size: 15px;
  line-height: 1.75;
  color: #333;
  margin-bottom: 8px;
}

/* ============================================================
   RESPONSIVE — Tablet
   ============================================================ */
@media (max-width: 900px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .services-grid  { grid-template-columns: 1fr; gap: 32px; }
  .services-title { position: static; }

  .reverse-grid   { grid-template-columns: 1fr; gap: 40px; }
  .git-grid       { grid-template-columns: 1fr; gap: 40px; }
  .about-perspective-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-cta-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid   { grid-template-columns: 1fr; gap: 40px; }
  .articles-grid  { grid-template-columns: 1fr 1fr; }

  .about-reverse-inner { grid-template-columns: 1fr; gap: 40px; }
}

/* ============================================================
   RESPONSIVE — Mobile
   ============================================================ */
@media (max-width: 640px) {
  :root { --pad-x: 6vw; }

  .nav-links  { display: none; }
  .nav-toggle { display: flex; }

  .footer-inner { grid-template-columns: 1fr; gap: 32px; }

  .hero-content h1 { font-size: 34px; }
  .hero-content p  { font-size: 15px; }

  .intel-hero-content { padding-bottom: 56px; }

  .services-grid  { grid-template-columns: 1fr; }
  .reverse-grid   { grid-template-columns: 1fr; }
  .git-grid       { grid-template-columns: 1fr; }
  .form-row       { grid-template-columns: 1fr; }
  .about-perspective-grid { grid-template-columns: 1fr; }
  .about-cta-grid { grid-template-columns: 1fr; }
  .contact-grid   { grid-template-columns: 1fr; }
  .articles-grid  { grid-template-columns: 1fr; }
  .about-reverse-inner { grid-template-columns: 1fr; gap: 32px; }

  .reverse-image img { height: 280px; }
  .about-perspective-image img { height: 300px; }

  .footer-links-grid { grid-template-columns: 1fr; }
  .footer-signup-form { flex-direction: column; }

  .article-pullquote p { font-size: 16px; }
}
