/* paladem-web — main.css
 * Professional design for a software development consultancy.
 * Font: Klik Light | Colors: Navy #1B374D, Orange #CE5016
 * No framework dependencies — vanilla CSS with modern layout.
 */

/* ── Font Face ──────────────────────────────────────────────────────────── */

@font-face {
  font-family: 'Klik Light';
  src: url('/fonts/klik-light.woff2') format('woff2'),
       url('/fonts/klik-light.otf') format('opentype');
  font-weight: 100 400;
  font-style: normal;
  font-display: swap;
}

/* ── Custom Properties ──────────────────────────────────────────────────── */

:root {
  --navy: #1B374D;
  --navy-90: rgba(27, 55, 77, 0.92);
  --orange: #CE5016;
  --orange-hover: #b8470f;
  --green: #2a7f50;
  --green-hover: #236b43;
  --dark: #000321;
  --text: #333;
  --text-secondary: #555;
  --text-muted: #777;
  --white: #fff;
  --off-white: #f7f8fa;
  --gray-bg: #4E4E4E;
  --border: #e0e4e8;

  --font: 'Klik Light', Roboto, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'SF Mono', 'Fira Code', Consolas, monospace;

  --max-w: 1140px;
  --transition: 0.2s ease;

  /* Icon stroke-width tokens — single source of truth for all SVG icons */
  --icon-stroke: 1.5;          /* primary lines (outlines, shapes)       */
  --icon-stroke-bold: 1.8;     /* accent marks (checkmarks, chevrons)    */
  --icon-stroke-light: 1;      /* secondary / detail lines               */
}

/* ── Reset ──────────────────────────────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-weight: 300;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

main { flex: 1; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--orange-hover); }

/* ── Typography ─────────────────────────────────────────────────────────── */

h1, h2, h3, h4 {
  font-family: var(--font);
  line-height: 1.2;
  color: var(--dark);
  letter-spacing: -0.02em;
}

h1 { font-size: 2.8rem; font-weight: 300; }
h2 { font-size: 1.85rem; font-weight: 300; margin-bottom: 0.75rem; }
h3 { font-size: 1.25rem; font-weight: 400; margin-bottom: 0.5rem; }
p  { margin-bottom: 1rem; }

ul, ol { margin-bottom: 1rem; padding-left: 1.25rem; }
li { margin-bottom: 0.4rem; }

.lead-text {
  font-size: 1.2rem;
  line-height: 1.8;
  color: var(--text-secondary);
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

code {
  font-family: var(--font-mono);
  background: var(--off-white);
  padding: 0.15em 0.4em;
  border-radius: 3px;
  font-size: 0.9em;
}

pre {
  background: var(--navy);
  color: #e2e8f0;
  padding: 1.25rem;
  border-radius: 8px;
  overflow-x: auto;
  margin-bottom: 1.5rem;
}

pre code { background: none; padding: 0; color: inherit; }

/* ── Layout ─────────────────────────────────────────────────────────────── */

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

.section {
  padding: 72px 0;
  width: 100%;
}

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

.section--navy {
  background: var(--navy);
  color: var(--white);
}
.section--navy h1, .section--navy h2, .section--navy h3 { color: var(--white); }
.section--navy p, .section--navy li { color: rgba(255,255,255,0.85); }

.section-heading {
  text-align: center;
  font-size: 2rem;
  color: var(--navy);
  margin-bottom: 48px;
  letter-spacing: -0.02em;
}

/* ── Header / Nav ───────────────────────────────────────────────────────── */

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

.site-nav {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  height: 72px;
}

.logo-link { display: flex; align-items: center; }
.logo { height: 44px; width: auto; }

.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
  padding: 0;
  margin: 0;
  align-items: center;
}

.nav-links a {
  color: var(--dark);
  font-size: 0.95rem;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: color var(--transition);
  padding: 4px 0;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--orange);
  transition: width var(--transition);
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--orange);
  text-decoration: none;
}

.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--dark);
  padding: 8px;
  line-height: 1;
}

/* ── Hero ───────────────────────────────────────────────────────────────── */

.hero {
  background: var(--navy);
  color: var(--white);
  text-align: center;
  padding: 100px 24px 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -10%;
  width: 120%;
  height: 200%;
  background: radial-gradient(ellipse at 20% 50%, rgba(206,80,22,0.15) 0%, transparent 50%),
              radial-gradient(ellipse at 80% 20%, rgba(206,80,22,0.1) 0%, transparent 40%),
              radial-gradient(ellipse at 50% 80%, rgba(255,255,255,0.06) 0%, transparent 40%);
  pointer-events: none;
}

.hero--patterned::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 30%, rgba(206,80,22,0.18) 0%, transparent 35%),
    radial-gradient(circle at 85% 70%, rgba(206,80,22,0.12) 0%, transparent 30%),
    radial-gradient(circle at 50% 10%, rgba(255,255,255,0.08) 0%, transparent 25%),
    radial-gradient(circle at 70% 40%, rgba(255,255,255,0.05) 0%, transparent 20%),
    linear-gradient(135deg, rgba(206,80,22,0.06) 0%, transparent 40%, rgba(255,255,255,0.03) 60%, transparent 100%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
}

