@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Playfair+Display:ital,wght@0,500;0,600;0,700;1,500&display=swap");

:root {
  --primary: #0c2138;
  --primary-soft: #132a45;
  --secondary: #1a3654;
  --cream: #f7f5f0;
  --cream-dark: #ebe6dc;
  --light: #fdfcfa;
  --gray: #d4cdc0;
  --text: #1a2332;
  --muted: #5c6570;
  --gold: #b8923e;
  --gold-soft: #e8d9b4;
  --gold-deep: #8a6a2a;
  --border: rgba(184, 146, 62, 0.22);
  --radius: 20px;
  --radius-sm: 12px;
  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-quote: "Playfair Display", Georgia, "Times New Roman", serif;
  --content-max: 1160px;
  --content-pad: 24px;
  --content-inset: max(var(--content-pad), calc((100% - var(--content-max)) / 2));
  /* Buttons — shared primary treatment */
  --btn-radius: 999px;
  --btn-pad-y: 12px;
  --btn-pad-x: 26px;
  --btn-font: 14px;
  --btn-weight: 600;
  --btn-track: 0.03em;
  --btn-primary-bg: var(--gold);
  --btn-primary-fg: #fff;
  --btn-primary-border: rgba(184, 146, 62, 0.5);
  --btn-primary-shadow: 0 2px 12px rgba(138, 106, 42, 0.22);
  --btn-primary-bg-hover: var(--gold-deep);
  --btn-primary-shadow-hover: 0 6px 20px rgba(138, 106, 42, 0.28);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  color: var(--text);
  background: var(--cream);
  line-height: 1.65;
}

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

h1, h2, h3, h4, .font-display {
  font-family: var(--font-sans);
  font-weight: 700;
  letter-spacing: -0.03em;
}

/* Centered content column (use inside full-bleed sections when needed) */
.shell {
  width: 100%;
  max-width: 1160px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
  box-sizing: border-box;
}

.page {
  width: 100%;
  max-width: none;
  background: var(--light);
  box-shadow: none;
}

/* ——— Header ——— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: #fff;
  border-bottom: 1px solid rgba(12, 33, 56, 0.1);
  box-shadow: 0 4px 24px rgba(12, 33, 56, 0.06);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Horizontal wordmark on light header: subtle frame optional; dark logo reads directly on white */
.brand--horiz {
  gap: 14px 18px;
  flex-wrap: wrap;
  min-width: 0;
}

.brand-logo-panel {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  padding: 6px 0;
  background: transparent;
  border: none;
  border-radius: var(--radius-sm);
  box-shadow: none;
  flex-shrink: 0;
}

.brand-logo-img {
  display: none;
  height: 40px;
  width: auto;
  max-width: min(300px, 50vw);
  object-fit: contain;
  object-position: left center;
}

.logo-fallback--horiz {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.02em;
  line-height: 1.25;
  max-width: 220px;
}

.logo-wrap {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.logo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: none;
  padding: 6px;
  background: #fff;
  border-radius: 10px;
}

.logo-fallback {
  color: #fff;
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 0.06em;
}

.brand-copy strong {
  display: block;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
}

.brand-copy span {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.72);
  max-width: 220px;
  line-height: 1.35;
}

.brand-copy .gold-line { color: var(--gold-soft); }

.nav-toggle {
  display: none;
  border: 1px solid rgba(12, 33, 56, 0.15);
  background: var(--light);
  color: var(--primary);
  padding: 11px 18px;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

.nav-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 26px;
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
}

.nav-links > a:not(.nav-cta) {
  position: relative;
  padding: 8px 0;
  letter-spacing: 0.01em;
  transition: color 0.2s ease;
}

.nav-links > a:not(.nav-cta):hover { color: var(--primary); }

.nav-links > a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s ease;
}

