/* ==========================================================================
   Rexify Solutions — Design System
   ========================================================================== */

:root {
  /* Colors — dark navy base + warm orange accent */
  --navy-950: #060a13;
  --navy-900: #0b1220;
  --navy-800: #10192e;
  --navy-700: #1a2540;
  --navy-600: #2a3a5f;

  --ink: #101728;
  --slate-600: #4b5875;
  --slate-500: #6b7a99;
  --slate-300: #b7c0d4;

  --cloud-50: #f8f9fc;
  --cloud-100: #eef1f7;
  --cloud-200: #e2e7f1;
  --white: #ffffff;

  --orange-600: #6e1526;
  --orange-500: #8f1f36;
  --orange-400: #b23752;
  --orange-300: #d66b82;
  --orange-100: #f7e1e6;

  --gradient-warm: linear-gradient(120deg, var(--orange-500), var(--orange-300));

  /* Type */
  --font-head: "Sora", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;

  /* Layout */
  --container: 1200px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  --shadow-sm: 0 2px 10px rgba(11, 18, 32, 0.06);
  --shadow-md: 0 12px 30px rgba(11, 18, 32, 0.10);
  --shadow-lg: 0 24px 60px rgba(11, 18, 32, 0.18);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.15;
  margin: 0 0 0.5em;
  font-weight: 600;
  letter-spacing: -0.01em;
}
p { margin: 0 0 1em; color: var(--slate-600); }
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 96px 0; }
@media (max-width: 768px) {
  section { padding: 64px 0; }
}

.section-tight { padding: 56px 0; }

/* ---------- Utility ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange-500);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--gradient-warm);
  border-radius: 2px;
}
.section-head {
  max-width: 640px;
  margin: 0 0 48px;
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(28px, 3.6vw, 40px); color: var(--ink); }
.section-head p { font-size: 17px; }

.text-light { color: var(--slate-300); }
.on-dark h2, .on-dark h3, .on-dark h4 { color: var(--white); }
.on-dark p { color: var(--slate-300); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: var(--gradient-warm);
  color: var(--navy-950);
  box-shadow: 0 10px 24px rgba(143, 31, 54, 0.28);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(143, 31, 54, 0.36); }

.btn-outline-dark {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--white);
}
.btn-outline-dark:hover { border-color: var(--white); background: rgba(255, 255, 255, 0.08); }

.btn-outline-light {
  background: transparent;
  border-color: var(--navy-600);
  color: var(--ink);
}
.btn-outline-light:hover { border-color: var(--orange-500); color: var(--orange-600); }

.btn-block { width: 100%; }
.btn-sm { padding: 10px 20px; font-size: 14px; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(6, 10, 19, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: box-shadow 0.3s var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 18px;
  padding-bottom: 18px;
}

.logo {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 19px;
  color: var(--white);
}
.logo-r {
  display: block;
  flex-shrink: 0;
  width: 26px;
  height: 30px;
  margin-right: -3px;
}
.logo span { color: var(--orange-400); }

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  margin: 0 auto;
}
.main-nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--slate-300);
  position: relative;
  padding: 6px 0;
  transition: color 0.2s var(--ease);
}
.main-nav a:hover, .main-nav a.active { color: var(--white); }
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--gradient-warm);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.main-nav a:hover::after { transform: scaleX(1); }
.main-nav a.active::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 16px; }

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: none;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .main-nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--navy-950);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s var(--ease);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }
  .main-nav.is-open { max-height: 480px; }
  .main-nav a { padding: 16px 24px; border-top: 1px solid rgba(255, 255, 255, 0.06); }
  .header-cta { display: none; }
  .nav-toggle { display: flex; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--navy-950);
  overflow: hidden;
  padding: 120px 0 100px;
}
.hero-glow {
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 600px;
  background:
    radial-gradient(480px 320px at 15% 20%, rgba(143, 31, 54, 0.28), transparent 70%),
    radial-gradient(420px 300px at 85% 10%, rgba(214, 107, 130, 0.18), transparent 70%);
  filter: blur(10px);
  pointer-events: none;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 20%, black 40%, transparent 90%);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; }
.hero-content { max-width: 720px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--slate-300);
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 28px;
}
.hero-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--orange-400); }
.hero h1 {
  font-size: clamp(36px, 5.6vw, 62px);
  color: var(--white);
  margin-bottom: 22px;
}
.hero h1 em {
  font-style: normal;
  background: var(--gradient-warm);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero .lead {
  font-size: 19px;
  color: var(--slate-300);
  max-width: 560px;
  margin-bottom: 36px;
}
.hero-cta-row { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 56px; }

.trust-strip { position: relative; z-index: 1; margin-top: 20px; }
.trust-strip .label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--slate-500);
  margin-bottom: 18px;
}
.trust-chips { display: flex; flex-wrap: wrap; gap: 12px; }
.trust-chip {
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--slate-300);
  font-size: 14px;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.03);
}

/* ---------- Page header (non-home) ---------- */
.page-header {
  position: relative;
  background: var(--navy-950);
  overflow: hidden;
  padding: 100px 0 72px;
}
.page-header .hero-glow { height: 420px; }
.page-header-inner { position: relative; z-index: 1; max-width: 680px; }
.page-header h1 { color: var(--white); font-size: clamp(32px, 4.6vw, 48px); }
.page-header p { color: var(--slate-300); font-size: 18px; margin: 0; }
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--slate-500); margin-bottom: 18px;
}
.breadcrumb a { color: var(--orange-400); }

