/* ==========================================================================
   DFRC Engineering Services — Premium Industrial & CAE Design System
   ========================================================================== */

:root {
  --navy: #07172c;
  --navy-deep: #040e1c;
  --blue: #102b49;
  --blue-soft: #183b61;
  --gold: #d9a52e;
  --gold-bright: #e8b842;
  --gold-dark: #8c640d;
  --white: #ffffff;
  --light: #f4f5f7;
  --surface: #fbfcfd;
  --charcoal: #121923;
  --text-body: #2e3a48;
  --muted: #566374;
  --line: #dde3ea;
  --line-dark: rgba(255, 255, 255, 0.14);

  --font-display: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-tech: "DM Sans", "Inter", sans-serif;

  --container-max: 1220px;
  --radius-xs: 2px;
  --radius-sm: 4px;
  --shadow-soft: 0 18px 44px rgba(7, 23, 44, 0.08);
  --shadow-strong: 0 28px 64px rgba(4, 14, 28, 0.34);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* Reduced Motion Accessibility */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto !important;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--charcoal);
  background: var(--white);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
.brand-name {
  font-family: var(--font-display);
  margin-top: 0;
}

p {
  margin-top: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.container {
  width: min(var(--container-max), calc(100% - 48px));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 200;
  background: var(--gold);
  color: var(--navy);
  padding: 12px 18px;
  font-weight: 700;
  font-size: 13px;
  border-radius: var(--radius-xs);
  transition: top 0.2s var(--ease);
}

.skip-link:focus {
  top: 16px;
}

/* Reveal Animations (progressive enhancement via .js-ready) */
.js-ready [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}

.js-ready [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Navigation Header
   ========================================================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 84px;
  z-index: 100;
  color: var(--white);
  background: linear-gradient(180deg, rgba(7, 23, 44, 0.84) 0%, rgba(7, 23, 44, 0.35) 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  transition: height 0.28s var(--ease), background-color 0.28s var(--ease), border-color 0.28s var(--ease);
}

.site-header.scrolled {
  height: 72px;
  background: rgba(7, 23, 44, 0.96);
  border-bottom-color: rgba(217, 165, 46, 0.24);
  backdrop-filter: blur(14px);
  box-shadow: 0 12px 32px rgba(4, 14, 28, 0.28);
}

.nav-wrap {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  flex-shrink: 0;
}

.brand-mark {
  width: 46px;
  height: 46px;
  display: block;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #ffffff url("assets/dfrc-logo.png") center / cover no-repeat;
  border: 1px solid rgba(217, 165, 46, 0.45);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.28);
}

.brand-mark > * {
  display: none;
}

.brand-name {
  display: flex;
  flex-direction: column;
  font-size: 21px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.03em;
  color: var(--white);
}

.brand-name b {
  margin-top: 5px;
  font-family: var(--font-tech);
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 0.24em;
  color: #b7c4d4;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-family: var(--font-tech);
  font-size: 13.5px;
  font-weight: 500;
}

.main-nav > a:not(.nav-cta) {
  position: relative;
  padding: 8px 0;
  color: #dce4ee;
  transition: color 0.2s var(--ease);
}

.main-nav > a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}

.main-nav > a:not(.nav-cta):hover,
.main-nav > a:not(.nav-cta)[aria-current="page"] {
  color: var(--white);
}

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

.main-nav > a[aria-current="page"] {
  color: var(--gold) !important;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid rgba(217, 165, 46, 0.72);
  background: rgba(217, 165, 46, 0.08);
  color: var(--gold);
  font-weight: 600;
  font-size: 13px;
  border-radius: var(--radius-xs);
  transition: background-color 0.22s var(--ease), color 0.22s var(--ease), transform 0.22s var(--ease);
}

.nav-cta:hover {
  background: var(--gold);
  color: var(--navy);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
}

/* ==========================================================================
   Shared Typography, Buttons & Section Primitives
   ========================================================================== */

.section {
  padding: 108px 0;
  position: relative;
}

.section-tight {
  padding: 84px 0;
}

.section-kicker,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 16px;
  font-family: var(--font-tech);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-dark);
}

.section-kicker::before,
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--gold);
  flex-shrink: 0;
}

.eyebrow {
  color: #d6e0ec;
}

.section-dark .section-kicker {
  color: var(--gold);
}

.section-title {
  margin: 0;
  font-size: clamp(32px, 3.6vw, 50px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--navy);
}