.nav-links > a:not(.nav-cta):hover::after,
.nav-links > a:not(.nav-cta)[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav-links > a:not(.nav-cta)[aria-current="page"] {
  color: var(--primary);
  font-weight: 600;
}

.nav-cta::after { display: none !important; }

/* ——— Buttons (all CTAs share base + primary/secondary/ghost variants) ——— */
a.btn,
button.btn {
  text-decoration: none;
  -webkit-appearance: none;
  appearance: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: var(--btn-pad-y) var(--btn-pad-x);
  border-radius: var(--btn-radius);
  font-family: var(--font-sans);
  font-size: var(--btn-font);
  font-weight: var(--btn-weight);
  letter-spacing: var(--btn-track);
  line-height: 1.2;
  border: 1px solid transparent;
  box-sizing: border-box;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
  cursor: pointer;
}

.btn:focus-visible,
.nav-cta:focus-visible {
  outline: 2px solid var(--gold-deep);
  outline-offset: 3px;
}

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

.btn:active {
  transform: translateY(0);
}

/* Primary: gold fill, white label (header + body + forms) */
.btn-primary,
.nav-cta {
  background: var(--btn-primary-bg);
  color: var(--btn-primary-fg);
  border-color: var(--btn-primary-border);
  box-shadow: var(--btn-primary-shadow);
}

.btn-primary:hover,
.nav-cta:hover {
  background: var(--btn-primary-bg-hover);
  color: #fff;
  box-shadow: var(--btn-primary-shadow-hover);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 14px;
  padding: 11px 24px;
  min-height: 46px;
  font-weight: var(--btn-weight);
  font-family: var(--font-sans);
  border-radius: var(--btn-radius);
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}

.nav-cta:hover { transform: translateY(-1px); }

.nav-cta:active { transform: translateY(0); }

/* Outline on dark backgrounds (e.g. hero) */
.btn-secondary {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
  box-shadow: none;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.65);
  color: #fff;
  box-shadow: none;
}

/* Light pages: text link as button */
.btn-ghost {
  background: transparent;
  color: var(--primary);
  border-color: var(--border);
  box-shadow: none;
}

.btn-ghost:hover {
  border-color: var(--gold-deep);
  background: rgba(184, 146, 62, 0.08);
  color: var(--primary);
  box-shadow: none;
}

/* ——— Home hero ——— */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--primary);
  color: #fff;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: stretch;
  /* Left inset for text; no top/bottom/right so image can bleed to edges */
  padding: 0 0 0 var(--content-inset);
  max-width: none;
  margin: 0;
  box-sizing: border-box;
}

.hero-copy {
  max-width: 620px;
  padding-top: clamp(40px, 6vw, 64px);
  padding-bottom: clamp(40px, 6vw, 72px);
  padding-right: 0;
  box-sizing: border-box;
  align-self: center;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(184, 146, 62, 0.35);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.92);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 600;
}

.pill::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--gold);
}

.hero h1 {
  margin: 22px 0 0;
  font-size: clamp(1.95rem, 4.2vw, 2.85rem);
  line-height: 1.08;
  font-weight: 600;
  color: #fff;
}

.hero p {
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.05rem;
  line-height: 1.75;
  max-width: 560px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

/* Home hero image: diagonal edge toward copy; flush to viewport on the right */
.hero-inner .image-slot.hero-image-diagonal {
  min-height: clamp(360px, 48vw, 560px);
  height: 100%;
  border-radius: 0;
  border-right: none;
  clip-path: polygon(20% 0, 100% 0, 100% 100%, 0 100%);
  -webkit-clip-path: polygon(20% 0, 100% 0, 100% 100%, 0 100%);
}

/* ——— Inner page hero ——— */
.page-hero {
  background: var(--cream-dark);
  border-bottom: 1px solid rgba(12, 33, 56, 0.06);
  padding: 48px var(--content-inset) 40px;
  box-sizing: border-box;
}

.page-hero-inner {
  max-width: var(--content-max);
  margin: 0;
}

.page-hero h1 {
  margin: 12px 0 0;
  font-size: clamp(1.65rem, 3.2vw, 2.35rem);
  color: var(--primary);
}

.page-hero p.lead {
  margin: 16px 0 0;
  max-width: 640px;
  color: var(--muted);
  font-size: 1.1rem;
}

/* About (and similar): text left, diagonal-clipped image right */
.page-hero--split {
  padding-top: 0;
  padding-bottom: 0;
  padding-right: 0;
  padding-left: var(--content-inset);
}

.page-hero--split .page-hero-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(200px, 38vw);
  gap: clamp(28px, 5vw, 56px);
  align-items: stretch;
  max-width: none;
  margin: 0;
}