/* ---------- Cards ---------- */
.card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--cloud-200);
  border-radius: var(--radius-md);
  padding: 32px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}
.card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; height: 3px; width: 0;
  background: var(--gradient-warm);
  transition: width 0.45s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card:hover::before { width: 100%; }
.card:hover .icon-tile { transform: scale(1.08) rotate(-4deg); }

.icon-tile {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--orange-100);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  transition: transform 0.4s var(--ease);
}
.icon-tile svg { width: 26px; height: 26px; stroke: var(--orange-600); }

.grid {
  display: grid;
  gap: 28px;
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ---------- Services (home preview + services page) ---------- */
.service-card h3 { font-size: 20px; margin-bottom: 10px; }
.service-card p { font-size: 15px; margin-bottom: 0; }
.service-card .learn-link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 16px; font-size: 14px; font-weight: 600; color: var(--orange-600);
}

.service-block {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
  padding: 56px 0;
  border-bottom: 1px solid var(--cloud-200);
}
.service-block:last-child { border-bottom: none; }
.service-block:nth-child(even) .service-visual { order: 2; }
.service-block h3 { font-size: 26px; margin-bottom: 14px; }
.service-block .includes { margin-top: 22px; display: flex; flex-direction: column; gap: 12px; }
.service-block .includes li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 15px; color: var(--ink);
}
.service-block .includes svg { width: 18px; height: 18px; stroke: var(--orange-500); flex-shrink: 0; margin-top: 3px; }

.service-visual {
  height: 260px;
  border-radius: var(--radius-lg);
  background: linear-gradient(155deg, var(--navy-900), var(--navy-700));
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.service-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(240px 180px at 30% 20%, rgba(143, 31, 54, 0.35), transparent 70%);
}
.service-visual svg { width: 92px; height: 92px; stroke: var(--orange-400); position: relative; z-index: 1; opacity: 0.9; }

@media (max-width: 860px) {
  .service-block, .service-block:nth-child(even) { grid-template-columns: 1fr; }
  .service-block:nth-child(even) .service-visual { order: 0; }
  .service-visual { height: 200px; }
}

/* ---------- Process ---------- */
.process-list { counter-reset: step; }
.process-item {
  position: relative;
  padding-left: 76px;
  padding-bottom: 44px;
  border-left: 2px solid var(--cloud-200);
  margin-left: 26px;
}
.process-item:last-child { border-color: transparent; padding-bottom: 0; }
.process-item::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: -26px; top: 0;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--gradient-warm);
  color: var(--navy-950);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
  display: flex; align-items: center; justify-content: center;
}
.process-item h4 { font-size: 19px; margin-bottom: 8px; }
.process-item p { margin: 0; font-size: 15px; }

