/* Foster Refrigerators USA — site-wide layout (industrial v2)
   Nav + footer + page hero + dense content rails. */

html, body { background: var(--fc-paper); color: var(--fc-navy-ink); max-width: 100%; overflow-x: hidden; }
body { font-family: var(--fc-font-body); }
img, svg { max-width: 100%; }
.page-hero, .page-hero * { max-width: 100%; }
.fc-lead { max-width: 100%; }
@media (min-width: 760px) { .page-hero p.fc-lead { max-width: 60ch; } }

/* ─── NAV ─────────────────────────────────────────────────── */
/* Mobile-first: simple row — logo hard-left, hamburger hard-right.
   Hidden links/call don't occupy layout because flex skips display:none. */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(255,255,255,.94);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--fc-steel-100);
}
.site-nav-brand {
  margin-right: auto;            /* anchor logo to the far left */
  display: inline-flex;
  align-items: center;           /* vertically center oval + text */
  gap: 14px;
  text-decoration: none;
  height: 44px;                  /* match hamburger height so the row is even */
}
.site-nav-brand img {
  height: 40px;
  width: auto;
  display: block;
  align-self: center;            /* center the oval within the 44px row */
}
.site-nav-brand .fc-since {
  font-size: 15px;
  padding-left: 14px;
  border-left: 1px solid var(--fc-steel-100);
  text-decoration: none;
  line-height: 1;
}
/* Hide the heritage lockup on small + mid screens — keep just the mark */
.site-nav-brand .fc-since { display: none; }
@media (min-width: 1080px) {
  .site-nav-brand img { height: 46px; }
  .site-nav-brand .fc-since { display: inline-flex; }
}

/* Hamburger toggle — visible on mobile only */
.site-nav-toggle {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border: 1px solid var(--fc-steel-100);
  background: var(--fc-paper);
  border-radius: 4px;
  cursor: pointer;
  position: relative;
}
.site-nav-toggle::before,
.site-nav-toggle::after,
.site-nav-toggle span {
  content: "";
  position: absolute; left: 12px; right: 12px;
  height: 2px;
  background: var(--fc-navy-ink);
  transition: transform .2s var(--fc-ease), top .2s var(--fc-ease), opacity .2s var(--fc-ease);
}
.site-nav-toggle::before { top: 14px; }
.site-nav-toggle span { top: 21px; }
.site-nav-toggle::after { top: 28px; }
.site-nav[data-open="true"] .site-nav-toggle::before { top: 21px; transform: rotate(45deg); }
.site-nav[data-open="true"] .site-nav-toggle::after  { top: 21px; transform: rotate(-45deg); }
.site-nav[data-open="true"] .site-nav-toggle span    { opacity: 0; }
@media (min-width: 760px) {
  .site-nav-toggle { display: none; }
}

/* Desktop nav links + call ribbon */
.site-nav-links {
  display: none;
  gap: 28px;
  grid-row: 1;
}
.site-nav-links a {
  font-family: var(--fc-font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--fc-steel-500);
  text-decoration: none;
  padding: 8px 0;
  border-bottom: 1px solid transparent;
  transition: all .15s ease;
}
.site-nav-links a:hover { color: var(--fc-navy-ink); }
.site-nav-links a.is-active {
  color: var(--fc-navy-ink);
  border-bottom-color: var(--fc-orange);
}
.site-nav-call { display: none; }
@media (min-width: 760px) {
  .site-nav {
    display: grid;
    grid-template-columns: auto 1fr auto;
    padding: 16px 48px;
    gap: 24px;
  }
  .site-nav-brand { grid-column: 1; justify-self: start; margin-right: 0; }
  .site-nav-links { display: flex; grid-column: 2; justify-self: center; }
  .site-nav-call  { display: inline-flex; grid-column: 3; justify-self: end; }
}