.section-dark .section-title {
  color: var(--white);
}

.section-header {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.85fr);
  gap: 40px;
  align-items: end;
  margin-bottom: 52px;
}

.section-lead {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
  max-width: 52ch;
  justify-self: end;
}

.section-dark .section-lead {
  color: #b4c2d1;
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 24px;
  font-family: var(--font-tech);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  border-radius: var(--radius-xs);
  cursor: pointer;
  transition: background-color 0.22s var(--ease), border-color 0.22s var(--ease), color 0.22s var(--ease), transform 0.22s var(--ease), box-shadow 0.22s var(--ease);
}

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

.button-primary:hover {
  background: var(--gold-bright);
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(217, 165, 46, 0.28);
}

.button-ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.34);
  color: var(--white);
}

.button-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(217, 165, 46, 0.08);
  transform: translateY(-2px);
}

.button-outline-dark {
  background: transparent;
  border-color: var(--blue);
  color: var(--blue);
}

.button-outline-dark:hover {
  background: var(--blue);
  color: var(--white);
  transform: translateY(-2px);
}

.text-arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-tech);
  font-size: 13px;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: 0.02em;
  transition: gap 0.2s var(--ease), color 0.2s var(--ease);
}

.text-arrow-link:hover {
  color: var(--gold-dark);
  gap: 12px;
}

.section-dark .text-arrow-link {
  color: var(--gold);
}

/* ==========================================================================
   Homepage — 1. Full-Width Hero
   ========================================================================== */

.hero {
  position: relative;
  min-height: max(100svh, 700px);
  max-height: 940px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--navy);
  color: var(--white);
  overflow: hidden;
  padding-top: 84px;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% center;
  filter: contrast(1.06) brightness(0.92);
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 23, 44, 0.96) 0%, rgba(7, 23, 44, 0.88) 38%, rgba(7, 23, 44, 0.42) 72%, rgba(7, 23, 44, 0.72) 100%),
    linear-gradient(180deg, rgba(7, 23, 44, 0.55) 0%, transparent 25%, rgba(4, 14, 28, 0.92) 100%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.16;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.14) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 70% 45%, #000 0%, rgba(0, 0, 0, 0.35) 55%, transparent 85%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  padding: 56px 0 96px;
}

.hero-content {
  max-width: 720px;
}

.hero h1 {
  margin: 0 0 22px;
  font-size: clamp(42px, 5.4vw, 72px);
  font-weight: 800;
  line-height: 1.03;
  letter-spacing: -0.038em;
  color: var(--white);
}

.hero h1 em {
  font-style: normal;
  color: var(--gold);
}

.hero-lead {
  max-width: 58ch;
  margin: 0;
  color: #cdd8e4;
  font-size: clamp(17px, 1.45vw, 20px);
  line-height: 1.7;
}

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

.hero-meta-strip {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(4, 14, 28, 0.72);
  backdrop-filter: blur(10px);
}

.hero-meta-grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, auto);
  align-items: center;
  gap: 28px;
  padding: 16px 0;
}

.hero-cadence {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-family: var(--font-tech);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #b8c6d6;
}

.hero-cadence i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
  display: inline-block;
}

.hero-stat {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding-left: 24px;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-stat strong {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  color: var(--gold);
}

.hero-stat span {
  font-family: var(--font-tech);
  font-size: 11.5px;
  color: #c2cfdd;
  letter-spacing: 0.04em;
}

/* ==========================================================================
   Homepage — 2. About DFRC (Asymmetric Editorial + Tabbed Direction)
   ========================================================================== */

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

.about-split {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 64px;
  align-items: center;
}

.about-media-frame {
  position: relative;
}

.about-media-box {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xs);
  background: var(--navy);
  box-shadow: var(--shadow-soft);
}

.about-media-box img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.about-media-box:hover img {
  transform: scale(1.03);
}

.about-media-badge {
  position: relative;
  margin: -34px 24px 0 auto;
  width: min(86%, 340px);
  padding: 18px 22px;
  background: var(--navy);
  color: var(--white);
  border-left: 3px solid var(--gold);
  box-shadow: 0 18px 40px rgba(7, 23, 44, 0.22);
}

.about-media-badge span {
  display: block;
  font-family: var(--font-tech);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}

.about-media-badge p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.55;
  color: #dce4ee;
}

.about-copy .section-title {
  margin-bottom: 22px;
}

