/* ============================================================
   DERRICK INDUSTRIES — shared stylesheet
   Design tokens
   Ink       #1B2430  (near-black graphite-blue, dark sections)
   Paper     #F0EEE8  (neutral paper, light sections)
   Steel     #2C4F72  (primary brand blue — steel/lab equipment)
   Steel-Dp  #1E3A57  (deep steel, hovers)
   Amber     #E8A23D  (hazard/safety accent — used sparingly)
   Slate     #5B6472  (secondary text)
   Line      #D9D5C9  (hairline dividers on paper)
   Line-Dk   #33404E  (hairline dividers on ink)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=IBM+Plex+Sans:ital,wght@0,400;0,500;0,600;0,700;1,400&family=IBM+Plex+Sans:ital,wght@0,400;0,500;0,600;0,700;1,400&family=IBM+Plex+Mono:wght@400;500;600&display=swap');

:root {
  --ink: #2C4258;
  --ink-2: #3E5B76;
  --paper: #F4F8FA;
  --paper-2: #E1EAF2;
  --steel: #5DB1E6;
  --steel-dp: #368CC5;
  --steel-lt: #8FCAEE;
  --amber: #7AC0ED;
  --amber-dp: #4C9FD5;
  --slate: #7189A1;
  --line: #C4D6E6;
  --line-dk: #466786;
  --white: #FFFFFF;


  --display: 'Space Grotesk', sans-serif;
  --body: 'IBM Plex Sans', sans-serif;
  --mono: 'IBM Plex Mono', monospace;

  --maxw: 1240px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

h1,
h2,
h3,
h4 {
  font-family: var(--display);
  margin: 0;
  letter-spacing: -0.01em;
}

p {
  margin: 0;
}

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

button {
  font-family: inherit;
  cursor: pointer;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
}

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------- eyebrow / hazard rule (signature device) ---------- */
.hazard-rule {
  height: 6px;
  width: 100%;
  background: repeating-linear-gradient(-45deg,
      var(--amber) 0px, var(--amber) 10px,
      var(--ink) 10px, var(--ink) 20px);
}

.hazard-rule.thin {
  height: 3px;
}

.hazard-rule.short {
  width: 56px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 14px;
}

.eyebrow::before {
  content: "";
  width: 20px;
  height: 4px;
  background: repeating-linear-gradient(-45deg, var(--amber) 0 4px, var(--ink) 4px 8px);
  flex: none;
}

section.dark .eyebrow {
  color: var(--amber);
}

section.dark .eyebrow::before {
  background: repeating-linear-gradient(-45deg, var(--amber) 0 4px, var(--paper) 4px 8px);
}

/* ---------- corner-bracket frame (signature device, "spec drawing" motif) ---------- */
.bracket-frame {
  position: relative;
  padding: 14px;
}

.bracket-frame::before,
.bracket-frame::after,
.bracket-frame .bf-tr,
.bracket-frame .bf-bl {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  border: 2px solid var(--steel);
}

.bracket-frame::before {
  top: 0;
  left: 0;
  border-right: none;
  border-bottom: none;
}

.bracket-frame::after {
  bottom: 0;
  right: 0;
  border-left: none;
  border-top: none;
}

.bracket-frame .bf-tr {
  top: 0;
  right: 0;
  border-left: none;
  border-bottom: none;
}

.bracket-frame .bf-bl {
  bottom: 0;
  left: 0;
  border-right: none;
  border-top: none;
}

/* ============================================================
   HEADER / NAV
   ============================================================ */
header.site {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--ink);

  /* Match logo background */
  border-bottom: 1px solid var(--line-dk);
}

header.site .brand img {
  height: 150px;
  max-height: 100%;
  transition: height 0.35s cubic-bezier(.22,.9,.28,1);
}

.nav {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 32px;
  height: 170px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--paper);
}

.brand .mark {
  width: 30px;
  height: 30px;
  background: repeating-linear-gradient(-45deg, var(--amber) 0 4px, var(--ink-2) 4px 8px);
  border: 2px solid var(--paper);
  flex: none;
}

.brand .word {
  font-family: var(--display);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: 0.01em;
  line-height: 1.1;
}

.brand .word span {
  display: block;
  font-family: var(--mono);
  font-weight: 400;
  font-size: 10.5px;
  letter-spacing: 0.16em;
  color: var(--amber);
  margin-top: 2px;
}

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