.hero-eyebrow {
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--orange);
  margin-bottom: 1.25rem;
  font-weight: 600;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 300;
  color: var(--white);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero-tagline {
  font-size: 1.25rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.6;
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ── Floating Geometric Shapes ──────────────────────────────────────────── */

@keyframes geo-float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-14px) rotate(3deg); }
}

@keyframes geo-float-alt {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(10px) rotate(-4deg); }
}

@keyframes geo-drift {
  0%, 100% { transform: translate(0, 0); }
  33%      { transform: translate(6px, -8px); }
  66%      { transform: translate(-4px, 4px); }
}

.hero-geo {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

/* Circuit trace — top left */
.hero-geo--1 { width: 220px; top: 5%;   left: 2%;  animation: geo-float 10s ease-in-out infinite; }
/* Network nodes — top right */
.hero-geo--2 { width: 200px; top: 3%;   right: 2%; animation: geo-drift 14s ease-in-out infinite; }
/* Chip — bottom left */
.hero-geo--3 { width: 140px; bottom: 8%; left: 8%;  animation: geo-float-alt 12s ease-in-out infinite; }
/* Circuit trace — bottom right */
.hero-geo--4 { width: 220px; bottom: 3%; right: 2%; animation: geo-float 16s ease-in-out infinite; }
/* Data flow arrows — mid left */
.hero-geo--5 { width: 120px; top: 40%;  left: 3%;  animation: geo-float-alt 9s ease-in-out infinite; }
/* Code brackets — right */
.hero-geo--6 { width: 80px;  top: 25%;  right: 10%; animation: geo-drift 11s ease-in-out infinite; }
/* Small node cluster */
.hero-geo--7 { width: 70px;  bottom: 25%; right: 22%; animation: geo-float 8s ease-in-out infinite; }
/* Hex grid */
.hero-geo--8 { width: 110px; top: 15%;  left: 25%;  animation: geo-float-alt 13s ease-in-out infinite; }
/* Code snippet — upper left */
.hero-geo--9 { top: 8%; left: 12%; animation: geo-drift 15s ease-in-out infinite; }
/* Binary stream — bottom center */
.hero-geo--10 { bottom: 10%; left: 38%; animation: geo-float 12s ease-in-out infinite; }
/* Code fragment — right side */
.hero-geo--11 { top: 45%; right: 5%; animation: geo-float-alt 11s ease-in-out infinite; }

/* Code & binary floating text styles */
.hero-code {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  line-height: 1.55;
  white-space: nowrap;
  color: rgba(255,255,255,0.09);
}
.hero-code .code-line { display: block; }
.hero-code .code-kw  { color: rgba(206,80,22,0.18); }
.hero-code .code-fn  { color: rgba(255,255,255,0.13); }
.hero-code .code-val { color: rgba(206,80,22,0.15); }
.hero-code .code-str { color: rgba(206,80,22,0.15); }

.hero-binary {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  line-height: 1.7;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.07);
  white-space: nowrap;
}

/* Intro section decorative shapes */
.intro-section { position: relative; overflow: hidden; }

.intro-geo {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

.intro-geo--1 { width: 240px; top: -30%; right: -5%; animation: geo-float 15s ease-in-out infinite; }
.intro-geo--2 { width: 100px; bottom: 10%; left: 3%; animation: geo-float-alt 10s ease-in-out infinite; }
.intro-geo--3 { width: 90px;  top: 15%;  left: -2%; animation: geo-drift 13s ease-in-out infinite; }

.intro-block { position: relative; z-index: 1; }

/* ── Buttons ────────────────────────────────────────────────────────────── */

.btn {
  display: inline-block;
  padding: 14px 36px;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 400;
  font-family: var(--font);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  border: none;
  text-align: center;
}

.btn:hover { text-decoration: none; transform: translateY(-1px); }

.btn-primary {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(206,80,22,0.3);
}
.btn-primary:hover {
  background: var(--orange-hover);
  color: var(--white);
  box-shadow: 0 6px 20px rgba(206,80,22,0.4);
}

.btn-orange {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(206,80,22,0.3);
}
.btn-orange:hover {
  background: var(--orange-hover);
  color: var(--white);
  box-shadow: 0 6px 20px rgba(206,80,22,0.4);
}

/* ── Card Grid ──────────────────────────────────────────────────────────── */

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 36px 32px;
  transition: box-shadow var(--transition), transform var(--transition);
}

.card:hover {
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}

.card-icon {
  color: var(--navy);
  margin-bottom: 20px;
}

.card-icon svg { display: block; }

.card--icon-centered { text-align: center; }
.card--icon-centered .card-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}
/* Stroke tokens: --icon-stroke (1.5), --icon-stroke-bold (1.8), --icon-stroke-light (1) */
.card--icon-centered .card-icon svg { width: 160px; height: 160px; }
.card--icon-centered p { text-align: left; }

/* Linked card: entire card is a clickable anchor (used when a service/expertise card has a detail page) */
a.card--link {
  display: block;
  color: inherit;
  text-decoration: none;
}
a.card--link:hover { color: inherit; }
.card-learn-more {
  display: inline-block;
  margin-top: 20px;
  color: var(--orange);
  font-weight: 600;
  font-size: 0.95rem;
}
.card-learn-more::after {
  content: " \2192";
  display: inline-block;
  transition: transform var(--transition);
}
a.card--link:hover .card-learn-more { color: var(--orange-hover); }
a.card--link:hover .card-learn-more::after { transform: translateX(3px); }