/* ---------- Stats ---------- */
.stat-row { display: flex; flex-wrap: wrap; gap: 40px; }
.stat-item .num {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(28px, 3.4vw, 38px);
  color: var(--ink);
  display: block;
}
.stat-item .label { color: var(--slate-500); font-size: 14px; }
.on-dark .stat-item .num { color: var(--white); }
.on-dark .stat-item .label { color: var(--slate-300); }

/* ---------- Portfolio ---------- */
.work-card { overflow: hidden; padding: 0; }
.work-thumb {
  height: 190px;
  background: linear-gradient(155deg, var(--navy-900), var(--navy-700));
  position: relative;
  display: flex; align-items: center; justify-content: center;
}
.work-thumb::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(220px 160px at 75% 15%, rgba(143, 31, 54, 0.32), transparent 70%);
}
.work-thumb svg { width: 60px; height: 60px; stroke: var(--orange-400); position: relative; z-index: 1; }
.work-body { padding: 26px 28px 28px; }
.work-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--orange-600);
  background: var(--orange-100);
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 14px;
}
.work-body h3 { font-size: 19px; margin-bottom: 8px; }
.work-body p { font-size: 14.5px; margin-bottom: 14px; }
.work-result {
  display: flex; align-items: center; gap: 8px;
  font-size: 13.5px; font-weight: 600; color: var(--ink);
}
.work-result svg { width: 16px; height: 16px; stroke: var(--orange-500); }
.sample-note {
  font-size: 13px;
  color: var(--slate-500);
  font-style: italic;
}

/* ---------- Testimonials ---------- */
.testimonial-card { position: relative; }
.testimonial-card .quote-mark {
  font-family: var(--font-head);
  font-size: 48px;
  color: var(--orange-300);
  line-height: 1;
  margin-bottom: 10px;
  display: block;
}
.testimonial-card p.quote { font-size: 16px; color: var(--ink); margin-bottom: 20px; }
.testimonial-person { display: flex; align-items: center; gap: 12px; }
.avatar-badge {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--gradient-warm);
  color: var(--navy-950);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 700; font-size: 15px;
  flex-shrink: 0;
}
.testimonial-person .name { font-weight: 600; font-size: 14.5px; color: var(--ink); }
.testimonial-person .role { font-size: 13px; color: var(--slate-500); }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: var(--navy-950);
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  padding: 64px 48px;
  text-align: center;
}
.cta-banner .hero-glow { height: 100%; inset: -40% -10% auto -10%; }
.cta-banner-inner { position: relative; z-index: 1; max-width: 560px; margin: 0 auto; }
.cta-banner h2 { color: var(--white); font-size: clamp(26px, 3.4vw, 34px); }
.cta-banner p { color: var(--slate-300); margin-bottom: 30px; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
@media (max-width: 640px) {
  .cta-banner { padding: 48px 24px; }
}

/* ---------- Values / About ---------- */
.value-card { text-align: left; }
.team-card { text-align: center; }
.team-avatar {
  width: 88px; height: 88px; border-radius: 50%;
  background: linear-gradient(155deg, var(--navy-800), var(--navy-600));
  color: var(--orange-300);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 700; font-size: 26px;
  margin: 0 auto 18px;
}
.team-card h4 { margin-bottom: 4px; font-size: 17px; }
.team-card .role { color: var(--orange-600); font-size: 13.5px; font-weight: 600; margin-bottom: 10px; }
.team-card p { font-size: 14px; }

.story-media {
  border-radius: var(--radius-lg);
  background: linear-gradient(155deg, var(--navy-900), var(--navy-700));
  min-height: 340px;
  position: relative;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.story-media::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(320px 240px at 25% 25%, rgba(143, 31, 54, 0.3), transparent 70%);
}
.story-media svg { width: 110px; height: 110px; stroke: var(--orange-400); position: relative; z-index: 1; opacity: 0.9; }

/* ---------- Blog ---------- */
.post-card { overflow: hidden; padding: 0; display: flex; flex-direction: column; }
.post-thumb {
  height: 160px;
  background: linear-gradient(155deg, var(--navy-900), var(--navy-700));
  position: relative;
}
.post-thumb::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(200px 140px at 70% 20%, rgba(143, 31, 54, 0.3), transparent 70%);
}
.post-body { padding: 24px 26px 26px; }
.post-meta { font-size: 12.5px; color: var(--slate-500); margin-bottom: 10px; text-transform: uppercase; letter-spacing: 0.04em; }
.post-body h3 { font-size: 18.5px; margin-bottom: 10px; }
.post-body p { font-size: 14.5px; }
.read-more { font-size: 14px; font-weight: 600; color: var(--orange-600); display: inline-flex; align-items: center; gap: 6px; }