.page-hero--split .page-hero-split__copy {
  max-width: 640px;
  align-self: center;
  padding-right: clamp(12px, 3vw, 32px);
}

.page-hero--split .page-hero-split__copy h1 {
  margin-top: 12px;
}

.page-hero--split .page-hero-split__media {
  position: relative;
  min-height: clamp(200px, 28vw, 340px);
}

.page-hero--split .page-hero-split__clip {
  position: absolute;
  inset: 0;
  clip-path: polygon(22% 0, 100% 0, 100% 100%, 0 100%);
  -webkit-clip-path: polygon(22% 0, 100% 0, 100% 100%, 0 100%);
}

.page-hero--split .page-hero-split__clip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  max-width: none;
}

/* Mobile / narrow: hero image full-bleed on top, no diagonal (aligned with home hero ≤900px) */
@media (max-width: 900px) {
  .page-hero--split {
    padding: 0;
  }

  .page-hero--split .page-hero-split {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .page-hero--split .page-hero-split__media {
    order: -1;
    min-height: clamp(200px, 42vw, 280px);
    width: 100%;
    border-bottom: 1px solid rgba(12, 33, 56, 0.08);
  }

  .page-hero--split .page-hero-split__clip {
    position: relative;
    inset: auto;
    min-height: clamp(200px, 42vw, 280px);
    border-radius: 0;
    clip-path: none;
    -webkit-clip-path: none;
  }

  .page-hero--split .page-hero-split__clip img {
    min-height: clamp(200px, 42vw, 280px);
  }

  .page-hero--split .page-hero-split__copy {
    max-width: none;
    padding: clamp(24px, 5vw, 36px) var(--content-inset) clamp(28px, 5vw, 40px);
  }
}

.page-hero--dark {
  background: var(--primary);
  border-bottom-color: var(--border);
}

.page-hero--dark h1,
.page-hero--dark .lead { color: #fff; }
.page-hero--dark .lead { color: rgba(255, 255, 255, 0.78); }
.page-hero--dark .overline { color: var(--gold-soft); }

/* ——— Sections ——— */
.section {
  width: 100%;
  padding: 72px var(--content-inset);
  box-sizing: border-box;
}

.section--tight { padding: 56px var(--content-inset); }

.section.alt { background: var(--cream); }

.section.dark {
  background: var(--primary);
  color: #fff;
}

.section.dark .section-title { color: #fff; }
.section.dark .section-copy { color: rgba(255, 255, 255, 0.78); }

.overline {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 600;
}

.overline::before {
  content: "";
  width: 32px;
  height: 1px;
  background: var(--gold);
}

.section-title {
  margin: 0;
  font-size: clamp(1.5rem, 2.5vw, 1.95rem);
  color: var(--primary);
  line-height: 1.15;
}

.section-copy {
  margin: 16px 0 0;
  max-width: 720px;
  color: var(--muted);
  line-height: 1.75;
  font-size: 1.02rem;
}

.section-rule {
  width: 48px;
  height: 2px;
  background: var(--gold);
  margin: 20px 0 0;
}

.section-head {
  max-width: 720px;
  margin-bottom: 40px;
}

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

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

/* ——— Stats (home: borderless links + optional counter on first) ——— */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 36px);
  width: min(var(--content-max), calc(100% - 2 * var(--content-pad)));
  margin: 0 auto;
  padding: 40px var(--content-pad) 52px;
  box-sizing: border-box;
}

.stat-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 28px 20px 32px;
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  background: transparent;
  border: none;
  transition:
    background 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.stat-link:hover {
  background: var(--cream);
  box-shadow: 0 14px 40px rgba(12, 33, 56, 0.07);
  transform: translateY(-2px);
}

.stat-link:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.stat-link:active {
  transform: translateY(0);
}

.stat-head {
  display: block;
  font-family: var(--font-sans);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  color: var(--primary);
}

.stat-head--counter {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 0;
}

.stat-head-prefix,
.stat-num-run {
  font: inherit;
  color: inherit;
  letter-spacing: inherit;
}

.stat-sub {
  display: block;
  margin-top: 14px;
  font-size: 15px;
  line-height: 1.45;
  color: var(--muted);
  font-weight: 500;
  max-width: 280px;
}

.stat-cta {
  display: block;
  margin-top: 18px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.stat-link:hover .stat-cta {
  color: var(--primary);
}

@media (prefers-reduced-motion: reduce) {
  .stat-link:hover {
    transform: none;
  }
}

/* ——— Pillars / features ——— */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.pillar {
  padding: 32px 28px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--light);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.pillar:hover {
  border-color: rgba(184, 146, 62, 0.45);
  box-shadow: 0 16px 40px rgba(12, 33, 56, 0.06);
}

.pillar-num {
  font-family: var(--font-sans);
  font-size: 2.5rem;
  line-height: 1;
  color: var(--gold);
  opacity: 0.85;
}

.pillar h3 {
  margin: 16px 0 0;
  font-size: 1.18rem;
  color: var(--primary);
}

.pillar p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.7;
}

/* ——— Testimonial ——— */
.testimonial {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  padding: 48px 32px;
}

.testimonial blockquote {
  margin: 0;
  font-family: var(--font-quote);
  font-size: clamp(1.35rem, 2.6vw, 1.75rem);
  font-style: italic;
  font-weight: 500;
  line-height: 1.45;
  color: var(--primary);
  letter-spacing: -0.01em;
}

.testimonial figcaption {
  margin-top: 24px;
  font-size: 14px;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ——— Process ——— */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.process-step {
  position: relative;
  padding: 28px 22px;
  border-radius: var(--radius);
  background: var(--light);
  border: 1px solid var(--border);
}

.process-step::before {
  content: attr(data-step);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold-deep);
  letter-spacing: 0.12em;
}

.process-step h4 {
  margin: 12px 0 0;
  font-size: 1.15rem;
  color: var(--primary);
}

.process-step p {
  margin: 10px 0 0;
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ——— Cards ——— */
.service-grid,
.grid-2,
.grid-3,
.industries-grid {
  display: grid;
  gap: 22px;
}

.service-grid,
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3,
.industries-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.card {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--light);
  padding: 28px 26px;
  position: relative;
  border-left: 3px solid var(--gold);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.card:hover {
  box-shadow: 0 20px 48px rgba(12, 33, 56, 0.07);
  border-color: rgba(184, 146, 62, 0.35);
}

.card::before { display: none; }

.card h2,
.card h3,
.card h4 {
  margin: 0;
  color: var(--primary);
  font-size: 1.2rem;
  line-height: 1.35;
}

.card p,
.card li {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.7;
}

.card ul {
  margin: 14px 0 0;
  padding-left: 20px;
}

.two-tone {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
}

main.page > .two-tone {
  padding: 0 var(--content-inset) 40px;
  max-width: none;
  margin: 0;
  box-sizing: border-box;
}

.two-tone > .section.dark {
  background: var(--secondary);
  padding: 28px;
  display: flex;
  align-items: center;
}

/* Services: dark column = full-width image + CTA stack */
.two-tone > .section.dark.two-tone-visual {
  padding: 0;
  flex-direction: column;
  align-items: stretch;
  align-self: stretch;
}

.two-tone-visual__figure {
  width: 100%;
  margin: 0;
  min-height: 420px;
  border-radius: 0;
  border: none;
  background: #0f1f32;
}

.two-tone-visual__figure.image-slot {
  border-radius: 0;
  border: none;
}

.two-tone-visual__cta {
  padding: clamp(22px, 4vw, 28px) var(--content-pad) 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.two-tone-visual__eyebrow {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold-soft);
}

.two-tone-visual__title {
  margin: 10px 0 0;
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  line-height: 1.22;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
}

.two-tone-visual__text {
  margin: 12px 0 0;
  font-size: 0.98rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.78);
}

.two-tone-visual__btn {
  margin-top: 20px;
}

.two-tone > .section.alt {
  padding: 0;
  background: transparent;
}

.highlight-panel {
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 36px;
}

.divider {
  margin: 32px 0;
  border: none;
  border-top: 1px solid var(--border);
}

.industry-list {
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.8;
  font-size: 0.95rem;
}

.image-panel-dark {
  background: var(--secondary);
  padding: 24px;
}

.image-slot {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  min-height: 300px;
  background: var(--primary-soft);
  border: 1px solid var(--border);
}

.image-slot.dark { background: #0f1f32; }
.image-slot.tall { min-height: 520px; }
.image-slot.hero-tall { min-height: 440px; }
.image-slot.short { min-height: 300px; }

.image-slot img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  display: none;
}

.image-slot.loaded img { display: block; }

/* Services: “What we deliver” hero strip — full bleed, flat */
.services-deliver-banner {
  width: 100vw;
  max-width: none;
  margin: 0 calc(50% - 50vw) 24px;
  border-radius: 0;
  border: none;
  box-shadow: none;
}

.services-deliver-banner.image-slot {
  border-radius: 0;
  border: none;
}

.pull-quote {
  margin-top: 24px;
  font-family: var(--font-sans);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--gold-deep);
  line-height: 1.4;
}