.about-lead {
  font-size: 17.5px;
  line-height: 1.75;
  color: var(--charcoal);
  margin-bottom: 14px;
  max-width: 60ch;
}

.about-text {
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 28px;
  max-width: 60ch;
}

.direction-tabs {
  border-top: 1px solid var(--line);
  padding-top: 24px;
}

.tab-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.tab-btn {
  padding: 9px 16px;
  background: var(--light);
  border: 1px solid var(--line);
  border-radius: var(--radius-xs);
  font-family: var(--font-tech);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--blue);
  cursor: pointer;
  transition: all 0.2s var(--ease);
}

.tab-btn:hover {
  border-color: var(--blue);
}

.tab-btn[aria-selected="true"] {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--gold);
}

.tab-panel {
  min-height: 92px;
  padding: 20px 22px;
  background: var(--light);
  border-left: 3px solid var(--gold);
}

.tab-panel[hidden] {
  display: none;
}

.tab-panel p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--text-body);
}

.values-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.values-inline li {
  padding: 6px 12px;
  background: var(--white);
  border: 1px solid var(--line);
  font-family: var(--font-tech);
  font-size: 12px;
  font-weight: 600;
  color: var(--blue);
}

.about-actions {
  margin-top: 26px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.discipline-ribbon {
  margin-top: 72px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.discipline-ribbon article {
  padding: 24px 22px;
  border-right: 1px solid var(--line);
  display: flex;
  align-items: baseline;
  gap: 14px;
}

.discipline-ribbon article:last-child {
  border-right: 0;
}

.discipline-ribbon strong {
  font-family: var(--font-tech);
  font-size: 11px;
  font-weight: 700;
  color: var(--gold-dark);
  letter-spacing: 0.14em;
}

.discipline-ribbon span {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.35;
}

/* ==========================================================================
   Homepage — 3. Core Engineering Capabilities (Interactive Matrix)
   ========================================================================== */

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

.cap-filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-pill {
  padding: 9px 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-xs);
  font-family: var(--font-tech);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-body);
  cursor: pointer;
  transition: all 0.2s var(--ease);
}

.filter-pill:hover {
  border-color: var(--blue);
  color: var(--navy);
}

.filter-pill.is-active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--gold);
}

.cap-workbench {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.35fr);
  gap: 28px;
  align-items: start;
}

.cap-spotlight {
  position: sticky;
  top: 96px;
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-xs);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.cap-spotlight-img {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--navy-deep);
}

.cap-spotlight-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cap-spotlight-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(7, 23, 44, 0.92) 100%);
}

.cap-spotlight-body {
  padding: 26px 28px 30px;
}

.cap-spotlight-tag {
  display: inline-block;
  font-family: var(--font-tech);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}

.cap-spotlight-body h3 {
  font-size: 22px;
  line-height: 1.25;
  margin-bottom: 10px;
  color: var(--white);
}

.cap-spotlight-body p {
  font-size: 14px;
  line-height: 1.7;
  color: #c2cfdd;
  margin-bottom: 20px;
}

.cap-spotlight-meta {
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--font-tech);
  font-size: 12px;
  color: #aebdce;
}

.cap-index-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.cap-item {
  background: var(--white);
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  transition: background-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
  position: relative;
}

.cap-item[hidden] {
  display: none;
}

.cap-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--gold);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.22s var(--ease);
}

.cap-item:hover {
  background: #f9fbfd;
}

.cap-item:hover::before {
  transform: scaleY(1);
}

.cap-item-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.cap-num {
  font-family: var(--font-tech);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--gold-dark);
}

.cap-cat {
  font-family: var(--font-tech);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.cap-item h3 {
  margin: 0;
  font-size: 16.5px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--navy);
}

.cap-item p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--muted);
}

/* ==========================================================================
   Homepage — 4. Industries We Serve (Visual Editorial Showcase)
   ========================================================================== */

.industries-section {
  background: var(--navy);
  color: var(--white);
}

.industries-mosaic {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
}

.industry-tile {
  position: relative;
  grid-column: span 4;
  min-height: 280px;
  overflow: hidden;
  border-radius: var(--radius-xs);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: var(--navy-deep);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.industry-tile.tile-wide {
  grid-column: span 6;
  min-height: 330px;
}

.industry-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s var(--ease), filter 0.45s var(--ease);
  filter: brightness(0.76) saturate(0.95);
}