/* Service item: icon + heading + paragraph, used on /services/*/ detail pages to give prose rhythm */
.service-item {
  margin-bottom: 32px;
}
.service-item:last-child { margin-bottom: 0; }
.service-item-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
}
.service-item-heading h3 {
  margin: 0;
  color: var(--navy);
  font-weight: 400;
  font-size: 1.25rem;
}
.service-item-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(27, 55, 77, 0.04);
  border: 1px solid var(--border);
}
.service-item-icon svg { display: block; width: 26px; height: 26px; }
.service-item p { margin: 0; }

.card h3 {
  color: var(--navy);
  font-size: 1.3rem;
  font-weight: 400;
  margin-bottom: 12px;
}

.card p {
  color: var(--text-secondary);
  font-size: 0.98rem;
  line-height: 1.7;
  margin-bottom: 0;
}

/* ── Use Case Grid ──────────────────────────────────────────────────────── */

.use-case-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px;
}

.use-case-block h2 {
  color: var(--navy);
  font-size: 1.6rem;
  margin-bottom: 1.25rem;
}

.check-list {
  list-style: none;
  padding: 0;
}

.check-list li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 16px;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* ── Flowchart ──────────────────────────────────────────────────────────── */

.flowchart {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.flowchart-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 0;
}

.flowchart-header h2 {
  color: var(--navy);
  font-size: 1.5rem;
  margin: 0;
}

.flowchart-dot {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 4px rgba(206,80,22,0.15);
}

.flowchart-track {
  position: relative;
  padding-left: 30px;
  margin-top: 8px;
}

/* Vertical connecting line */
.flowchart-track::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--orange), rgba(206,80,22,0.2));
}

.flowchart-node {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 3px solid var(--orange);
  border-radius: 6px;
  padding: 16px 20px;
  margin-bottom: 14px;
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--text-secondary);
  transition: box-shadow var(--transition), transform var(--transition);
}

.flowchart-node:last-child {
  margin-bottom: 0;
}

.flowchart-node:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  transform: translateX(3px);
}

/* Horizontal connector from track line to node */
.flowchart-node::before {
  content: '';
  position: absolute;
  left: -22px;
  top: 22px;
  width: 16px;
  height: 2px;
  background: var(--orange);
}

/* Node dot on the track line */
.flowchart-node::after {
  content: '';
  position: absolute;
  left: -28px;
  top: 18px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--orange);
}

/* Green path — "build something new" column */
.flowchart-col--green .flowchart-dot {
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(42,127,80,0.15);
}
.flowchart-col--green .flowchart-track::before {
  background: linear-gradient(to bottom, var(--green), rgba(42,127,80,0.2));
}
.flowchart-col--green .flowchart-node {
  border-left: 3px solid var(--green);
}
.flowchart-col--green .flowchart-node::before {
  background: var(--green);
}
.flowchart-col--green .flowchart-node::after {
  border-color: var(--green);
}

/* Merge connector */
.flowchart-merge {
  text-align: center;
  margin-top: 0;
  padding-top: 20px;
}

.flowchart-merge-lines {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  height: 50px;
  position: relative;
}

.flowchart-merge-line {
  display: block;
  height: 2px;
  background: var(--orange);
  flex: 1;
  max-width: 38%;
}

.flowchart-merge-line--left {
  background: linear-gradient(to right, transparent, var(--green));
}

.flowchart-merge-line--right {
  background: linear-gradient(to left, transparent, var(--orange));
}

.flowchart-merge-dot {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--navy);
  box-shadow: 0 0 0 5px rgba(27,55,77,0.15), 0 0 0 10px rgba(27,55,77,0.06);
}

.use-case-reassurance {
  text-align: center;
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--navy);
  margin-top: 1rem;
  margin-bottom: 0;
}

.intro-block {
  text-align: center;
}

.intro-block .lead-text {
  text-align: left;
  margin-bottom: 2.5rem;
}

.intro-block .btn {
  margin-top: 0;
}

.check-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--orange);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 8l3 3 5-5' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: 14px;
  background-repeat: no-repeat;
  background-position: center;
}

/* ── CTA Section ────────────────────────────────────────────────────────── */

.cta-section {
  text-align: center;
  padding: 80px 24px;
}

.cta-inner {
  max-width: 640px;
}

.cta-inner h2 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.cta-inner p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.cta-inner .btn {
  font-size: 1.05rem;
  padding: 16px 44px;
}

/* ── Legacy CTA class (inner pages) ─────────────────────────────────────── */

.cta {
  text-align: center;
  padding: 64px 24px;
  background: var(--navy);
  margin-top: 2rem;
}

.cta h2 {
  color: var(--white);
  font-size: 2rem;
  margin-bottom: 1.25rem;
}

.cta p { color: rgba(255,255,255,0.8); }

.cta-button {
  display: inline-block;
  background: var(--orange);
  color: var(--white);
  padding: 14px 36px;
  border-radius: 6px;
  font-weight: 400;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  transition: background var(--transition), transform var(--transition);
}

.cta-button:hover {
  background: var(--orange-hover);
  color: var(--white);
  text-decoration: none;
  transform: translateY(-1px);
}

/* ── Inner Page Content ─────────────────────────────────────────────────── */