/* ——— CTA band ——— */
.cta-band {
  width: 100%;
  padding: clamp(40px, 6vw, 64px) var(--content-inset);
  background: var(--primary);
  border-top: 1px solid var(--border);
  box-sizing: border-box;
}

.cta-band-inner {
  max-width: var(--content-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
}

.cta-band-copy {
  text-align: left;
  min-width: 0;
}

.cta-band-copy h2 {
  margin: 0;
  font-size: clamp(1.3rem, 2.3vw, 1.75rem);
  line-height: 1.18;
  color: #fff;
  letter-spacing: -0.03em;
}

.cta-band-copy p {
  margin: 14px 0 0;
  max-width: 38rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.05rem;
  line-height: 1.65;
}

.cta-band-action {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-shrink: 0;
}

.cta-band .btn-primary {
  margin-top: 0;
  white-space: nowrap;
}

@media (max-width: 720px) {
  .cta-band-inner {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .cta-band-copy {
    text-align: center;
  }

  .cta-band-copy p {
    margin-left: auto;
    margin-right: auto;
  }

  .cta-band-action {
    justify-content: center;
    width: 100%;
  }

  .cta-band .btn-primary {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }
}

/* ——— Scroll reveal (on-scroll) ——— */
@media (prefers-reduced-motion: no-preference) {
  .js-reveal {
    opacity: 0;
    transform: translate3d(0, 1.15rem, 0);
    transition:
      opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
      transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .js-reveal.is-revealed {
    opacity: 1;
    transform: none;
  }
}

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

/* ——— Contact ——— */
.section.contact-visual-section {
  padding:0px;
}

.contact-visual-section .contact-visual-slot {
  width: 100%;
  max-width: none;
  margin: 0;
  border-radius: 0;
  border-left: none;
  border-right: none;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 48px;
  padding: 0;
  max-width: var(--content-max);
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
  align-items: start;
}

.contact-copy h2 {
  margin: 0;
  font-size: clamp(1.4rem, 2.3vw, 1.85rem);
  color: var(--primary);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.contact-copy .section-head {
  margin-bottom: 24px;
}

.contact-copy > p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
  max-width: 520px;
  font-size: 1.02rem;
}

.form-card {
  border-radius: var(--radius);
  background: var(--light);
  padding: 32px 34px 36px;
  border: 1px solid var(--border);
  box-shadow: 0 16px 48px rgba(12, 33, 56, 0.08);
}

.form-card h3 {
  margin: 0;
  font-size: 1.65rem;
  font-family: var(--font-sans);
  color: var(--primary);
}

.form-card__body {
  margin-top: 8px;
  min-height: 280px;
}

.form-thanks[hidden] {
  display: none !important;
}

.form-thanks {
  padding: 12px 0 8px;
  outline: none;
}

.form-thanks__title {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--primary);
}

.form-thanks__text {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.65;
  font-size: 1.02rem;
  max-width: 38rem;
}

.form-grid {
  display: grid;
  gap: 18px;
  margin-top: 24px;
}

/* After submit: hidden attribute + class both beat .form-grid { display: grid } */
form[data-contact-form][hidden],
form[data-contact-form].contact-form--sent {
  display: none !important;
}

.field label {
  display: block;
  margin-bottom: 8px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.input,
.textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fff;
  padding: 12px 16px;
  font: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.input:focus,
.textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(184, 146, 62, 0.15);
}

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

.info-card {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--light);
  padding: 24px 26px;
  margin-top: 28px;
  box-shadow: 0 12px 36px rgba(12, 33, 56, 0.05);
}

.info-card h3 {
  margin: 0 0 12px;
  color: var(--primary);
  font-size: 1.05rem;
  font-family: var(--font-sans);
  font-weight: 700;
}

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

.info-card p + p {
  margin-top: 12px;
}

.info-card .info-phone {
  font-weight: 600;
  color: var(--primary);
}

.info-card .info-phone a {
  color: var(--gold-deep);
  font-weight: 600;
}

.info-card .info-phone a:hover {
  color: var(--primary);
}

.form-card .form-note {
  margin: 18px 0 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}

/* ——— FAQ ——— */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--light);
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-item summary {
  padding: 20px 24px;
  font-weight: 600;
  color: var(--primary);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 1.02rem;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: rotate(45deg);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  transform: rotate(-135deg);
}