/* Mobile drawer — full-width slide-down panel */
.site-nav-drawer {
  position: fixed;
  top: 56px; left: 0; right: 0;
  z-index: 99;
  background: var(--fc-paper);
  border-bottom: 1px solid var(--fc-steel-100);
  padding: 0 16px 24px;
  transform: translateY(-110%);
  transition: transform .3s var(--fc-ease);
  box-shadow: 0 16px 32px rgba(11,26,53,.10);
}
.site-nav[data-open="true"] + .site-nav-drawer {
  transform: translateY(0);
}
.site-nav-drawer ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column;
}
.site-nav-drawer a {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 4px;
  border-bottom: 1px solid var(--fc-steel-100);
  font-family: var(--fc-font-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--fc-navy-ink);
  text-decoration: none;
}
.site-nav-drawer a::after {
  content: "→";
  color: var(--fc-steel-300);
  font-family: var(--fc-font-body);
  font-size: 14px;
}
.site-nav-drawer a.is-active {
  color: var(--fc-orange);
}
.site-nav-drawer a.is-active::after { color: var(--fc-orange); }
.site-nav-drawer-call {
  display: flex; align-items: center; justify-content: center;
  margin-top: 18px;
  padding: 14px;
  background: var(--fc-orange);
  color: #fff;
  border-radius: 4px;
  font-family: var(--fc-font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
}
@media (min-width: 760px) {
  .site-nav-drawer { display: none; }
}

/* ─── FOOTER ──────────────────────────────────────────────── */
.site-foot {
  background: var(--fc-navy-ink);
  color: rgba(255,255,255,.75);
  padding: 56px 20px 24px;
  position: relative;
  border-top: 1px solid #1a2a4d;
}
@media (min-width: 600px) { .site-foot { padding: 80px 24px 32px; } }
.site-foot::before {
  content: "";
  position: absolute; top: 0; left: 0;
  width: 80px; height: 3px;
  background: var(--fc-orange);
}
.site-foot-grid {
  max-width: 1440px; margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,.10);
}
@media (min-width: 760px) {
  .site-foot { padding: 96px 48px 32px; }
  .site-foot-grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 48px; }
}
.site-foot h4 {
  font-family: var(--fc-font-mono);
  font-weight: 600;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--fc-orange);
  margin: 0 0 20px;
}
.site-foot ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.site-foot a {
  color: rgba(255,255,255,.72);
  text-decoration: none;
  font-size: 14px;
  transition: color .15s ease;
}
.site-foot a:hover { color: #fff; }
.site-foot-mark { display: inline-block; margin-bottom: 24px; }
.site-foot-mark img { height: 56px; width: auto; }
.site-foot-blurb {
  font-size: 14px; line-height: 1.6;
  max-width: 360px;
  color: rgba(255,255,255,.65);
}
.site-foot-pill {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 20px;
  padding: 8px 12px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 4px;
  font-family: var(--fc-font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  color: rgba(255,255,255,.85);
  text-transform: uppercase;
}
.site-foot-pill::before {
  content: "★"; color: var(--fc-orange);
}
.site-foot-base {
  max-width: 1440px; margin: 24px auto 0;
  display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between;
  font-family: var(--fc-font-mono);
  font-size: 10px;
  color: rgba(255,255,255,.40);
  letter-spacing: .14em;
  text-transform: uppercase;
}

/* ─── PAGE HERO ───────────────────────────────────────────── */
.page-hero {
  position: relative;
  padding: 84px 20px 56px;
  max-width: 1440px;
  margin: 0 auto;
}
@media (min-width: 600px)  { .page-hero { padding: 100px 24px 72px; } }
@media (min-width: 760px)  { .page-hero { padding: 160px 48px 120px; } }
@media (min-width: 1100px) { .page-hero { padding: 180px 80px 140px; } }

/* Split hero — copy left, product image right (fills the blank space) */
.page-hero--split { padding-top: 96px; padding-bottom: 40px; }
@media (min-width: 600px)  { .page-hero--split { padding-top: 108px; } }
@media (min-width: 760px)  { .page-hero--split { padding-top: 132px; padding-bottom: 64px; } }
@media (min-width: 1000px) {
  .page-hero--split {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    align-items: center;
    gap: 56px;
    padding-top: 150px; padding-bottom: 96px;
  }
}
.page-hero-copy { min-width: 0; }

/* Mono proof ribbon under the CTAs */
.page-hero-ribbon {
  display: flex; flex-wrap: wrap; gap: 0;
  margin-top: 36px;
  border-top: 1px solid var(--fc-steel-100);
  border-bottom: 1px solid var(--fc-steel-100);
}
.page-hero-ribbon span {
  font-family: var(--fc-font-mono);
  font-size: 10px; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--fc-steel-500);
  padding: 12px 16px 12px 0;
  margin-right: 16px;
  position: relative;
}
.page-hero-ribbon span:not(:last-child)::after {
  content: "·"; position: absolute; right: 0; color: var(--fc-steel-300);
}

/* Hero media (right column) */
.page-hero-media {
  position: relative;
  margin-top: 36px;
  border-radius: 6px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--fc-navy-ink);
}
.page-hero-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
@media (min-width: 1000px) {
  .page-hero-media { margin-top: 0; aspect-ratio: 5 / 6; }
}