main > *:not(.hero):not(.cta):not(.cta-section):not(.section):not(.section-banner):not(.brand-strip):not(.page-header):not(.article-list):not(.category-nav) {
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

main > h1 {
  margin-top: 40px;
  margin-bottom: 12px;
  font-size: 2.2rem;
}

main > p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 800px;
}

/* ── Service sections (services page) ───────────────────────────────────── */

.service-highlight,
.service {
  padding: 36px 24px;
  max-width: var(--max-w);
  margin: 0 auto;
  border-bottom: 1px solid var(--border);
}

.service-highlight:last-of-type,
.service:last-of-type {
  border-bottom: none;
}

.service-highlight h2,
.service h2 {
  color: var(--navy);
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 8px;
}

.service-highlight p,
.service p {
  max-width: 820px;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* ── Intro (homepage legacy) ────────────────────────────────────────────── */

.intro {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 40px 24px;
}

.intro p {
  font-size: 1.1rem;
  line-height: 1.8;
  max-width: 820px;
  color: var(--text-secondary);
}

/* ── Use cases (legacy class) ───────────────────────────────────────────── */

.use-cases {
  padding: 36px 24px;
  max-width: var(--max-w);
  margin: 0 auto;
  border-bottom: 1px solid var(--border);
}
.use-cases:last-of-type { border-bottom: none; }
.use-cases h2 { font-size: 1.5rem; color: var(--navy); margin-bottom: 1rem; }
.use-cases li { color: var(--text-secondary); }

/* ── Articles ───────────────────────────────────────────────────────────── */

.article-list {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 24px;
}

.article-preview {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 24px;
  align-items: start;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}
.article-preview:last-child { border-bottom: none; }

.article-preview-img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--border);
}

.article-preview-content {
  min-width: 0;
}

.article-preview h2 {
  font-size: 1.25rem;
  font-weight: 400;
  margin-top: 0;
  margin-bottom: 4px;
}
.article-preview h2 a { color: var(--navy); }
.article-preview h2 a:hover { color: var(--orange); }

.article-preview time {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.article-preview p {
  color: var(--text-secondary);
  margin-top: 6px;
  font-size: 0.98rem;
}

/* Article lead: image floated left, title + paragraphs wrap */
.article-lead-img {
  float: left;
  width: 340px;
  height: auto;
  border-radius: 8px;
  border: 1px solid var(--border);
  margin: 0 28px 18px 0;
}

.author-headshot {
  margin: 0 0 18px;
  max-width: 200px;
}
.author-headshot img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  border: 1px solid var(--border);
  display: block;
}
@media (min-width: 720px) {
  .author-headshot {
    float: left;
    margin: 4px 28px 12px 0;
    max-width: 200px;
  }
}

.article-title {
  font-size: 1.6rem;
  font-weight: 300;
  color: var(--navy);
  margin-bottom: 8px;
  line-height: 1.3;
}

.article-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.article-meta a { color: var(--orange); }

.article-body {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 32px 24px;
}
.article-body h2 { margin-top: 2.5rem; color: var(--navy); }
.article-body h3 { margin-top: 2rem; }
.article-body p { max-width: 760px; }

.categories, .tags {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 6px;
}
.categories a, .tags a { color: var(--orange); }

.article-back {
  margin-top: 1.5rem;
}
.article-back a {
  color: var(--orange);
  font-size: 0.9rem;
  text-decoration: none;
}
.article-back a:hover { text-decoration: underline; }

.article-filter {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}
.article-filter strong {
  color: var(--navy);
  text-transform: capitalize;
}

.article-cta {
  max-width: var(--max-w);
  margin: 2.5rem auto 0;
  padding: 28px 32px;
  background: var(--navy);
  color: #fff;
  border-radius: 8px;
}
.article-cta h3 {
  font-size: 1.4rem;
  font-weight: 400;
  margin-bottom: 10px;
  color: #fff;
}
.article-cta p {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 14px;
  color: rgba(255,255,255,0.88);
}
.article-cta-link {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 400;
  color: #fff;
  border: 1px solid var(--orange);
  padding: 8px 20px;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.article-cta-link:hover {
  background: var(--orange);
  color: #fff;
}

/* ── FAQ accordion (native <details>/<summary>) ─────────────────────────── */
.article-faq {
  max-width: var(--max-w);
  margin: 3rem auto 0;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.article-faq-heading {
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--navy);
  text-align: center;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}
.faq-list {
  max-width: 820px;
  margin: 0 auto;
}
.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 12px;
  overflow: hidden;
  transition: box-shadow var(--transition);
}
.faq-item[open] {
  box-shadow: 0 2px 10px rgba(27, 55, 77, 0.08);
  border-color: rgba(27, 55, 77, 0.2);
}
.faq-question {
  padding: 18px 22px;
  font-family: var(--font);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: background var(--transition), color var(--transition);
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question::marker { content: ""; }
.faq-question:hover {
  background: var(--off-white);
  color: var(--orange);
}
.faq-question::after {
  content: "+";
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--orange);
  border: 1px solid var(--border);
  border-radius: 50%;
  line-height: 1;
  transition: transform var(--transition), background var(--transition), color var(--transition);
}
.faq-item[open] .faq-question::after {
  content: "\2212"; /* minus sign */
  transform: rotate(180deg);
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}
.faq-answer {
  padding: 4px 22px 22px;
  color: var(--text);
  line-height: 1.7;
  border-top: 1px solid var(--border);
  background: var(--off-white);
}
.faq-answer p {
  margin: 14px 0 0;
}
.faq-answer p:first-child {
  margin-top: 14px;
}
.faq-answer a {
  color: var(--orange);
  text-decoration: underline;
}
.faq-answer a:hover {
  color: var(--orange-hover);
}