.industry-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 23, 44, 0.12) 0%, rgba(7, 23, 44, 0.58) 52%, rgba(4, 14, 28, 0.94) 100%);
  z-index: 1;
}

.industry-tile:hover {
  border-color: rgba(217, 165, 46, 0.68);
  transform: translateY(-3px);
}

.industry-tile:hover img {
  transform: scale(1.05);
  filter: brightness(0.85) saturate(1.04);
}

.industry-tile-content {
  position: relative;
  z-index: 2;
  padding: 26px;
}

.industry-tile-num {
  display: inline-block;
  font-family: var(--font-tech);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--gold);
  margin-bottom: 8px;
}

.industry-tile h3 {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
}

.industry-tile p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.6;
  color: #cbd7e4;
  max-width: 42ch;
}

.industries-footer-bar {
  margin-top: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.industries-footer-bar p {
  margin: 0;
  color: #b4c2d1;
  font-size: 14.5px;
}

/* ==========================================================================
   Homepage — 5. Engineering Process (Connected 9-Stage Pipeline)
   ========================================================================== */

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

.valve-project-section {
  background: var(--light);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.valve-project-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 52px;
  align-items: center;
}

.valve-project-media {
  position: relative;
  overflow: hidden;
  min-height: 430px;
  background: var(--navy);
  box-shadow: var(--shadow-soft);
}

.valve-project-media img {
  width: 100%;
  height: 430px;
  object-fit: cover;
}

.valve-project-caption {
  position: absolute;
  left: 18px;
  bottom: 18px;
  padding: 7px 10px;
  background: rgba(7, 23, 44, 0.88);
  border-left: 3px solid var(--gold);
  color: var(--white);
  font-family: var(--font-tech);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.valve-project-copy .section-kicker {
  margin-bottom: 12px;
}

.valve-project-copy .section-title {
  margin-bottom: 20px;
}

.valve-project-copy > p:not(.section-kicker):not(.valve-project-note) {
  color: var(--muted);
  line-height: 1.78;
}

.valve-project-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 0;
  margin: 22px 0 18px;
  list-style: none;
}

.valve-project-list li {
  padding: 11px 12px 11px 38px;
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--navy);
  font-size: 13.5px;
  font-weight: 600;
}

.valve-project-list li::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 18px;
  width: 10px;
  height: 10px;
  border: 2px solid var(--gold);
  transform: rotate(45deg);
}

.valve-project-note {
  margin: 0;
  color: var(--gold-dark);
  font-size: 12.5px;
  font-weight: 600;
}

.process-phases {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.phase-column {
  background: var(--light);
  border-top: 3px solid var(--blue);
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.phase-column.phase-highlight {
  border-top-color: var(--gold);
  background: #f8f9fb;
  box-shadow: var(--shadow-soft);
}

.phase-header {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.phase-label {
  display: block;
  font-family: var(--font-tech);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 6px;
}

.phase-header h3 {
  margin: 0;
  font-size: 19px;
  color: var(--navy);
}

.phase-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}

.phase-steps::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 16px;
  bottom: 16px;
  width: 1px;
  background: #c9d2dc;
}

.phase-step {
  position: relative;
  padding-left: 46px;
  padding-bottom: 22px;
}

.phase-step:last-child {
  padding-bottom: 0;
}

.step-node {
  position: absolute;
  left: 0;
  top: 0;
  width: 31px;
  height: 31px;
  border-radius: 50%;
  background: var(--white);
  border: 1.5px solid var(--blue);
  display: grid;
  place-items: center;
  font-family: var(--font-tech);
  font-size: 11px;
  font-weight: 700;
  color: var(--navy);
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.phase-step:hover .step-node {
  background: var(--navy);
  border-color: var(--gold);
  color: var(--gold);
}

.phase-step h4 {
  margin: 2px 0 6px;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--navy);
}

.phase-step p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--muted);
}

/* ==========================================================================
   Homepage — 6. Tools & Technologies (Engineering Spec Sheet)
   ========================================================================== */

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

.tech-ledger {
  border-top: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 8px 30px rgba(7, 23, 44, 0.04);
}

.tech-row {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  padding: 24px 28px;
  border-bottom: 1px solid var(--line);
  transition: background-color 0.2s var(--ease);
}

.tech-row:hover {
  background: #fafbfd;
}

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

.tech-domain span {
  font-family: var(--font-tech);
  font-size: 10.5px;
  font-weight: 700;
  color: var(--gold-dark);
  letter-spacing: 0.14em;
}