.page-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: end;
}
@media (min-width: 760px)  { .page-hero-grid { gap: 56px; } }
@media (min-width: 1100px) { .page-hero-grid { grid-template-columns: 1.4fr 1fr; gap: 80px; } }

.page-hero-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--fc-navy-ink);
  position: relative;
}
@media (min-width: 1100px) { .page-hero-meta { grid-template-columns: 1fr; gap: 18px; } }
.page-hero-meta::before {
  content: "";
  position: absolute; top: -2px; left: 0;
  width: 64px; height: 3px;
  background: var(--fc-orange);
}
@media (min-width: 760px) { .page-hero-meta::before { width: 80px; } }
.page-hero-meta dl {
  margin: 0;
  display: flex; flex-direction: column;
  gap: 2px;
  padding: 8px 0;
}
@media (min-width: 1100px) {
  .page-hero-meta dl { flex-direction: row; gap: 16px; align-items: baseline; padding: 0; }
}
.page-hero-meta dt {
  font-family: var(--fc-font-mono);
  font-size: 9px; font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--fc-steel-500);
}
@media (min-width: 1100px) {
  .page-hero-meta dt { font-size: 10px; min-width: 80px; }
}
.page-hero-meta dd {
  margin: 0;
  font-family: var(--fc-font-mono);
  font-size: 11px;
  color: var(--fc-navy-ink);
  font-weight: 600;
}
@media (min-width: 1100px) { .page-hero-meta dd { font-size: 12px; } }

.page-hero h1.fc-h1 { max-width: 1100px; }
.page-hero p.fc-lead { max-width: 720px; margin-top: 20px; }
@media (min-width: 760px) { .page-hero p.fc-lead { margin-top: 28px; } }
.page-hero-actions {
  display: flex; flex-direction: column; gap: 10px;
  margin-top: 28px;
  align-items: stretch;
}
.page-hero-actions .fc-btn-primary { width: 100%; justify-content: space-between; }
.page-hero-actions .fc-btn-ghost,
.page-hero-actions .fc-btn-navy { width: 100%; justify-content: space-between; }
@media (min-width: 600px) {
  .page-hero-actions {
    flex-direction: row; flex-wrap: wrap;
    gap: 12px;
    margin-top: 40px;
  }
  .page-hero-actions .fc-btn { width: auto; justify-content: center; }
}

/* ─── HERO DUO — two equal plates (Navy + Civilian) ──────────
   Mobile: stack vertically.
   Desktop: side-by-side, identical heights.
   ─────────────────────────────────────────────────────────── */
.hero-duo {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 20px 56px;
}
@media (min-width: 600px) { .hero-duo { padding: 0 24px 72px; } }
@media (min-width: 760px) { .hero-duo { padding: 0 48px 96px; } }
@media (min-width: 1100px) { .hero-duo { padding: 0 80px 120px; } }

.hero-duo-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 760px) { .hero-duo-grid { grid-template-columns: 1fr 1fr; gap: 20px; } }
@media (min-width: 1100px) { .hero-duo-grid { gap: 24px; } }