.article-header { padding: 100px 0 48px; background: var(--navy-950); position: relative; overflow: hidden; }
.article-header-inner { position: relative; z-index: 1; max-width: 720px; }
.article-header h1 { color: var(--white); font-size: clamp(28px, 4vw, 42px); }
.article-meta { color: var(--slate-300); font-size: 14px; margin-bottom: 18px; }
.article-body {
  max-width: 720px;
  margin: 0 auto;
  padding: 64px 24px;
  font-size: 17px;
}
.article-body h2 { font-size: 24px; margin-top: 1.6em; color: var(--ink); }
.article-body h3 { font-size: 19px; margin-top: 1.4em; color: var(--ink); }
.article-body p, .article-body li { color: var(--slate-600); font-size: 17px; }
.article-body ul, .article-body ol { padding-left: 22px; margin-bottom: 1.2em; }
.article-body li { margin-bottom: 8px; }
.article-body ul li { list-style: disc; }
.article-body ol li { list-style: decimal; }
.article-cta {
  margin-top: 48px;
  padding: 36px;
  border-radius: var(--radius-md);
  background: var(--cloud-50);
  border: 1px solid var(--cloud-200);
  text-align: center;
}
.article-cta h3 { margin-bottom: 10px; }

/* ---------- Contact ---------- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
@media (max-width: 900px) {
  .contact-layout { grid-template-columns: 1fr; }
}
.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--ink);
}
.field input, .field textarea, .field select {
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--cloud-200);
  background: var(--cloud-50);
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink);
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--orange-400);
  background: var(--white);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.form-note { font-size: 13px; color: var(--slate-500); margin-top: 6px; }
.form-success {
  display: none;
  padding: 20px 22px;
  border-radius: var(--radius-md);
  background: #eafaf0;
  border: 1px solid #bdebcf;
  color: #1c6b3f;
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 24px;
}
.form-success.is-visible { display: block; }
.contact-card { border-radius: var(--radius-md); background: var(--cloud-50); border: 1px solid var(--cloud-200); padding: 30px; }
.contact-info-row { display: flex; gap: 16px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid var(--cloud-200); }
.contact-info-row:last-child { border-bottom: none; }
.contact-info-row .icon-tile { margin-bottom: 0; width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0; }
.contact-info-row .icon-tile svg { width: 20px; height: 20px; }
.contact-info-row h4 { font-size: 15px; margin-bottom: 4px; }
.contact-info-row p { font-size: 14.5px; margin: 0; }
.map-placeholder {
  margin-top: 24px;
  height: 200px;
  border-radius: var(--radius-md);
  background: repeating-linear-gradient(45deg, var(--cloud-100), var(--cloud-100) 10px, var(--cloud-50) 10px, var(--cloud-50) 20px);
  border: 1px dashed var(--cloud-200);
  display: flex; align-items: center; justify-content: center;
  color: var(--slate-500);
  font-size: 13.5px;
  text-align: center;
  padding: 20px;
}
.social-row { display: flex; gap: 10px; margin-top: 22px; }
.social-row a {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--navy-900);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s var(--ease);
}
.social-row a:hover { background: var(--orange-500); }
.social-row svg { width: 18px; height: 18px; stroke: var(--white); }

/* ---------- FAQ ---------- */
.faq-item { border-bottom: 1px solid var(--cloud-200); padding: 22px 0; }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--font-head); font-weight: 600; font-size: 16px;
  cursor: pointer; list-style: none; color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 22px; color: var(--orange-500); flex-shrink: 0; margin-left: 16px;
  transition: transform 0.25s var(--ease);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { margin-top: 14px; margin-bottom: 0; font-size: 15px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); padding-top: 72px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 40px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer-brand p { color: var(--slate-500); font-size: 14.5px; max-width: 280px; margin-top: 16px; }