.tech-domain h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.tech-tags li {
  padding: 8px 16px;
  background: var(--light);
  border: 1px solid var(--line);
  font-family: var(--font-tech);
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
  border-radius: var(--radius-xs);
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}

.tech-row:hover .tech-tags li {
  border-color: #c5cfd9;
}

.tech-disclaimer {
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 12.5px;
  color: var(--muted);
}

/* ==========================================================================
   Homepage — 7. Why Choose DFRC (Authority Split + Pillars)
   ========================================================================== */

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

.why-split {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 44px;
  align-items: stretch;
}

.why-anchor-panel {
  background: var(--blue);
  color: var(--white);
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  border-top: 4px solid var(--gold);
}

.why-anchor-panel .section-kicker {
  color: var(--gold);
}

.why-anchor-panel h2 {
  margin: 0 0 16px;
  font-size: clamp(30px, 3vw, 40px);
  line-height: 1.12;
  color: var(--white);
}

.why-anchor-panel p {
  margin: 0;
  color: #cbd7e4;
  line-height: 1.75;
  font-size: 15px;
}

.pillar-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 24px 0 0;
  padding: 20px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.pillar-bar li {
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(217, 165, 46, 0.38);
  font-family: var(--font-tech);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}

.why-ledger {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.why-ledger article {
  padding: 24px 26px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
  transition: background-color 0.2s var(--ease);
}

.why-ledger article:hover {
  background: var(--light);
}

.why-ledger span {
  display: block;
  font-family: var(--font-tech);
  font-size: 10.5px;
  font-weight: 700;
  color: var(--gold-dark);
  letter-spacing: 0.16em;
  margin-bottom: 10px;
}

.why-ledger h3 {
  margin: 0 0 6px;
  font-size: 16.5px;
  color: var(--navy);
}

.why-ledger p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--muted);
}

/* ==========================================================================
   Homepage & Contact Page — 8. Business Enquiry & Offices
   ========================================================================== */

.contact-section {
  background: var(--navy);
  color: var(--white);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 56px;
  align-items: start;
}

.contact-copy .section-kicker {
  color: var(--gold);
}

.contact-copy h2 {
  margin: 0 0 16px;
  font-size: clamp(32px, 3.4vw, 46px);
  line-height: 1.1;
  color: var(--white);
}

.contact-copy > p {
  color: #bdc9d6;
  line-height: 1.75;
  max-width: 46ch;
}

.office-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  margin-top: 36px;
}

.office-card {
  padding: 24px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-top: 2px solid var(--gold);
}

.office-country {
  display: block;
  font-family: var(--font-tech);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--gold);
  margin-bottom: 10px;
}

.office-card h3 {
  margin: 0 0 6px;
  font-size: 20px;
  color: var(--white);
}

.office-card p {
  margin: 0 0 14px;
  color: #aab9c9;
  font-size: 13px;
}

.office-card a {
  display: block;
  margin-top: 6px;
  font-size: 13.5px;
  color: #e3ebf3;
  transition: color 0.2s var(--ease);
}

.office-card a:hover {
  color: var(--gold);
}

.contact-form {
  background: var(--white);
  color: var(--charcoal);
  padding: 36px;
  border-radius: var(--radius-xs);
  box-shadow: var(--shadow-strong);
}

.form-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.form-heading p {
  margin: 0;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  color: var(--navy);
}

.form-heading span {
  font-family: var(--font-tech);
  font-size: 11px;
  color: var(--muted);
}

.form-disclosure {
  margin: 18px 0 0;
  padding: 12px 14px;
  background: var(--light);
  border-left: 3px solid var(--blue);
  color: #465363;
  font-size: 12px;
  line-height: 1.6;
}

.form-disclosure a {
  color: var(--blue);
  font-weight: 700;
  text-decoration: underline;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding-top: 22px;
}

.form-grid label {
  display: grid;
  gap: 7px;
  font-family: var(--font-tech);
  font-size: 12px;
  font-weight: 700;
  color: #3d4b5c;
}

.form-grid input,
.form-grid select,
.form-grid textarea {
  width: 100%;
  border: 1px solid #d4dce4;
  border-radius: var(--radius-xs);
  background: var(--surface);
  color: var(--charcoal);
  padding: 11px 13px;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.form-grid input,
.form-grid select {
  height: 46px;
}

.form-grid textarea {
  resize: vertical;
  min-height: 116px;
}

.form-grid input:focus,
.form-grid select:focus,
.form-grid textarea:focus {
  border-color: var(--gold);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(217, 165, 46, 0.16);
}

.full-field {
  grid-column: 1 / -1;
}

.form-grid .invalid {
  border-color: #b83232;
}

.form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 22px;
}