.category-nav {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
}

.category-nav ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.category-nav li { margin: 0; }

.category-nav a {
  display: inline-block;
  padding: 6px 14px;
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  transition: all var(--transition);
}
.category-nav a:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
  text-decoration: none;
}

/* ── Breadcrumb ─────────────────────────────────────────────────────────── */

nav[aria-label="breadcrumb"] {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  padding-top: 16px;
}
nav[aria-label="breadcrumb"] a { color: var(--orange); }

/* ── Pillar list (framework page) ───────────────────────────────────────── */

.pillar {
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}
.pillar:last-child { border-bottom: none; }
.pillar h2 { color: var(--navy); font-weight: 400; font-size: 1.4rem; }
.pillar p, .pillar li { color: var(--text-secondary); }

/* ── Products ───────────────────────────────────────────────────────────── */

.product-card {
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}
.product-card:last-child { border-bottom: none; }
.product-card h2 { color: var(--navy); font-weight: 400; }
.product-card a { color: var(--orange); }

/* ── Solutions ──────────────────────────────────────────────────────────── */

.solution-card {
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.solution-card:last-child { border-bottom: none; }
.solution-card a { color: var(--navy); font-size: 1.05rem; font-weight: 400; }
.solution-card a:hover { color: var(--orange); }
.solution-card p { font-size: 0.95rem; margin-top: 4px; margin-bottom: 0; color: var(--text-secondary); }

/* ── Industries / Technologies ──────────────────────────────────────────── */

.industry-list, .tech-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
}

.industry-list li, .tech-list li {
  background: var(--off-white);
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 0.95rem;
  color: var(--text-secondary);
  border: 1px solid var(--border);
}

.tech-list a { color: var(--orange); }

/* ── Form container ─────────────────────────────────────────────────────── */

.form-container {
  margin: 2rem auto;
  max-width: 640px;
}

/* ── 404 Page ───────────────────────────────────────────────────────────── */

.error-page { text-align: center; padding: 80px 24px; }
.error-page h1 { font-size: 4rem; color: var(--navy); margin-bottom: 0.5rem; }
.error-page p { font-size: 1.1rem; max-width: 480px; margin: 0 auto 2rem; color: var(--text-secondary); }
.error-page ul { list-style: none; padding: 0; display: flex; justify-content: center; gap: 2rem; flex-wrap: wrap; }
.error-page li { margin: 0; }
.error-page a { color: var(--orange); font-weight: 400; }

/* ── Footer ─────────────────────────────────────────────────────────────── */

.site-footer {
  background: var(--gray-bg);
  padding: 40px 24px;
  margin-top: auto;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  text-align: center;
}

.footer-social {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  margin-bottom: 16px;
}

.footer-social a {
  color: rgba(255,255,255,0.5);
  transition: color var(--transition);
  display: flex;
  align-items: center;
}
.footer-social a:hover { color: var(--white); }
.footer-social svg { display: block; }

.footer-copyright {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}

/* ── Page Header (inner pages) ─────────────────────────────────────────── */

.page-header {
  background: var(--navy);
  color: var(--white);
  padding: 64px 24px 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: -60%;
  left: -15%;
  width: 130%;
  height: 220%;
  background: radial-gradient(ellipse at 25% 40%, rgba(206,80,22,0.07) 0%, transparent 55%),
              radial-gradient(ellipse at 75% 60%, rgba(255,255,255,0.03) 0%, transparent 50%);
  pointer-events: none;
}

.page-header .container {
  position: relative;
}

.page-header h1 {
  color: var(--white);
  font-size: 2.8rem;
  font-weight: 300;
  margin-bottom: 0.75rem;
}

.page-header .page-subtitle {
  color: rgba(255,255,255,0.7);
  font-size: 1.15rem;
  line-height: 1.7;
  max-width: 640px;
  margin: 0 auto;
}

/* ── 3-Column Card Grid ────────────────────────────────────────────────── */

.card-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* /services/ grid cards: stretch to equal height, push .card-learn-more to the bottom regardless of copy length. The paragraph grows to absorb extra vertical space; the learn-more keeps its natural 20px top margin. */
.card-grid-3 > .card {
  display: flex;
  flex-direction: column;
}
.card-grid-3 > .card p {
  flex: 1;
}

/* ── Pillar Grid (framework) ───────────────────────────────────────────── */

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

.pillar-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 32px 28px;
  transition: box-shadow var(--transition), transform var(--transition);
  position: relative;
  /* Stretch to equal height within the grid and pin .card-learn-more to the bottom + center regardless of list length. */
  display: flex;
  flex-direction: column;
}

/* Pin Learn more to the bottom of the card and horizontally center it. margin-top: auto absorbs all remaining vertical space above; align-self: center places it on the cross-axis center of the flex column (horizontally centered). */
.pillar-card > .card-learn-more {
  margin-top: auto;
  align-self: center;
  padding-top: 20px;
}