.hero-duo-card {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: 4px;
  overflow: hidden;
  isolation: isolate;
  background: var(--fc-navy-ink);
}
@media (min-width: 760px)  { .hero-duo-card { aspect-ratio: 3 / 4; } }
@media (min-width: 1100px) { .hero-duo-card { aspect-ratio: 4 / 3; } }

/* Caption block — pinned to bottom, doesn't push the photo */
.hero-duo-cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 4;
  padding: 24px 20px 20px;
  color: #fff;
  background: linear-gradient(180deg, rgba(11,26,53,0) 0%, rgba(11,26,53,.75) 50%, rgba(11,26,53,.95) 100%);
}
@media (min-width: 760px) { .hero-duo-cap { padding: 28px 24px; } }
@media (min-width: 1100px) { .hero-duo-cap { padding: 32px 28px; } }

.hero-duo-cap p {
  margin: 8px 0 16px;
  color: rgba(255,255,255,.78);
  font-size: 14px;
  line-height: 1.55;
}
@media (min-width: 760px) { .hero-duo-cap p { font-size: 15px; } }

.hero-duo-cap .fc-h3 {
  font-size: clamp(20px, 4.5vw, 26px);
  letter-spacing: -.015em;
}
@media (min-width: 760px) { .hero-duo-cap .fc-h3 { font-size: 22px; } }
@media (min-width: 1100px) { .hero-duo-cap .fc-h3 { font-size: 26px; } }

/* Pin the engineering tags to the corners regardless of card content */
.hero-duo-card > .fc-bp-tag.tl { top: 16px; left: 16px; }
.hero-duo-card > .fc-bp-tag.tr { top: 16px; right: 16px; }

/* (legacy hero-stack CSS removed — replaced by .hero-duo above) */

/* ─── SPLIT 2 (image + content) ───────────────────────────── */
.split-2 {
  display: grid; grid-template-columns: 1fr; gap: 48px;
  align-items: stretch;
}
@media (min-width: 900px) { .split-2 { grid-template-columns: 1.1fr 1fr; gap: 80px; } }
.split-2.is-flipped { direction: rtl; }
.split-2.is-flipped > * { direction: ltr; }

/* Industries / 4-column rails */
.cols-4 {
  display: grid; grid-template-columns: 1fr 1fr; gap: 32px;
}
@media (min-width: 760px) { .cols-4 { grid-template-columns: repeat(4, 1fr); gap: 48px; } }
.cols-4 > div h4 {
  font-family: var(--fc-font-mono);
  font-weight: 700;
  font-size: 11px;
  color: var(--fc-orange);
  letter-spacing: .14em;
  text-transform: uppercase;
  padding-bottom: 12px;
  margin: 0 0 16px;
  border-bottom: 1px solid var(--fc-navy-ink);
  position: relative;
}
.cols-4 > div h4::after {
  content: "";
  position: absolute; left: 0; bottom: -2px;
  width: 24px; height: 3px;
  background: var(--fc-orange);
}
.cols-4 ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 4px; }
.cols-4 li {
  font-size: 14px;
  padding: 6px 0;
  color: var(--fc-navy-ink);
  font-weight: 500;
  display: grid; grid-template-columns: auto 1fr; gap: 12px;
  align-items: baseline;
}
.cols-4 li::before {
  content: "";
  width: 12px; height: 1px;
  background: var(--fc-steel-300);
  margin-top: 9px;
}