.form-actions p {
  margin: 0;
  font-size: 12.5px;
  color: #a62c2c;
}

.form-actions p.info {
  color: var(--blue);
  font-weight: 500;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: var(--navy-deep);
  color: var(--white);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-main {
  padding: 64px 0 48px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 40px;
}

.footer-brand-col p {
  margin: 18px 0 0;
  max-width: 34ch;
  font-size: 13.5px;
  line-height: 1.7;
  color: #9cb0c5;
}

.footer-tag {
  margin-top: 16px;
  font-family: var(--font-tech);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

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

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.footer-links a {
  font-size: 13.5px;
  color: #c2cfdd;
  transition: color 0.2s var(--ease);
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-office-item {
  font-size: 13px;
  color: #b4c2d1;
  line-height: 1.65;
  margin-bottom: 14px;
}

.footer-office-item strong {
  display: block;
  color: var(--white);
  font-size: 13.5px;
}

.footer-office-item a {
  color: #d6e0ec;
}

.footer-office-item a:hover {
  color: var(--gold);
}

.footer-bottom {
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 12px;
  color: #8ea1b5;
}

.footer-bottom p {
  margin: 0;
}

.footer-legal-links {
  display: flex;
  gap: 22px;
}

.footer-legal-links a:hover {
  color: var(--gold);
}

/* ==========================================================================
   Inner Pages — Hero, Dossiers, Visual Industry Cards, CTA Band
   ========================================================================== */

.inner-hero {
  position: relative;
  padding: 162px 0 84px;
  background: var(--navy);
  color: var(--white);
  overflow: hidden;
}

.inner-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.28;
}

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

.inner-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 23, 44, 0.97) 0%, rgba(7, 23, 44, 0.85) 55%, rgba(7, 23, 44, 0.72) 100%),
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 100% 100%, 56px 56px, 56px 56px;
  z-index: 1;
}

.inner-hero .container {
  position: relative;
  z-index: 2;
}

.inner-hero .section-kicker {
  color: var(--gold);
}

.inner-hero h1 {
  max-width: 860px;
  margin: 0 0 18px;
  font-size: clamp(36px, 5vw, 62px);
  font-weight: 800;
  line-height: 1.07;
  letter-spacing: -0.035em;
  color: var(--white);
}

.inner-hero p.inner-lead {
  max-width: 64ch;
  margin: 0;
  color: #c5d1de;
  font-size: 17.5px;
  line-height: 1.75;
}

.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  font-family: var(--font-tech);
  font-size: 12px;
  color: #9cb0c5;
}

.breadcrumb a:hover {
  color: var(--gold);
}

/* About Inner Page */
.editorial-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px;
}

.editorial-card {
  padding: 36px;
  background: var(--light);
  border-top: 3px solid var(--blue);
}

.editorial-card h2 {
  margin: 0 0 14px;
  font-size: 28px;
  color: var(--navy);
}

.editorial-card p:not(.section-kicker) {
  margin: 0;
  color: var(--text-body);
  line-height: 1.8;
}

.principles-showcase {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.principle-box {
  padding: 34px;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
}

.principle-box h2 {
  margin: 0 0 14px;
  font-size: 22px;
  color: var(--navy);
}

.principle-box p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

/* Capabilities Inner Page */
.cae-showcase-banner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px;
  align-items: center;
  background: var(--navy);
  color: var(--white);
  padding: 32px;
  margin-bottom: 44px;
  border-left: 4px solid var(--gold);
}

.cae-showcase-banner img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.cae-showcase-banner h2 {
  font-size: 26px;
  color: var(--white);
  margin-bottom: 12px;
}

.cae-showcase-banner p {
  color: #c2cfdd;
  line-height: 1.7;
  margin-bottom: 16px;
}

.service-dossier-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.service-dossier-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--blue);
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-top-color 0.25s var(--ease);
}

.service-dossier-card[hidden] {
  display: none;
}

.service-dossier-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
  border-top-color: var(--gold);
}

.service-dossier-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.service-dossier-top span {
  font-family: var(--font-tech);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--gold-dark);
}