/* Shrink the header (number badge + h3) and sub-discipline list to their natural content width and center them horizontally on the card. Otherwise align-items stretch in the flex column would pull both full-width and leave the block visually off-balance. The bullets inside .pillar-card li still align at each li's left edge (position: relative on the li + absolute bullet at left: 0), so the bullets remain aligned to each other even though the ul itself is only as wide as the longest list item. */
.pillar-card > .pillar-card-header,
.pillar-card > ul {
  align-self: center;
}

.pillar-card:hover {
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}

.pillar-card:nth-child(odd) {
  border-top: 3px solid var(--navy);
}

.pillar-card:nth-child(even) {
  border-top: 3px solid var(--orange);
}

.pillar-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}

/* Stroke tokens: --icon-stroke (1.5), --icon-stroke-bold (1.8), --icon-stroke-light (1) */
.pillar-icon svg {
  width: 160px;
  height: 160px;
}

.pillar-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.number-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-size: 1rem;
  font-weight: 400;
  flex-shrink: 0;
}

.pillar-card:nth-child(even) .number-badge {
  background: var(--orange);
}

.pillar-card h3 {
  color: var(--navy);
  font-size: 1.2rem;
  font-weight: 400;
  margin-bottom: 0;
}

.pillar-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pillar-card li {
  padding: 6px 0;
  padding-left: 20px;
  position: relative;
  font-size: 0.92rem;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--off-white);
}

.pillar-card li:last-child {
  border-bottom: none;
}

/* Linked pillar card: entire card is a clickable anchor. Uses flex column (overrides the default a.card--link block display) so .card-learn-more can be pinned to the bottom via margin-top: auto and horizontally centered via align-self: center. */
a.pillar-card--link {
  display: flex;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
}
a.pillar-card--link:hover { color: inherit; }
a.pillar-card--link:hover .card-learn-more { color: var(--orange-hover); }
a.pillar-card--link:hover .card-learn-more::after { transform: translateX(3px); }

.pillar-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
}

/* ── Product Hero Cards ────────────────────────────────────────────────── */

/* ── Product Grid (3-across) ───────────────────────────────────────────── */

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  max-width: 1280px;
  margin: 0 auto;
}

.product-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 40px 32px;
  transition: box-shadow var(--transition), transform var(--transition);
  position: relative;
  overflow: hidden;
}

.product-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
}

.product-card--grow::after  { background: var(--green); }
.product-card--scale::after { background: var(--navy); }
.product-card--collect::after { background: var(--orange); }

.product-card:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}

.product-card-logo {
  margin-bottom: 28px;
  width: 100%;
  display: flex;
  justify-content: center;
}

.product-card-logo img {
  display: block;
  width: 100%;
  height: auto;
}

.product-card h3 {
  font-size: 1.2rem;
  color: var(--navy);
  font-weight: 400;
  margin-bottom: 12px;
}

.product-card p {
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 0.95rem;
  flex-grow: 1;
}

.product-btn {
  display: inline-block;
  margin-top: 24px;
  align-self: center;
  text-align: center;
  padding: 12px 32px;
  color: var(--white);
}

a.product-btn,
a.product-btn:hover,
a.product-btn:visited,
a.product-btn:active {
  color: var(--white);
}

.product-btn--grow  { background: var(--green); }
.product-btn--grow:hover  { background: var(--green-hover); }
.product-btn--scale { background: var(--navy); }
.product-btn--scale:hover { background: var(--navy-90); }
.product-btn--collect { background: var(--orange); }
.product-btn--collect:hover { background: var(--orange-hover); }

/* ── Learn More Link ───────────────────────────────────────────────────── */

.learn-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--orange);
  font-weight: 400;
  font-size: 0.95rem;
  transition: gap var(--transition), color var(--transition);
}

.learn-more::after {
  content: '\2192';
  transition: transform var(--transition);
}

.learn-more:hover {
  color: var(--orange-hover);
}

.learn-more:hover::after {
  transform: translateX(4px);
}

/* ── Contact Grid ──────────────────────────────────────────────────────── */

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

.contact-info h2 {
  color: var(--navy);
  font-size: 1.6rem;
  margin-bottom: 1rem;
}

.contact-info p {
  color: var(--text-secondary);
  line-height: 1.7;
}

.contact-phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--navy);
  margin: 1rem 0;
}

.contact-phone svg {
  color: var(--orange);
}

.contact-phone:hover {
  color: var(--orange);
}

/* ── Solution Grid ─────────────────────────────────────────────────────── */

.solution-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.solution-grid .card {
  display: flex;
  flex-direction: column;
}

.solution-grid .card h3 a {
  color: var(--navy);
  transition: color var(--transition);
}

.solution-grid .card h3 a:hover {
  color: var(--orange);
}

.solution-grid .card p {
  flex: 1;
}

/* ── Expertise Grid (Industry cards with icons) ───────────────────────── */

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

.expertise-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 28px 16px 22px;
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
  color: var(--text-secondary);
  text-decoration: none;
}

.expertise-card:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,0.07);
  transform: translateY(-2px);
  border-color: var(--orange);
  color: var(--navy);
}