/* ─── HERITAGE BAND ───────────────────────────────────────── */
.heritage-band {
  position: relative;
  min-height: 70vh;
  display: flex; align-items: center;
  background: var(--fc-navy-ink);
  overflow: hidden;
}
.heritage-band-photo { position: absolute; inset: 0; }
.heritage-band-photo img { width: 100%; height: 100%; object-fit: cover; opacity: .35; filter: grayscale(.7) contrast(1.05); }
.heritage-band-photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(110deg, rgba(11,26,53,.92) 0%, rgba(0,35,90,.78) 50%, rgba(0,35,90,.40) 100%);
}
/* Blueprint grid texture */
.heritage-band-photo::before {
  content: "";
  position: absolute; inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 64px 64px;
}
.heritage-band-body {
  position: relative; z-index: 2;
  max-width: 1100px;
  padding: 80px 20px;
  color: #fff;
  width: 100%;
}
@media (min-width: 600px) { .heritage-band-body { padding: 96px 24px; } }
@media (min-width: 760px) { .heritage-band-body { padding: 140px 80px; } }
.heritage-band-body .fc-h2 { color: #fff; }
.heritage-band-body .fc-lead { color: rgba(255,255,255,.78); margin-top: 32px; }
.heritage-band-body em { font-style: normal; color: var(--fc-orange); }

/* corner registration marks for heritage band */
.heritage-band-body .corner {
  position: absolute;
  font-family: var(--fc-font-mono);
  font-size: 10px;
  letter-spacing: .14em;
  color: rgba(255,255,255,.45);
  text-transform: uppercase;
}
.heritage-band-body .corner-tl { top: 32px; left: 24px; }
.heritage-band-body .corner-tr { top: 32px; right: 24px; text-align: right; }
.heritage-band-body .corner-br { bottom: 32px; right: 24px; text-align: right; }
@media (min-width: 760px) {
  .heritage-band-body .corner-tl { top: 40px; left: 80px; }
  .heritage-band-body .corner-tr { top: 40px; right: 80px; }
  .heritage-band-body .corner-br { bottom: 40px; right: 80px; }
}

/* ─── TRUST RAIL ──────────────────────────────────────────── */
.fc-trust-rail {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  padding: 16px 0;
  border-top: 1px solid var(--fc-navy-ink);
  border-bottom: 1px solid var(--fc-navy-ink);
}
@media (min-width: 600px) { .fc-trust-rail { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 760px) { .fc-trust-rail { grid-template-columns: repeat(6, 1fr); padding: 32px 0; } }
.fc-trust-rail .item {
  display: flex; flex-direction: column;
  gap: 6px;
  padding: 16px;
  position: relative;
  border-right: 1px solid var(--fc-steel-100);
  border-bottom: 1px solid var(--fc-steel-100);
}
@media (min-width: 760px) {
  .fc-trust-rail .item {
    padding: 0 20px;
    border-right: none;
    border-bottom: none;
  }
  .fc-trust-rail .item:not(:first-child)::before {
    content: "";
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 1px;
    background: var(--fc-steel-100);
  }
}
/* drop bottom border on last row + right border on rightmost col */
.fc-trust-rail .item:nth-child(2n) { border-right: none; }
.fc-trust-rail .item:nth-last-child(-n+2) { border-bottom: none; }
@media (min-width: 600px) {
  .fc-trust-rail .item:nth-child(2n) { border-right: 1px solid var(--fc-steel-100); }
  .fc-trust-rail .item:nth-child(3n) { border-right: none; }
  .fc-trust-rail .item:nth-last-child(-n+2) { border-bottom: 1px solid var(--fc-steel-100); }
  .fc-trust-rail .item:nth-last-child(-n+3) { border-bottom: none; }
}
.fc-trust-rail .num {
  font-family: var(--fc-font-mono);
  font-size: 10px;
  letter-spacing: .14em;
  color: var(--fc-orange);
  text-transform: uppercase;
}
.fc-trust-rail .label {
  font-family: var(--fc-font-display);
  font-weight: 700;
  font-size: 14px;
  color: var(--fc-navy-ink);
  letter-spacing: -.005em;
  line-height: 1.2;
}

/* ─── CTA BAND (dark) ─────────────────────────────────────── */
.cta-band {
  position: relative;
  background: var(--fc-navy-ink);
  border-radius: 4px;
  padding: 48px 20px;
  text-align: left;
  overflow: hidden;
}
@media (min-width: 600px) { .cta-band { padding: 64px 32px; } }
.cta-band::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--fc-orange);
}
.cta-band-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band .fc-h2 { color: #fff; max-width: 800px; }
.cta-band .fc-lead { color: rgba(255,255,255,.72); max-width: 640px; }
@media (min-width: 760px) { .cta-band { padding: 96px 64px; } }