.service-tag {
  padding: 4px 10px;
  background: var(--light);
  border: 1px solid var(--line);
  font-family: var(--font-tech);
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--blue);
}

.service-dossier-card h2 {
  margin: 0;
  font-size: 21px;
  color: var(--navy);
}

.service-dossier-card p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--muted);
}

.service-output {
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 13.5px;
  color: var(--charcoal);
}

.service-output strong {
  color: var(--blue);
}

/* Industries Inner Page */
.industries-detail-list {
  display: grid;
  gap: 28px;
}

.industry-feature-row {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  background: var(--white);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: box-shadow 0.25s var(--ease);
}

.industry-feature-row:hover {
  box-shadow: var(--shadow-soft);
}

.industry-feature-row.reverse .industry-feature-media {
  order: 2;
}

.industry-feature-media {
  position: relative;
  min-height: 290px;
  overflow: hidden;
  background: var(--navy);
}

.industry-feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.industry-feature-row:hover .industry-feature-media img {
  transform: scale(1.04);
}

.industry-feature-body {
  padding: 36px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.industry-feature-body > span {
  font-family: var(--font-tech);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--gold-dark);
  margin-bottom: 10px;
}

.industry-feature-body h2 {
  margin: 0 0 12px;
  font-size: 28px;
  color: var(--navy);
}

.industry-feature-body p {
  margin: 0 0 20px;
  color: var(--muted);
  line-height: 1.75;
}

.industry-focus-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.industry-focus-tags li {
  padding: 5px 11px;
  background: var(--light);
  border: 1px solid var(--line);
  font-family: var(--font-tech);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--blue);
}

/* Process Inner Page */
.workflow-timeline {
  position: relative;
  display: grid;
  gap: 18px;
}

.workflow-stage {
  display: grid;
  grid-template-columns: 110px 260px minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  padding: 26px 30px;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--blue);
  transition: border-left-color 0.22s var(--ease), box-shadow 0.22s var(--ease), transform 0.22s var(--ease);
}

.workflow-stage:hover {
  border-left-color: var(--gold);
  box-shadow: var(--shadow-soft);
  transform: translateX(4px);
}

.workflow-num {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 800;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 12px;
}

.workflow-num small {
  font-family: var(--font-tech);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gold-dark);
}

.workflow-stage h2 {
  margin: 0;
  font-size: 20px;
  color: var(--navy);
}

.workflow-stage p {
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.7;
}

.workflow-video {
  margin-top: 24px;
  background: var(--navy);
  border: 1px solid rgba(217, 165, 46, 0.28);
  box-shadow: var(--shadow-soft);
}

.workflow-video-label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 14px 18px 0;
  color: var(--gold);
  font-family: var(--font-tech);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.workflow-video-label::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
}

.workflow-video video {
  display: block;
  width: 100%;
  max-height: 620px;
  background: #040e1c;
}

.outcomes-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.outcome-pill {
  padding: 22px 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
}

.outcome-pill h3 {
  margin: 0 0 8px;
  font-size: 15px;
  color: var(--navy);
}

.outcome-pill p {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}

/* Why Inner Page */
.value-dossier-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.value-dossier-card {
  padding: 30px;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 3px solid var(--blue);
  transition: border-left-color 0.22s var(--ease), box-shadow 0.22s var(--ease);
}

.value-dossier-card:hover {
  border-left-color: var(--gold);
  box-shadow: var(--shadow-soft);
}

.value-dossier-card span {
  display: block;
  font-family: var(--font-tech);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--gold-dark);
  margin-bottom: 10px;
}

.value-dossier-card h2 {
  margin: 0 0 10px;
  font-size: 21px;
  color: var(--navy);
}

.value-dossier-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.7;
}

/* Page CTA Band */
.page-cta {
  padding: 76px 0;
  background: var(--blue);
  color: var(--white);
  border-top: 3px solid var(--gold);
}

.page-cta-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.page-cta h2 {
  max-width: 660px;
  margin: 0;
  font-size: clamp(26px, 3.6vw, 40px);
  color: var(--white);
}

.page-cta p {
  margin: 10px 0 0;
  color: #cbd7e4;
  max-width: 54ch;
}

/* ==========================================================================
   Responsive Breakpoints (Laptop, Tablet, Mobile)
   ========================================================================== */