nav.links a {
  color: var(--paper);
  font-size: 14.5px;
  font-weight: 500;
  padding: 10px 16px;
  position: relative;
  opacity: 0.82;
  transition: opacity .15s ease;
}

nav.links a:hover {
  opacity: 1;
}

nav.links a.active {
  opacity: 1;
}

nav.links a.active::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 6px;
  height: 2px;
  background: var(--amber);
}

.nav-cta {
  margin-left: 10px;
  background: var(--amber);
  color: var(--ink) !important;
  padding: 10px 18px !important;
  font-weight: 600 !important;
  opacity: 1 !important;
}

.nav-cta:hover {
  background: var(--steel);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line-dk);
  width: 42px;
  height: 42px;
  color: var(--paper);
  align-items: center;
  justify-content: center;
}

@media (max-width: 900px) {
  nav.links {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--ink);
    flex-direction: column;
    align-items: stretch;
    padding: 8px 16px 20px;
    border-bottom: 1px solid var(--line-dk);
    display: none;
  }

  nav.links.open {
    display: flex;
  }

  nav.links a {
    padding: 14px 8px;
    border-bottom: 1px solid var(--line-dk);
  }

  nav.links a.active::after {
    display: none;
  }

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

  .nav-toggle {
    display: flex;
  }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  font-size: 14.5px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform .15s ease, background .15s ease, border-color .15s ease, color .15s ease;
}

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

.btn-primary {
  background: var(--amber);
  color: var(--ink);
}

.btn-primary:hover {
  background: var(--steel);
}

.btn-outline {
  border-color: var(--paper);
  color: var(--paper);
}

.btn-outline:hover {
  background: var(--paper);
  color: var(--ink);
}

.btn-outline-dk {
  border-color: var(--ink);
  color: var(--ink);
}

.btn-outline-dk:hover {
  background: var(--ink);
  color: var(--paper);
}

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

.btn-steel:hover {
  background: var(--steel-dp);
}

/* ============================================================
   SECTIONS / GENERIC
   ============================================================ */
section {
  padding: 88px 0;
  
}

section.tight {
  padding: 56px 0;
}

section.dark {
  background: var(--ink);
  color: var(--paper);
}

section.paper2 {
  background: var(--paper-2);
}

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

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.section-head h2 {
  font-size: clamp(28px, 3.4vw, 42px);
  max-width: 640px;
}

.section-head p.lede {
  max-width: 420px;
  color: var(--slate);
  font-size: 15.5px;
}

section.dark .section-head p.lede {
  color: #B7BEC8;
}

.kicker-num {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--amber-dp);
}

/* ============================================================
   HOME — HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: var(--ink);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 40%;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(27, 36, 48, .55) 0%, rgba(27, 36, 48, .55) 40%, rgba(27, 36, 48, .96) 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-bottom: 64px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--amber);
  border: 1px solid rgba(232, 162, 61, .4);
  padding: 8px 14px;
  margin-bottom: 26px;
}

.hero h1 {
  color: var(--paper);
  font-size: clamp(38px, 6vw, 72px);
  line-height: 1.02;
  max-width: 920px;
  font-weight: 700;
}

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

.hero .sub {
  color: #C6CCD4;
  font-size: 18px;
  max-width: 560px;
  margin-top: 24px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 38px;
  flex-wrap: wrap;
}

.hero-strip {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--line-dk);
  margin-top: 56px;
}

.hero-strip .wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.hero-stat {
  padding: 22px 24px 0;
  border-left: 1px solid var(--line-dk);
}

.hero-stat:first-child {
  border-left: none;
  padding-left: 0;
}

.hero-stat .n {
  font-family: var(--mono);
  font-size: 26px;
  color: var(--amber);
}

.hero-stat .l {
  font-size: 12.5px;
  color: #9BA4AF;
  margin-top: 4px;
}

@media (max-width:760px) {
  .hero-strip .wrap {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 20px;
  }

  .hero-stat:nth-child(3) {
    border-left: none;
  }
}

/* ============================================================
   DIVISION CARDS (home)
   ============================================================ */
.division-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--ink);
}

.division-card {
  background: var(--paper);
  padding: 44px 40px 40px;
  position: relative;
  min-height: 420px;
  display: flex;
  flex-direction: column;
}

.division-card .num {
  font-family: var(--mono);
  color: var(--amber-dp);
  font-size: 13px;
  margin-bottom: 22px;
}

.division-card h3 {
  font-size: 30px;
  margin-bottom: 14px;
}