.faq-item .faq-answer {
  margin: 0;
  padding: 16px 24px 22px;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.75;
  border-top: 1px solid rgba(12, 33, 56, 0.06);
}

/* ——— Blog ——— */
.blog-featured {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  align-items: stretch;
  margin-bottom: 48px;
  padding: 32px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--cream);
}

.blog-featured-copy h2 {
  margin: 12px 0 0;
  font-size: clamp(1.35rem, 2vw, 1.65rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.blog-featured-copy p {
  margin: 16px 0 0;
  color: var(--muted);
}

.blog-meta {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold-deep);
  font-weight: 600;
}

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

.blog-card {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--light);
  overflow: hidden;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.blog-card:hover {
  box-shadow: 0 20px 48px rgba(12, 33, 56, 0.08);
  border-color: rgba(184, 146, 62, 0.4);
}

.blog-card a {
  display: block;
  padding: 28px;
  height: 100%;
}

.blog-card h3 {
  margin: 14px 0 0;
  font-size: 1.2rem;
  color: var(--primary);
  line-height: 1.25;
}

.blog-card p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.65;
}

.blog-card .read-more,
a.read-more {
  display: inline-block;
  margin-top: 18px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gold-deep);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.blog-featured-copy p a.read-more { margin-top: 0; }

/* ——— Article ——— */
.article {
  max-width: 680px;
  margin: 0 auto;
  padding: 48px 40px 80px;
}