@media (max-width: 1080px) {
  .main-nav {
    gap: 18px;
    font-size: 13px;
  }
  .cap-workbench {
    grid-template-columns: 1fr;
  }
  .cap-spotlight {
    position: static;
  }
  .process-phases {
    grid-template-columns: 1fr;
  }
  .footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .outcomes-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  .container {
    width: min(100% - 36px, var(--container-max));
  }
  .menu-toggle {
    display: grid;
    width: 44px;
    height: 44px;
    place-content: center;
    gap: 5px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.04);
    border-radius: var(--radius-xs);
    cursor: pointer;
  }
  .menu-toggle > span:not(.sr-only) {
    width: 18px;
    height: 1.5px;
    background: var(--white);
    transition: transform 0.2s var(--ease), opacity 0.2s var(--ease);
  }
  .menu-toggle.active > span:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
  }
  .menu-toggle.active > span:nth-child(2) {
    opacity: 0;
  }
  .menu-toggle.active > span:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
  }
  .main-nav {
    display: none;
    position: absolute;
    left: 18px;
    right: 18px;
    top: calc(100% + 6px);
    padding: 18px;
    background: var(--navy);
    border: 1px solid rgba(217, 165, 46, 0.28);
    box-shadow: var(--shadow-strong);
  }
  .main-nav.open {
    display: grid;
    gap: 4px;
  }
  .main-nav > a:not(.nav-cta) {
    display: block;
    padding: 12px 10px;
  }
  .main-nav > a:not(.nav-cta)::after {
    display: none;
  }
  .nav-cta {
    justify-content: center;
    margin-top: 8px;
  }
  .hero-meta-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }
  .hero-cadence {
    grid-column: 1 / -1;
  }
  .hero-stat {
    padding-left: 0;
    border-left: 0;
  }
  .section-header,
  .about-split,
  .why-split,
  .contact-layout,
  .editorial-grid,
  .principles-showcase,
  .cae-showcase-banner,
  .industry-feature-row {
    grid-template-columns: 1fr;
  }
  .industry-feature-row.reverse .industry-feature-media {
    order: 0;
  }
  .section-lead {
    justify-self: start;
  }
  .discipline-ribbon {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .discipline-ribbon article:nth-child(2) {
    border-right: 0;
  }
  .discipline-ribbon article:nth-child(1),
  .discipline-ribbon article:nth-child(2) {
    border-bottom: 1px solid var(--line);
  }
  .industry-tile,
  .industry-tile.tile-wide {
    grid-column: span 6;
  }
  .tech-row {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .workflow-stage {
    grid-template-columns: 90px minmax(0, 1fr);
    gap: 16px;
  }
  .workflow-stage p {
    grid-column: 1 / -1;
  }
  .valve-project-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 700px) {
  .container {
    width: calc(100% - 32px);
  }
  .site-header {
    height: 72px;
  }
  .brand-mark {
    width: 40px;
    height: 40px;
  }
  .brand-name {
    font-size: 18px;
  }
  .section {
    padding: 74px 0;
  }
  .hero {
    min-height: max(100svh, 640px);
    max-height: none;
    padding-top: 72px;
    justify-content: space-between;
  }
  .hero-media img {
    object-position: 60% center;
  }
  .hero-inner {
    padding: 44px 0 36px;
  }
  .hero-meta-strip {
    position: relative;
  }
  .cap-index-list,
  .service-dossier-grid,
  .value-dossier-grid,
  .why-ledger,
  .office-list,
  .form-grid,
  .outcomes-strip {
    grid-template-columns: 1fr;
  }
  .industry-tile,
  .industry-tile.tile-wide {
    grid-column: span 12;
    min-height: 240px;
  }
  .industries-footer-bar,
  .page-cta-wrap,
  .tech-disclaimer,
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-main {
    grid-template-columns: 1fr;
  }
  .contact-form {
    padding: 24px 18px;
  }
  .valve-project-media,
  .valve-project-media img {
    min-height: 300px;
    height: 300px;
  }
  .valve-project-list {
    grid-template-columns: 1fr;
  }
  .form-actions {
    flex-direction: column-reverse;
    align-items: stretch;
  }
  .form-actions .button {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
  }
  .hero-actions .button {
    width: 100%;
  }
  .hero-meta-grid {
    grid-template-columns: 1fr;
  }
  .discipline-ribbon {
    grid-template-columns: 1fr;
  }
  .discipline-ribbon article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .discipline-ribbon article:last-child {
    border-bottom: 0;
  }
  .workflow-stage {
    grid-template-columns: 1fr;
  }
}