.division-card p {
  color: var(--slate);
  font-size: 15px;
  max-width: 38ch;
}

.division-card .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.division-card .tags span {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: .04em;
  border: 1px solid var(--line);
  padding: 5px 10px;
  color: var(--steel);
}

.division-card .img-tab {
  margin-top: auto;
  padding-top: 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.division-card .go {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 2px solid var(--amber);
  padding-bottom: 4px;
}

.division-card .thumb {
  position: absolute;
  right: 0;
  bottom: 0;
  top: 0;
  width: 38%;
  background-size: cover;
  background-position: center;
  clip-path: polygon(28% 0, 100% 0, 100% 100%, 0% 100%);
  opacity: 0.16;
}

@media (max-width:820px) {
  .division-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   CARD GRIDS (generic 3col)
   ============================================================ */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

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

@media (max-width:920px) {
  .grid-3 {
    grid-template-columns: 1fr 1fr;
  }

  .grid-4 {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width:640px) {

  .grid-3,
  .grid-2,
  .grid-4 {
    grid-template-columns: 1fr;
  }
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color .15s ease, transform .15s ease;
}

.card:hover {
  border-color: var(--steel);
  transform: translateY(-3px);
}

.card .icon {
  width: 44px;
  height: 44px;
  background: var(--paper-2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--steel);
  font-family: var(--mono);
  font-weight: 600;
  font-size: 13px;
}

.card h4 {
  font-size: 18px;
}

.card p {
  color: var(--slate);
  font-size: 14.5px;
}

.card .meta {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--steel);
  letter-spacing: .03em;
}

/* ============================================================
   APPLICATION / SECTOR GRID (with photo)
   ============================================================ */
.sector-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.sector-card {
  aspect-ratio: 4/5;
  position: relative;
  overflow: hidden;
  background: var(--ink);
}

.sector-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .78;
  transition: transform .4s ease, opacity .3s ease;
}

.sector-card:hover img {
  transform: scale(1.06);
  opacity: .55;
}

.sector-card .label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 18px;
  background: linear-gradient(180deg, transparent, rgba(15, 20, 27, .92));
}

.sector-card .label .t {
  color: var(--paper);
  font-weight: 600;
  font-size: 15px;
}

.sector-card .label .n {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--amber);
  margin-bottom: 4px;
  display: block;
}

@media (max-width:920px) {
  .sector-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ============================================================
   PRODUCT SPEC PANELS (products page)
   ============================================================ */
.product-panel {
  padding: 72px 0;
  border-top: 1px solid var(--line);
}

.product-panel:first-of-type {
  border-top: none;
}

.panel-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
  margin-bottom: 44px;
}

.panel-top h3 {
  font-size: clamp(26px, 3vw, 36px);
  margin-bottom: 16px;
}

.panel-top .desc {
  color: var(--slate);
  font-size: 15.5px;
  max-width: 52ch;
}

.panel-media {
  position: relative;
}

.panel-media img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.feature-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.feature-pills span {
  font-size: 12.5px;
  font-family: var(--mono);
  background: var(--paper-2);
  border-left: 3px solid var(--amber);
  padding: 6px 12px;
  color: var(--ink);
}

table.spec {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

table.spec caption {
  text-align: left;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 12px;
}

table.spec th,
table.spec td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
}

table.spec th {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 12.5px;
  letter-spacing: .04em;
  color: var(--slate);
  text-transform: uppercase;
  background: var(--paper-2);
}

table.spec tr:last-child td {
  border-bottom: none;
}

.table-scroll {
  overflow-x: auto;
}

.swatch-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.swatch {
  width: 84px;
}

.swatch img {
  width: 84px;
  height: 64px;
  object-fit: cover;
  border: 1px solid var(--line);
}

.swatch .code {
  font-family: var(--mono);
  font-size: 10.5px;
  margin-top: 6px;
  color: var(--slate);
}

.product-mini-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.mini-card {
  background: var(--white);
  border: 1px solid var(--line);
}