/* Static (non-link) cards keep a flat appearance so the clickable cards read as interactive */
.expertise-card--static:hover {
  box-shadow: none;
  transform: none;
  border-color: var(--border);
  color: var(--text-secondary);
  cursor: default;
}

.expertise-card-icon {
  margin-bottom: 14px;
}

.expertise-card-icon svg {
  width: 72px;
  height: 72px;
  display: block;
}

.expertise-card h3 {
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 0;
  line-height: 1.3;
}

/* ── Technology Logo Grid ─────────────────────────────────────────────── */

.tech-logo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.tech-logo-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 24px 16px 18px;
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
  color: var(--text-secondary);
  text-decoration: none;
}

.tech-logo-card:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,0.07);
  transform: translateY(-2px);
  border-color: var(--navy);
  color: var(--navy);
}

.tech-logo-card img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  margin-bottom: 12px;
}

.tech-logo-card span {
  font-size: 0.9rem;
  font-weight: 400;
  line-height: 1.3;
}

/* ── AI & Cloud Grid ──────────────────────────────────────────────────── */

.ai-cloud-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.ai-cloud-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 32px;
  text-align: center;
  transition: box-shadow var(--transition);
}

.ai-cloud-card:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,0.07);
}

.ai-cloud-icon {
  margin-bottom: 16px;
  display: flex;
  justify-content: center;
}

.ai-cloud-icon svg {
  width: 80px;
  height: 80px;
}

.ai-cloud-card h3 {
  color: var(--navy);
  font-size: 1.15rem;
  margin-bottom: 16px;
}

.ai-cloud-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ai-cloud-card li {
  display: inline-block;
  background: rgba(206,80,22,0.06);
  border: 1px solid rgba(206,80,22,0.25);
  border-radius: 6px;
  padding: 6px 16px;
  margin: 4px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* ── Responsive ─────────────────────────────────────────────────────────── */

@media (max-width: 768px) {
  .site-nav {
    flex-wrap: wrap;
    height: auto;
    min-height: 60px;
    padding: 12px 0;
    gap: 12px;
  }

  /* Logo is a 2000x300 SVG, so at 44px tall it renders ~293px wide and
     crowds the hamburger off the row. Shrink it on mobile so the
     header always fits logo + hamburger in one line. */
  .logo { height: 32px; }

  .nav-toggle { display: block; flex-shrink: 0; }

  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 0;
    padding: 8px 0 4px;
    border-top: 1px solid var(--border);
    margin-top: 8px;
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    display: block;
    padding: 10px 0;
    font-size: 0.9rem;
  }

  .hero { padding: 60px 20px 50px; }
  .hero h1 { font-size: 2.4rem; }
  .hero-tagline { font-size: 1.05rem; }

  .section { padding: 48px 0; }

  .article-preview { grid-template-columns: 1fr; gap: 12px; }
  .article-preview-img { max-width: 100%; }
  .article-lead-img { float: none; width: 100%; margin: 0 0 16px 0; }
  .card--icon-centered .card-icon svg { width: 100px; height: 100px; }
  .hero-geo--3, .hero-geo--5, .hero-geo--7, .hero-geo--8, .hero-geo--9, .hero-geo--10, .hero-geo--11 { display: none; }
  .intro-geo { display: none; }
  .flowchart { grid-template-columns: 1fr; gap: 36px; }
  .card-grid { grid-template-columns: 1fr; gap: 20px; }
  .card-grid-3 { grid-template-columns: 1fr; gap: 20px; }
  .pillar-grid { grid-template-columns: 1fr; gap: 20px; }
  .pillar-icon svg { width: 100px; height: 100px; }
  .solution-grid { grid-template-columns: 1fr; gap: 20px; }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .expertise-grid { grid-template-columns: repeat(2, 1fr); }
  .tech-logo-grid { grid-template-columns: repeat(2, 1fr); }
  .ai-cloud-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr; gap: 24px; }
  .product-card-logo img { max-width: 260px; }

  .page-header { padding: 48px 20px 40px; }
  .page-header h1 { font-size: 2rem; }

  .cta-section { padding: 56px 20px; }
  .cta-inner h2 { font-size: 1.75rem; }

  .section-heading { font-size: 1.65rem; margin-bottom: 32px; }

  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }

  main > h1 { margin-top: 24px; }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .card-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .solution-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .expertise-grid { grid-template-columns: repeat(3, 1fr); }
  .tech-logo-grid { grid-template-columns: repeat(3, 1fr); }
  .pillar-icon svg { width: 120px; height: 120px; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 2rem; }
  .hero-eyebrow { font-size: 0.95rem; }
  .cta-inner h2 { font-size: 1.5rem; }
  .btn { padding: 12px 28px; font-size: 0.95rem; }
  .card { padding: 28px 24px; }
  .card--icon-centered .card-icon svg { width: 80px; height: 80px; }
  .pillar-icon svg { width: 80px; height: 80px; }
  .expertise-grid { grid-template-columns: 1fr; }
  .tech-logo-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ─────────────────────────────────────────────────────────────────────── */
/* Home repositioning: hero split, mid-page banner, founder block         */
/* ─────────────────────────────────────────────────────────────────────── */