.footer-col h5 {
  font-family: var(--font-head);
  color: var(--white);
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a { color: var(--slate-500); font-size: 14.5px; transition: color 0.2s var(--ease); }
.footer-col a:hover { color: var(--orange-400); }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  padding: 26px 0;
  color: var(--slate-500);
  font-size: 13.5px;
}
.footer-bottom a { color: var(--slate-500); }
.footer-bottom a:hover { color: var(--orange-400); }
.footer-legal { display: flex; gap: 20px; }

/* ---------- Misc ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* Staggered reveal for grid/tile children */
.grid .reveal:nth-child(2), .tile-grid .reveal:nth-child(2) { transition-delay: 0.06s; }
.grid .reveal:nth-child(3), .tile-grid .reveal:nth-child(3) { transition-delay: 0.12s; }
.grid .reveal:nth-child(4), .tile-grid .reveal:nth-child(4) { transition-delay: 0.18s; }
.grid .reveal:nth-child(5), .tile-grid .reveal:nth-child(5) { transition-delay: 0.24s; }
.grid .reveal:nth-child(6), .tile-grid .reveal:nth-child(6) { transition-delay: 0.3s; }
.grid .reveal:nth-child(7), .tile-grid .reveal:nth-child(7) { transition-delay: 0.34s; }
.grid .reveal:nth-child(n+8), .tile-grid .reveal:nth-child(n+8) { transition-delay: 0.38s; }

/* Hero / page-header entrance stagger */
.hero-content > .reveal:nth-child(1), .page-header-inner > .reveal:nth-child(1), .article-header-inner > .reveal:nth-child(1) { transition-delay: 0.05s; }
.hero-content > .reveal:nth-child(2), .page-header-inner > .reveal:nth-child(2), .article-header-inner > .reveal:nth-child(2) { transition-delay: 0.16s; }
.hero-content > .reveal:nth-child(3), .page-header-inner > .reveal:nth-child(3), .article-header-inner > .reveal:nth-child(3) { transition-delay: 0.27s; }
.hero-content > .reveal:nth-child(4) { transition-delay: 0.38s; }

/* Scroll progress bar */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: var(--gradient-warm);
  z-index: 200;
  transition: width 0.1s linear;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 860px) {
  .two-col { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Photographic components
   ========================================================================== */

/* Photo hero */
.hero-photo {
  position: absolute;
  inset: 0;
  background-color: var(--navy-950);
  background-size: cover;
  background-position: center;
}
.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6, 10, 19, 0.5) 0%, rgba(6, 10, 19, 0.82) 68%, rgba(6, 10, 19, 0.97) 100%),
    linear-gradient(100deg, rgba(6, 10, 19, 0.92) 0%, rgba(6, 10, 19, 0.5) 42%, rgba(143, 31, 54, 0.18) 100%);
}

/* Logo wall */
.logo-band { background: var(--navy-950); border-top: 1px solid rgba(255, 255, 255, 0.07); padding: 40px 0; position: relative; z-index: 1; }
.logo-band .label {
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--slate-500); margin-bottom: 22px;
}
.logo-wall { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 48px; }
.logo-wall .wordmark {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 700; font-size: 18px;
  color: var(--slate-300); opacity: 0.7; white-space: nowrap;
  transition: opacity 0.2s var(--ease);
}
.logo-wall .wordmark:hover { opacity: 1; }
.logo-wall .wordmark .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gradient-warm); flex-shrink: 0; }

/* Photo service tiles */
.tile-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 1100px) { .tile-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .tile-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .tile-grid { grid-template-columns: 1fr; } }