.mini-card .ph {
  height: 190px;
  background: var(--paper-2);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.mini-card .ph img {
  height: 100%;
  object-fit: contain;
}

.mini-card .tx {
  padding: 16px 18px 20px;
}

.mini-card h5 {
  font-family: var(--display);
  font-size: 15.5px;
  margin-bottom: 6px;
}

.mini-card p {
  font-size: 13px;
  color: var(--slate);
}

@media (max-width:920px) {
  .panel-top {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .product-mini-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width:640px) {
  .product-mini-grid {
    grid-template-columns: 1fr;
  }
}

/* product nav (jump links) */
.product-jump {
  position: relative;
  z-index: 40;
  background:   #0C1B2E;
  border-bottom: 1px solid var(--line);
  overflow-x: auto;

}

.product-jump .wrap {
  display: flex;
  gap: 2px;
  padding: 0 32px;
}

.product-jump a {
  font-family: var(--mono);
  font-size: 12.5px;
  white-space: nowrap;
  padding: 16px 18px;
  color: var(--slate);
  border-bottom: 2px solid transparent;
}

.product-jump a:hover {
  color: var(--ink);
}

.product-jump a.on {
  color: var(--steel);
  border-color: var(--amber);
}

/* ============================================================
   ABOUT
   ============================================================ */
.about-hero {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 56px;
  align-items: center;
}

.about-hero .lead {
  font-size: 20px;
  color: var(--ink);
  font-weight: 400;
  line-height: 1.5;
}

.value-list {}

.value-item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 20px;
  padding: 26px 0;
  border-top: 1px solid var(--line-dk);
}

section:not(.dark) .value-item {
  border-top: 1px solid var(--line);
}

.value-item .vnum {
  font-family: var(--mono);
  color: var(--amber);
  font-size: 15px;
}

.value-item h4 {
  font-size: 19px;
  margin-bottom: 8px;
}

.value-item p {
  color: #B7BEC8;
  font-size: 14.5px;
  max-width: 60ch;
}

section:not(.dark) .value-item p {
  color: var(--slate);
}

.timeline-note {
  border: 1px dashed var(--line-dk);
  padding: 22px 24px;
  font-size: 13.5px;
  color: #9BA4AF;
  font-family: var(--mono);
}

section:not(.dark) .timeline-note {
  border-color: var(--line);
  color: var(--slate);
}

@media (max-width:900px) {
  .about-hero {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   PROJECTS
   ============================================================ */
.placeholder-card {
  aspect-ratio: 4/3;
  border: 1px dashed var(--line);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--slate);
  text-align: center;
  padding: 20px;
}

.placeholder-card .plus {
  width: 36px;
  height: 36px;
  border: 1px solid var(--slate);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.placeholder-card span {
  font-family: var(--mono);
  font-size: 12px;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
}

.info-block {
  padding: 24px 0;
  border-top: 1px solid var(--line-dk);
}

.info-block:first-of-type {
  border-top: none;
  padding-top: 0;
}

.info-block .lab {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 8px;
}

.info-block .val {
  font-size: 17px;
}

.info-block .ph {
  color: #8E97A2;
  font-size: 13px;
  margin-top: 4px;
}

.form-field {
  margin-bottom: 22px;
}

.form-field label {
  display: block;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 8px;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 13px 14px;
  font-family: var(--body);
  font-size: 14.5px;
  color: var(--ink);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--steel);
}

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

@media (max-width:900px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

.form-note {
  font-size: 12.5px;
  color: var(--slate);
  margin-top: 6px;
  font-family: var(--mono);
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--ink);
  color: #9BA4AF;
  padding: 64px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid var(--line-dk);
}

.footer-grid h5 {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--paper);
  margin-bottom: 18px;
}

.footer-grid ul li {
  margin-bottom: 11px;
  font-size: 14px;
}

.footer-grid ul li a:hover {
  color: var(--amber);
}

.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12.5px;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom .fb-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--paper);
  font-family: var(--display);
  font-weight: 700;
}

@media (max-width:800px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ============================================================
   PAGE HEADER (interior pages)
   ============================================================ */
.page-header {
  background: var(--ink);
  color: var(--paper);
  padding: 76px 0 54px;
  position: relative;
}

.page-header .crumb {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--amber);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.page-header h1 {
  font-size: clamp(34px, 4.6vw, 54px);
  max-width: 760px;
}

.page-header p {
  color: #B7BEC8;
  max-width: 560px;
  margin-top: 18px;
  font-size: 16px;
}

/* CTA banner */
.cta-banner {
  background: var(--steel);
  color: var(--white);
  padding: 64px 0;
}

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

.cta-banner h3 {
  font-size: clamp(24px, 3vw, 34px);
  max-width: 520px;
}

.cta-banner p {
  color: #CBD8E4;
  margin-top: 8px;
}

/* misc */
.mt-lg {
  margin-top: 64px;
}