.article header { margin-bottom: 32px; }

.article h1 {
  font-size: clamp(1.65rem, 3.2vw, 2.1rem);
  line-height: 1.08;
  color: var(--primary);
}

.article .article-body p {
  margin: 0 0 1.25em;
  color: var(--text);
  line-height: 1.8;
}

.article .article-body h2 {
  margin: 2em 0 0.5em;
  font-size: 1.4rem;
  color: var(--primary);
}

/* ——— Team ——— */
.team-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.team-card {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--light);
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 200px) 1fr;
}

.team-card.full-width {
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 240px) 1fr;
}

.team-photo {
  background: var(--cream);
  min-height: 220px;
  position: relative;
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  display: none;
}

.team-photo.loaded img { display: block; }

.team-photo .ph {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  padding: 16px;
}

.team-photo.loaded .ph { display: none; }

.team-body { padding: 28px; }
.team-body h3 {
  margin: 0;
  font-size: 1.22rem;
  color: var(--primary);
  font-family: var(--font-sans);
}

.team-body .role {
  margin: 8px 0 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.team-body p {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.75;
  font-size: 0.98rem;
}

/* ——— Footer ——— */
.site-footer {
  width: 100%;
  background: var(--primary);
  border-top: 1px solid var(--border);
  padding: 48px var(--content-inset) 32px;
  box-sizing: border-box;
}

.footer-inner {
  max-width: var(--content-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 0.95fr 0.9fr 1.15fr;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand strong {
  display: block;
  font-family: var(--font-sans);
  font-size: 1.25rem;
  color: #fff;
}

.footer-brand p {
  margin: 12px 0 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.65;
  max-width: 280px;
}

.footer-col h4 {
  margin: 0 0 16px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-soft);
  font-weight: 600;
}

.footer-col a {
  display: block;
  margin-bottom: 10px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.78);
  transition: color 0.2s ease;
}

.footer-col a:hover { color: #fff; }

.footer-text {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.78);
}

.footer-text:last-of-type {
  margin-bottom: 0;
}

.footer-phone-link {
  display: inline !important;
  margin: 0 !important;
  color: var(--gold-soft) !important;
  font-weight: 600;
}

.footer-phone-link:hover {
  color: #fff !important;
}

.footer-social {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-social li {
  margin: 0;
}

.footer-social-link {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin: 0 !important;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.88);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.footer-social-link svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.footer-social-link:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(212, 175, 55, 0.45);
  color: #fff;
}

.footer-social-link:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.footer-base {
  max-width: var(--content-max);
  margin: 24px auto 0;
  padding: 0;
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}

.footer-base span { color: var(--gold-soft); }

/* ——— Mobile nav ——— */
.site-header.nav-open .nav-links {
  display: flex !important;
}

@media (max-width: 1020px) {
  .pillars,
  .stats-strip,
  .process { grid-template-columns: 1fr 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .blog-featured { grid-template-columns: 1fr; }
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-inner > .footer-col:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {
  .header-inner {
    flex-wrap: wrap;
    padding: 14px 20px;
  }

  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .nav-links {
    display: none;
    flex-basis: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px 0 8px;
  }

  .nav-links > a:not(.nav-cta) {
    padding: 12px 0;
    border-bottom: 1px solid rgba(12, 33, 56, 0.08);
  }

  .nav-links > a:not(.nav-cta)::after { display: none; }

  .nav-cta {
    margin-left: 0;
    margin-top: 12px;
    text-align: center;
    justify-content: center;
  }

  /* Full-bleed image on top; text keeps content inset */
  .hero-inner {
    padding-left: 0;
    padding-right: 0;
  }

  .hero-copy {
    padding-left: var(--content-inset);
    padding-right: var(--content-inset);
    padding-top: clamp(32px, 5vw, 48px);
    padding-bottom: clamp(36px, 5vw, 56px);
    align-self: stretch;
  }

  .hero-inner .image-slot.hero-image-diagonal {
    order: -1;
    width: 100%;
    min-height: clamp(220px, 48vw, 320px);
    border-radius: 0;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    clip-path: none;
    -webkit-clip-path: none;
  }

  .hero-inner,
  .two-tone,
  .contact-grid,
  .grid-2,
  .grid-3,
  .industries-grid,
  .service-grid,
  .team-grid,
  .team-card,
  .team-card.full-width,
  .pillars,
  .stats-strip,
  .process,
  .footer-inner { grid-template-columns: 1fr; }

  :root {
    --content-pad: 22px;
  }

  .stats-strip {
    width: calc(100% - 2 * var(--content-pad));
    max-width: var(--content-max);
  }

  .section { padding-top: 56px; padding-bottom: 56px; }

  .services-deliver-banner {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }
}

@media (max-width: 640px) {
  .hero h1 { font-size: 1.6rem; }
}

main.page > .two-tone {
  margin-top: 52px;
  gap: 24px;
}.hero-tall.dark.hero-image-diagonal {
  margin: 0px;
}
@media (max-width: 900px) {
  .js-reveal.is-revealed {
      opacity: 1;
      transform: none;
      gap: 0px;
  }
}