.photo-tile {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 4.6;
  background-color: var(--navy-800);
  display: flex;
  align-items: flex-end;
  padding: 26px;
  isolation: isolate;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.photo-tile:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.tile-img {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-size: cover;
  background-position: center;
  transform: scale(1);
  transition: transform 0.7s var(--ease);
}
.photo-tile:hover .tile-img { transform: scale(1.1); }
.photo-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(11, 18, 32, 0.05) 25%, rgba(9, 13, 24, 0.92) 100%),
    linear-gradient(200deg, rgba(143, 31, 54, 0.32), rgba(11, 18, 32, 0.05) 55%);
}
.photo-tile .tile-content { position: relative; z-index: 1; transition: transform 0.4s var(--ease); }
.photo-tile:hover .tile-content { transform: translateY(-2px); }
.photo-tile .tile-index {
  display: inline-block; font-family: var(--font-head); font-weight: 700; font-size: 12.5px;
  color: var(--orange-300); letter-spacing: 0.06em; margin-bottom: 8px;
}
.photo-tile h3 { color: var(--white); font-size: 19.5px; margin-bottom: 6px; }
.photo-tile p { color: var(--slate-300); font-size: 13.5px; margin: 0; }

/* Insight / case-study photo cards */
.insight-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 16 / 11;
  background-color: var(--navy-800);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px;
  isolation: isolate;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.insight-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.insight-card .tile-img { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; transform: scale(1); transition: transform 0.7s var(--ease); }
.insight-card:hover .tile-img { transform: scale(1.1); }
.insight-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(11, 18, 32, 0.1) 20%, rgba(9, 13, 24, 0.94) 100%);
}
.insight-card .insight-tag {
  position: relative; z-index: 1; align-self: flex-start;
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--navy-950); background: var(--gradient-warm);
  padding: 5px 12px; border-radius: var(--radius-pill);
}
.insight-card .insight-body { position: relative; z-index: 1; }
.insight-card h3 { color: var(--white); font-size: 17.5px; margin-bottom: 4px; }
.insight-card p { color: var(--slate-300); font-size: 13px; margin: 0; }

/* Photo panel (culture / contact split sections) */
.photo-panel {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background-color: var(--navy-800);
  background-size: cover;
  background-position: center;
  position: relative;
}
.photo-panel.tall { aspect-ratio: 3 / 4; }
.photo-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(200deg, rgba(143, 31, 54, 0.18), rgba(11, 18, 32, 0.05) 60%);
}

/* Show more / show less */
.is-collapsed { display: none !important; }
.show-more-wrap { display: flex; justify-content: center; margin-top: 32px; }
.show-more-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 24px; border-radius: var(--radius-pill);
  border: 1px solid var(--cloud-200); background: var(--white);
  font-family: var(--font-head); font-weight: 600; font-size: 14.5px; color: var(--ink);
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.show-more-btn:hover { border-color: var(--orange-400); color: var(--orange-600); }
.show-more-btn .chev { width: 16px; height: 16px; stroke: currentColor; transition: transform 0.3s var(--ease); }
.show-more-btn.is-expanded .chev { transform: rotate(180deg); }
.on-dark .show-more-btn { background: rgba(255, 255, 255, 0.05); border-color: rgba(255, 255, 255, 0.15); color: var(--white); }
.on-dark .show-more-btn:hover { border-color: var(--orange-400); color: var(--orange-400); }

/* Benefit callout on service pages */
.benefit-callout {
  background: var(--orange-100);
  border-left: 3px solid var(--orange-500);
  padding: 14px 18px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 14.5px;
  color: var(--ink);
  margin: 18px 0;
}
.benefit-callout strong { color: var(--orange-600); }

/* Expandable industries list */
.industry-row {
  display: flex; align-items: center; gap: 16px;
  padding: 18px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.industry-row .icon-tile { margin-bottom: 0; background: rgba(255, 255, 255, 0.06); flex-shrink: 0; }
.industry-row .icon-tile svg { stroke: var(--orange-400); }
.industry-row span { font-family: var(--font-head); font-weight: 600; font-size: 15.5px; color: var(--white); }
.industry-cols { display: grid; grid-template-columns: 1fr 1fr; column-gap: 48px; }
@media (max-width: 640px) { .industry-cols { grid-template-columns: 1fr; } }