/* Hero split layout (text + side image) */
.hero-inner.hero-inner--split {
  max-width: 1120px;
  display: flex;
  align-items: center;
  gap: 56px;
  text-align: left;
}
.hero-inner--split .hero-text { flex: 1 1 55%; min-width: 0; }
.hero-inner--split .hero-image-wrap { flex: 1 1 45%; min-width: 0; }
.hero-inner--split .hero-image-wrap img {
  width: 100%;
  height: auto;
  display: block;
  mix-blend-mode: lighten;
  animation: hero-image-drift 18s ease-in-out infinite;
}

@keyframes hero-image-drift {
  0%, 100% { transform: translate(0, 0); }
  33%      { transform: translate(3px, -8px); }
  66%      { transform: translate(-2px, 4px); }
}
.hero-inner--split .hero-tagline {
  margin-left: 0;
  margin-right: 0;
  max-width: none;
}
.hero-inner--split h1 { text-align: left; }

@media (max-width: 960px) {
  .hero-inner.hero-inner--split {
    flex-direction: column;
    text-align: center;
    gap: 36px;
    max-width: 760px;
  }
  .hero-inner--split h1 { text-align: center; }
  .hero-inner--split .hero-tagline {
    margin-left: auto;
    margin-right: auto;
    max-width: 600px;
  }
}

/* Mid-page photographic banner */
section.section-banner {
  padding: 0;
  position: relative;
  overflow: hidden;
  background-color: #1B374D;
}
.section-banner img {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  height: 320px;
  object-fit: cover;
  display: block;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 12%, #000 88%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, #000 12%, #000 88%, transparent 100%);
}
@media (max-width: 768px) {
  .section-banner img { height: 220px; }
}

/* Founder block (Scott Bennett feature) */
.founder-block {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 56px;
  align-items: center;
  max-width: 1080px;
  margin: 0 auto;
}
.founder-image {
  width: 260px;
  height: 260px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 14px 36px rgba(27,55,77,0.18), 0 0 0 6px rgba(206,80,22,0.08);
  display: block;
}
.founder-content .founder-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.85rem;
  color: var(--orange, #CE5016);
  font-weight: 600;
  margin-bottom: 8px;
}
.founder-content h2 {
  font-size: 2rem;
  color: var(--navy);
  margin: 0 0 14px;
  line-height: 1.2;
}
.founder-content > p {
  font-size: 1.05rem;
  color: #333;
  line-height: 1.7;
  margin: 0 0 18px;
}
.founder-credentials {
  list-style: none;
  padding: 0;
  margin: 18px 0 26px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 28px;
}
.founder-credentials li {
  font-size: 0.95rem;
  color: #333;
  position: relative;
  padding-left: 22px;
  line-height: 1.5;
}
.founder-credentials li::before {
  content: '\2713';
  color: var(--orange, #CE5016);
  font-weight: 700;
  position: absolute;
  left: 0;
  top: 0;
}
.founder-content .btn {
  margin-top: 4px;
}

@media (max-width: 768px) {
  .founder-block {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 24px;
  }
  .founder-image {
    margin: 0 auto;
    width: 200px;
    height: 200px;
  }
  .founder-credentials {
    grid-template-columns: 1fr;
    text-align: left;
    max-width: 340px;
    margin: 16px auto 24px;
  }
}

/* ─────────────────────────────────────────────────────────────────────── */
/* Section split layout: text on the left, side image on the right        */
/* (used for content sections that benefit from a paired visual)          */
/* ─────────────────────────────────────────────────────────────────────── */

.section--split .container {
  display: flex;
  align-items: center;
  gap: 56px;
  flex-wrap: wrap;
}
.split-text {
  flex: 1 1 55%;
  min-width: 280px;
}
.split-image {
  flex: 1 1 38%;
  min-width: 240px;
}
.split-image img {
  width: 100%;
  height: auto;
  display: block;
  mix-blend-mode: lighten;
  animation: section-image-drift 18s ease-in-out infinite;
}

@keyframes section-image-drift {
  0%, 100% { transform: translate(0, 0); }
  33%      { transform: translate(3px, -8px); }
  66%      { transform: translate(-2px, 4px); }
}

@media (max-width: 880px) {
  .section--split .container {
    flex-direction: column;
    gap: 32px;
  }
  .split-text, .split-image { flex: 1 1 100%; }
  .split-image { max-width: 480px; margin: 0 auto; }
}

/* ─────────────────────────────────────────────────────────────────────── */
/* Brand strip: companies whose software the founder has led              */
/* Used on /about/scott-bennett/. Logos served from local /img/logos/.    */
/* ─────────────────────────────────────────────────────────────────────── */

.brand-strip {
  padding: 40px 24px 36px;
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.brand-strip-eyebrow {
  text-align: center;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  margin: 0 0 28px;
  font-weight: 600;
}
.brand-strip-logos {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 1100px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 24px 48px;
}
.brand-strip-logos li {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
}
.brand-strip-logos img {
  max-height: 40px;
  max-width: 130px;
  width: auto;
  height: auto;
  display: block;
  filter: grayscale(100%);
  opacity: 0.65;
  transition: opacity var(--transition), filter var(--transition);
}
.brand-strip-logos img:hover {
  filter: grayscale(0%);
  opacity: 1;
}

@media (max-width: 600px) {
  .brand-strip-logos { gap: 18px 28px; }
  .brand-strip-logos li { height: 36px; }
  .brand-strip-logos img { max-height: 30px; max-width: 100px; }
}
