﻿:root {
  color-scheme: light;
  --ink: #10131a;
  --muted: #5e6977;
  --line: #d9e1ea;
  --paper: #f5f7fa;
  --white: #ffffff;
  --night: #080d15;
  --night-2: #111a26;
  --steel: #263241;
  --blue: #087fbd;
  --blue-2: #055f90;
  --cyan: #45c6ee;
  --gold: #d9a832;
  --shadow: 0 28px 86px rgba(9, 16, 27, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
  overflow-x: hidden;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(8, 13, 21, 0.94);
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
  backdrop-filter: blur(18px);
}

.nav {
  width: min(1560px, calc(100% - 32px));
  min-height: 94px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 26px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 15px;
  text-decoration: none;
}

.brand-mark {
  width: 216px;
  height: 58px;
  display: block;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.brand-text {
  display: grid;
  gap: 2px;
  min-width: 142px;
}

.brand-name {
  font-size: 16px;
  font-weight: 850;
  letter-spacing: 0.02em;
}

.brand-company {
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.nav-links {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 4px;
}

.nav-links a,
.nav-cta {
  text-decoration: none;
  font-size: 15px;
  font-weight: 760;
  white-space: nowrap;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.72);
  padding: 10px 12px;
}

.nav-links a:hover {
  color: var(--white);
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 18px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 850;
}

.nav-cta {
  min-height: 51px;
  padding: 13px 21px;
}

.nav-cta,
.button.primary {
  color: var(--white);
  background: linear-gradient(135deg, #087fbd, #075f91);
  border: 1px solid rgba(69, 198, 238, 0.36);
  box-shadow: 0 12px 34px rgba(8, 127, 189, 0.24);
}

.nav-cta:hover,
.button.primary:hover {
  background: var(--blue-2);
  border-color: var(--blue-2);
}

.button.ghost {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.06);
}

.button.ghost:hover {
  background: rgba(255, 255, 255, 0.16);
}

.button.large {
  min-height: 58px;
  padding: 15px 28px;
  font-size: 16px;
}

.text-link {
  color: var(--blue-2);
  font-weight: 850;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.hero {
  position: relative;
  min-height: 0;
  height: calc(100vh - 94px);
  max-height: 680px;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background: var(--night);
}

.hero-bg,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-bg {
  background:
    radial-gradient(circle at 18% 25%, rgba(69, 198, 238, 0.12), transparent 28%),
    radial-gradient(circle at 77% 34%, rgba(217, 168, 50, 0.12), transparent 26%),
    linear-gradient(135deg, #08101a 0%, #101a28 48%, #172435 100%);
}

.hero-machine {
  position: absolute;
  display: block;
  max-width: none;
  pointer-events: none;
  user-select: none;
  filter: grayscale(0.16) saturate(0.84) contrast(1.08) brightness(0.9);
}

.hero-machine-primary {
  right: -55px;
  top: 116px;
  width: 700px;
  opacity: 0.58;
}

.hero-machine-secondary {
  left: -80px;
  bottom: 18px;
  width: 650px;
  opacity: 0.68;
}

.hero-machine-tertiary {
  left: 43%;
  bottom: 80px;
  width: 540px;
  opacity: 0.32;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(8, 13, 21, 0.78) 0%, rgba(8, 13, 21, 0.76) 32%, rgba(8, 13, 21, 0.64) 50%, rgba(8, 13, 21, 0.52) 68%, rgba(8, 13, 21, 0.68) 100%),
    linear-gradient(rgba(255, 255, 255, 0.024) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.024) 1px, transparent 1px);
  background-size: auto, 84px 84px, 84px 84px;
}

.hero-inner,
.section,
.page-hero > div,
.brand-track,
.contact-inner,
.footer-inner {
  width: min(1240px, calc(100% - 36px));
  margin: 0 auto;
}

.hero-inner {
  position: relative;
  padding: 36px 0 34px;
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  gap: 18px;
  align-items: start;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  text-shadow: 0 16px 36px rgba(0, 0, 0, 0.52);
}

.kicker,
.section-label {
  margin: 0 0 18px;
  color: var(--gold);
  font-size: 15px;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1,
.page-hero h1 {
  max-width: 760px;
  margin: 0 auto 18px;
  font-size: 48px;
  line-height: 1.06;
  letter-spacing: -0.01em;
}

.hero h1 span {
  display: none;
}

.hero-copy,
.page-hero p {
  max-width: 650px;
  margin: 0 auto 32px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 19px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 0;
}

.hero-headshot {
  position: relative;
  z-index: 3;
  margin: 0;
  justify-self: center;
  width: 174px;
  height: 174px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 18%, rgba(69, 198, 238, 0.16), transparent 36%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.025));
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  box-shadow: 0 22px 56px rgba(0, 0, 0, 0.34);
}

.hero-headshot img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center top;
  transform: none;
  filter: none;
}

.page-hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(8, 13, 21, 0.97), rgba(8, 13, 21, 0.8)),
    url("/assets/skid-large-pump-package.png") right -120px center / 560px auto no-repeat,
    linear-gradient(135deg, #08101a, #142132);
  color: var(--white);
}

.page-hero.compact > div {
  padding: 92px 0 84px;
}

.page-hero h1 {
  font-size: 48px;
  line-height: 1.04;
}

.page-hero p {
  margin-bottom: 0;
}

.section {
  padding: 82px 0;
}

.muted-section {
  width: 100%;
  background: #eef3f7;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding-left: max(18px, calc((100% - 1240px) / 2));
  padding-right: max(18px, calc((100% - 1240px) / 2));
}

.muted-section > * {
  width: min(1240px, 100%);
  margin-left: auto;
  margin-right: auto;
}

.about-section,
.resources-section,
.contact-inner,
.split-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 48px;
  align-items: start;
}

h2,
h3,
p {
  margin-top: 0;
}

h2 {
  margin-bottom: 0;
  font-size: 42px;
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 9px;
  font-size: 21px;
}

p {
  color: var(--muted);
}

.section-head {
  max-width: 820px;
  margin-bottom: 36px;
}

.section-head h2 {
  margin-bottom: 13px;
}

.section-head p,
.resource-copy p,
.about-copy p,
.contact-inner p,
.prose p {
  font-size: 18px;
}

/* Scrolling marquee brand strip */
.marquee-band {
  background: #0a1018;
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  overflow: hidden;
  padding: 14px 0;
  position: relative;
}

.marquee-band::before,
.marquee-band::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}

.marquee-band::before {
  left: 0;
  background: linear-gradient(to right, #0a1018, transparent);
}

.marquee-band::after {
  right: 0;
  background: linear-gradient(to left, #0a1018, transparent);
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 14px;
  width: max-content;
  animation: marquee 72s linear infinite;
}

.marquee-track:hover {
  animation-play-state: paused;
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  width: 176px;
  height: 70px;
  padding: 6px 10px;
  background: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  overflow: hidden;
}

.marquee-item:hover {
  background: var(--white);
}

.marquee-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: none;
  opacity: 1;
  transform-origin: center;
  transition: filter 0.14s, opacity 0.14s, transform 0.14s;
}

.marquee-item img[src*="centrotherm"],
.marquee-item img[src*="crane"],
.marquee-item img[src*="dwyer-omega"],
.marquee-item img[src*="flo-tite"],
.marquee-item img[src*="franklin-electric"],
.marquee-item img[src*="kadant-fluid-handling"],
.marquee-item img[src*="jeremias"],
.marquee-item img[src*="jl-wingert-co"],
.marquee-item img[src*="nexa"],
.marquee-item img[src*="pietro-fiorentini"],
.marquee-item img[src*="pump-nflo"],
.marquee-item img[src*="raychem"],
.marquee-item img[src*="saftdek"] {
  transform: scale(1.34);
}

.marquee-item img[src*="centrotherm"],
.marquee-item img[src*="crane"],
.marquee-item img[src*="franklin-electric"],
.marquee-item img[src*="nexa"],
.marquee-item img[src*="saftdek"],
.marquee-item img[src*="vexo"] {
  transform: scale(1.52);
}

.marquee-item:hover img {
  filter: none;
  opacity: 1;
}

.marquee-sep {
  display: none;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Page-level section jump nav */
.page-nav-strip { display: none; }

.brand-band {
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.brand-track {
  min-height: 114px;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 22px;
  align-items: center;
}

.brand-track img {
  width: 100%;
  max-height: 52px;
  object-fit: contain;
}

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

.equipment-card,
.resource-list a,
.detail-card,
.contact-methods a,
.contact-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.equipment-card {
  display: block;
  overflow: hidden;
  text-decoration: none;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.equipment-card:hover {
  border-color: rgba(8, 127, 189, 0.58);
  box-shadow: 0 18px 42px rgba(17, 24, 39, 0.1);
  transform: translateY(-2px);
}

.equipment-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: contain;
  background: var(--white);
  padding: 18px;
}

.equipment-card h3,
.equipment-card p,
.equipment-card .card-tag {
  margin-left: 22px;
  margin-right: 22px;
}

.equipment-card .card-tag {
  margin-top: 19px;
}

.equipment-card h3 {
  margin-top: 7px;
}

.equipment-card p {
  padding-bottom: 24px;
  margin-bottom: 0;
}

.equipment-card.feature {
  grid-column: span 2;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.9fr);
  align-items: center;
  background: #f9fbfd;
}

.equipment-card.feature img {
  height: 100%;
  min-height: 320px;
  aspect-ratio: auto;
  padding: 22px;
}

.equipment-card.feature div {
  padding: 34px;
}

.equipment-card.feature h3,
.equipment-card.feature p,
.equipment-card.feature .card-tag {
  margin-left: 0;
  margin-right: 0;
}

.equipment-card.feature h3 {
  font-size: 30px;
}

.equipment-card.feature p {
  font-size: 18px;
}

.card-tag,
.resource-list span,
.contact-methods span,
.contact-card span {
  display: block;
  color: var(--blue-2);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.resource-copy h2 {
  margin-bottom: 18px;
}

.resource-copy .button {
  margin-top: 8px;
}

.resource-list {
  display: grid;
  gap: 14px;
}

.resource-list.two-col {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.resource-list a {
  display: grid;
  gap: 7px;
  padding: 22px;
  text-decoration: none;
}

.resource-list a:hover {
  border-color: var(--blue);
  box-shadow: 0 14px 36px rgba(17, 24, 39, 0.08);
}

.detail-card.link-card {
  display: grid;
  gap: 8px;
  color: var(--ink);
  text-decoration: none;
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}

.detail-card.link-card:hover {
  border-color: var(--blue);
  box-shadow: 0 14px 36px rgba(17, 24, 39, 0.08);
  transform: translateY(-1px);
}

.mep-calculator-frame {
  width: 100%;
  height: min(1180px, calc(100vh - 118px));
  min-height: 760px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #0f172a;
  box-shadow: var(--shadow);
}

.resource-list strong {
  font-size: 20px;
  line-height: 1.26;
}

.about-section,
.resources-section {
  border-top: 1px solid var(--line);
}

.about-copy p:last-child,
.prose p:last-child {
  margin-bottom: 0;
}

.home-profile {
  display: grid;
  grid-template-columns: 178px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
}

.home-profile img {
  width: 178px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center top;
  padding: 10px;
  background:
    linear-gradient(var(--white), var(--white)) padding-box,
    linear-gradient(135deg, rgba(8, 127, 189, 0.65), rgba(217, 168, 50, 0.55)) border-box;
  border: 1px solid transparent;
  border-radius: 8px;
  box-shadow: 0 20px 48px rgba(12, 20, 32, 0.12);
}

.about-hero {
  background:
    linear-gradient(90deg, rgba(8, 13, 21, 0.98), rgba(8, 13, 21, 0.76)),
    linear-gradient(135deg, #08101a, #142132);
}

.about-hero-inner {
  min-height: 520px;
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(300px, 0.72fr);
  gap: 56px;
  align-items: end;
  padding: 74px 0 0;
}

.about-hero-copy {
  align-self: center;
  padding-bottom: 56px;
}

.about-hero-copy h1 {
  max-width: 760px;
  margin-left: 0;
  font-size: 52px;
}

.about-hero-copy p {
  max-width: 660px;
  margin-left: 0;
}

.about-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.about-family-feature {
  align-self: end;
  min-height: 460px;
  margin: 0;
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
}

.about-family-feature::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 76%;
  background:
    radial-gradient(circle at 40% 16%, rgba(69, 198, 238, 0.18), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: none;
  border-radius: 8px 8px 0 0;
}

.about-family-feature img {
  position: relative;
  z-index: 1;
  max-height: 500px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 28px 34px rgba(0, 0, 0, 0.34));
}

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

.about-intro-grid,
.about-story-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 42px;
  align-items: start;
}

.about-intro-lead p {
  max-width: 580px;
  margin-top: 20px;
  font-size: 18px;
}

.about-focus-list {
  display: grid;
  gap: 14px;
}

.about-focus-list article {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  column-gap: 18px;
  padding: 22px 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.about-focus-list span {
  color: var(--gold);
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
}

.about-focus-list h3 {
  margin: 0 0 6px;
  font-size: 19px;
}

.about-focus-list p {
  grid-column: 2;
  margin-bottom: 0;
}

.about-story-section {
  background: #eef3f7;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.about-story-card {
  min-height: 100%;
  padding: 32px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.about-story-card h2 {
  margin-bottom: 18px;
  font-size: 34px;
}

.about-story-card p {
  font-size: 17px;
}

.about-story-card.dark {
  color: var(--white);
  background:
    linear-gradient(145deg, rgba(8, 13, 21, 0.92), rgba(17, 26, 38, 0.96)),
    radial-gradient(circle at 18% 18%, rgba(217, 168, 50, 0.2), transparent 32%);
  border-color: rgba(255, 255, 255, 0.1);
}

.about-story-card.dark p {
  color: rgba(255, 255, 255, 0.76);
}

.about-cta-section {
  padding-top: 70px;
}

.about-simple {
  padding-top: 80px;
  padding-bottom: 88px;
}

.about-simple-copy {
  max-width: 940px;
  margin: 0 auto 48px;
  text-align: center;
}

.about-simple-copy h1 {
  margin: 0 0 12px;
  color: #08234a;
  font-size: 40px;
  line-height: 1.08;
}

.about-simple-copy p {
  max-width: 900px;
  margin: 0 auto 18px;
  color: #092040;
  font-size: 18px;
  line-height: 1.45;
}

.about-family-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1fr);
  gap: 24px;
  align-items: stretch;
}

.about-photo-card {
  min-height: 430px;
  margin: 0;
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  background:
    linear-gradient(180deg, #ffffff 0%, #f6f9fc 100%);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 22px 62px rgba(12, 20, 32, 0.08);
}

.about-photo-card::before {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 8px;
  background:
    radial-gradient(circle at 30% 20%, rgba(8, 127, 189, 0.08), transparent 30%),
    radial-gradient(circle at 72% 18%, rgba(217, 168, 50, 0.08), transparent 26%);
}

.about-photo-card img {
  position: relative;
  z-index: 1;
  display: block;
  max-width: none;
  object-fit: contain;
  filter: drop-shadow(0 24px 22px rgba(12, 20, 32, 0.18));
}

.about-photo-card.couple img {
  width: auto;
  height: 108%;
  transform: translateY(26px);
}

.about-photo-card.kids img {
  width: 96%;
  height: auto;
  transform: translateY(20px);
}

.detail-grid,
.contact-page-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.detail-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.detail-card,
.contact-card {
  padding: 24px;
}

.detail-card h3,
.contact-card h3 {
  margin-top: 0;
}

.detail-card p:last-child {
  margin-bottom: 0;
}

.contact-card {
  display: grid;
  gap: 8px;
}

.contact-card a {
  font-size: 19px;
  font-weight: 850;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.featured-resource {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
  padding: 34px;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--blue);
  border-radius: 8px;
  box-shadow: 0 18px 54px rgba(12, 20, 32, 0.08);
}

.featured-resource h2 {
  margin: 8px 0 14px;
}

.featured-resource p {
  max-width: 780px;
  margin-bottom: 0;
  font-size: 18px;
}

.calculator-featured {
  margin-bottom: 42px;
}

.calculator-featured .button {
  min-width: 230px;
}

.calculator-summary-head {
  margin-top: 0;
}

.calculator-summary-card {
  min-height: 170px;
}

.finding-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.finding-list article {
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.finding-list strong {
  display: block;
  margin-bottom: 8px;
  font-size: 19px;
}

.finding-list p {
  margin-bottom: 0;
}

.selection-nav {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.guide-cards + .selection-nav {
  margin-top: 22px;
}

.selection-nav a {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  color: var(--white);
  background: var(--steel);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  text-align: center;
  text-decoration: none;
  font-size: 13px;
  font-weight: 850;
}

.selection-nav a:hover {
  background: var(--blue-2);
}

.selection-sections {
  display: grid;
  gap: 18px;
}

.selection-panel {
  scroll-margin-top: 104px;
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.selection-panel img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: contain;
  padding: 16px;
  background: var(--white);
  border-radius: 6px;
}

.selection-panel h2 {
  margin: 6px 0 10px;
  font-size: 27px;
}

.selection-panel ul {
  margin: 18px 0 0;
  padding-left: 21px;
  color: var(--muted);
}

.selection-panel .card-tag {
  color: var(--gold);
  font-size: 16px;
  letter-spacing: 0.12em;
}

.selection-panel p {
  font-size: 15px;
}

.selection-panel li + li {
  margin-top: 9px;
}

.equipment-overview-list {
  display: grid;
  gap: 18px;
}

.overview-panel {
  align-items: start;
}

.overview-panel h3 {
  margin-top: 0;
  color: var(--steel);
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.overview-columns {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 24px;
  margin-top: 20px;
}

.overview-columns p {
  margin-bottom: 0;
}

.overview-columns ul {
  margin-top: 0;
}

.compact-panel {
  grid-template-columns: 1fr;
}

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

.contact-inner {
  padding: 82px 0;
}

.contact-inner h2 {
  margin-bottom: 18px;
}

.contact-inner p {
  color: rgba(255, 255, 255, 0.74);
}

.contact-methods {
  display: grid;
  gap: 14px;
}

.contact-methods a {
  display: grid;
  gap: 5px;
  padding: 22px;
  color: var(--white);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.16);
  overflow-wrap: anywhere;
}

.contact-methods a:hover {
  border-color: var(--cyan);
}

.site-footer {
  background: #0b111d;
  color: rgba(255, 255, 255, 0.72);
}

.footer-inner {
  padding: 32px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 14px;
}

.footer-inner strong,
.footer-inner a {
  color: var(--white);
}

@media (max-width: 1280px) {
  .nav {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 16px 0;
  }

  .nav-links {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .nav-cta {
    width: fit-content;
  }

  .hero {
    min-height: 0;
    max-height: none;
    height: auto;
  }

  .hero-inner {
    padding-top: 42px;
    padding-bottom: 42px;
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .hero-headshot {
    justify-self: center;
    width: 158px;
    height: 158px;
  }

  .hero-machine-primary {
    right: -190px;
    top: 120px;
    width: 560px;
    opacity: 0.36;
  }

  .hero-machine-secondary {
    left: -260px;
    bottom: 18px;
    width: 560px;
    opacity: 0.42;
  }

  .hero-machine-tertiary {
    left: 34%;
    bottom: 42px;
    width: 420px;
    opacity: 0.22;
  }

  .about-section,
  .resources-section,
  .contact-inner,
  .split-grid,
  .about-hero-inner,
  .about-intro-grid,
  .about-story-grid,
  .about-family-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .about-photo-card {
    min-height: 360px;
  }

  .about-photo-card.couple img {
    height: 104%;
  }

  .about-photo-card.kids img {
    width: 92%;
  }

  .about-hero-inner {
    min-height: 0;
    padding-top: 70px;
  }

  .about-hero-copy {
    padding-bottom: 0;
  }

  .about-family-feature {
    min-height: 360px;
  }

  .about-family-feature img {
    max-height: 390px;
  }

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

  .equipment-card.feature {
    grid-column: 1 / -1;
  }

  .brand-track {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .selection-nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .selection-panel {
    grid-template-columns: 280px minmax(0, 1fr);
  }
}

/* ============================
   SELECTION GUIDE PAGES
   ============================ */

.guide-wrap {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 56px;
  align-items: start;
  padding-top: 48px;
  padding-bottom: 80px;
}

.guide-toc {
  position: sticky;
  top: 100px;
  display: grid;
  gap: 4px;
}

.guide-toc-label {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

.guide-toc a {
  display: block;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 760;
  color: var(--muted);
  text-decoration: none;
  border-left: 2px solid var(--line);
}

.guide-toc a:hover {
  color: var(--blue-2);
  border-left-color: var(--blue-2);
}

.guide-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 760;
  color: var(--blue-2);
  text-decoration: none;
  margin-bottom: 14px;
}

.guide-breadcrumb:hover { text-decoration: underline; }

.guide-body > section {
  margin-bottom: 54px;
  scroll-margin-top: 104px;
}

.guide-body h2 {
  font-size: 24px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--line);
}

.guide-body h3 {
  font-size: 15px;
  font-weight: 800;
  color: var(--steel);
  margin: 24px 0 10px;
}

.guide-body > section > p,
.guide-body > section > ul,
.guide-body > section > ol {
  color: var(--muted);
  max-width: 840px;
}

.guide-body li + li { margin-top: 7px; }

.table-wrap {
  overflow-x: auto;
  border-radius: 8px;
  border: 1px solid var(--line);
  margin-bottom: 24px;
}

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

.compare-table th {
  background: var(--steel);
  color: var(--white);
  text-align: left;
  padding: 12px 16px;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.compare-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  color: var(--ink);
  line-height: 1.5;
}

.compare-table tr:last-child td { border-bottom: none; }
.compare-table tr:nth-child(odd) td { background: var(--paper); }

.compare-table td:first-child {
  font-weight: 760;
  color: var(--steel);
}

.checklist-groups { display: grid; gap: 12px; }

.check-group {
  padding: 20px 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.check-group h3 {
  margin: 0 0 12px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--blue-2);
  border-bottom: none;
}

.check-group ul {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.check-group li { font-size: 14px; }
.check-group li + li { margin-top: 6px; }

.ref-list {
  display: grid;
  gap: 8px;
  padding: 0;
}

.ref-list li {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 12px 18px;
  list-style: none;
  font-size: 14px;
  color: var(--muted);
}

.ref-list li strong {
  display: block;
  color: var(--ink);
  margin-bottom: 2px;
}

.guide-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

@media (max-width: 1100px) {
  .guide-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.guide-card {
  display: grid;
  gap: 10px;
  padding: 26px;
  text-decoration: none;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--blue);
  border-radius: 8px;
  transition: box-shadow 0.15s;
}

.guide-card:hover {
  box-shadow: 0 14px 42px rgba(12, 20, 32, 0.1);
  border-top-color: var(--blue-2);
}

.guide-card strong {
  font-size: 19px;
  line-height: 1.25;
}

.guide-card p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}

.guide-card .arrow {
  font-size: 13px;
  font-weight: 850;
  color: var(--blue-2);
  margin-top: 4px;
}

@media (max-width: 900px) {
  .guide-wrap { grid-template-columns: 1fr; }
  .guide-toc { display: none; }
  .guide-cards { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  body,
  main {
    max-width: 100vw;
    overflow-x: hidden;
  }

  .nav,
  .hero-inner,
  .section,
  .page-hero > div,
  .brand-track,
  .contact-inner,
  .footer-inner {
    width: 100%;
    padding-left: 18px;
    padding-right: 18px;
  }

  .brand {
    align-items: flex-start;
    gap: 12px;
  }

  .brand-mark {
    width: 179px;
    height: 51px;
  }

  .brand-text {
    padding-top: 2px;
  }

  .brand-company {
    line-height: 1.35;
  }

  .nav-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .nav-links a {
    padding: 8px 0;
  }

  .nav-cta {
    width: 100%;
  }

  .hero-inner {
    padding-top: 42px;
    padding-bottom: 32px;
  }

  .hero-headshot {
    width: 132px;
    height: 132px;
  }

  .hero-headshot img {
    width: 100%;
    transform: none;
  }

  .hero h1,
  .page-hero h1 {
    max-width: calc(100vw - 48px);
    font-size: 27px;
    line-height: 1.06;
  }

  .hero h1,
  .hero-copy {
    max-width: min(330px, calc(100vw - 48px));
  }

  .hero .kicker {
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    letter-spacing: 0.1em;
  }

  .hero-copy,
  .page-hero p {
    max-width: calc(100vw - 48px);
    font-size: 17px;
  }

  .hero-actions {
    display: grid;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 42px;
  }

  .hero-machine-primary {
    right: -250px;
    top: 96px;
    width: 420px;
    opacity: 0.2;
  }

  .hero-machine-secondary {
    left: -210px;
    bottom: 30px;
    width: 380px;
    opacity: 0.34;
  }

  .hero-machine-tertiary {
    display: none;
  }

  .equipment-grid,
  .brand-track,
  .resource-list.two-col,
  .detail-grid,
  .detail-grid.three,
  .contact-page-grid,
  .finding-list,
  .overview-columns,
  .selection-nav,
  .selection-panel,
  .featured-resource {
    grid-template-columns: 1fr;
  }

  .brand-track {
    min-height: 0;
    padding-top: 28px;
    padding-bottom: 28px;
  }

  .brand-track img {
    max-height: 48px;
  }

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

  .page-hero.compact > div {
    padding-top: 64px;
    padding-bottom: 56px;
    padding-left: 24px;
    padding-right: 24px;
  }

  .page-hero h1 {
    font-size: 31px;
  }

  .page-hero .kicker,
  .page-hero p {
    max-width: calc(100vw - 48px);
  }

  h2 {
    font-size: 32px;
  }

  .equipment-card.feature {
    display: block;
  }

  .equipment-card.feature img {
    min-height: 0;
    aspect-ratio: 16 / 10;
  }

  .equipment-card.feature div,
  .featured-resource,
  .selection-panel {
    padding: 24px;
  }

  .featured-resource {
    max-width: calc(100vw - 36px);
  }

  .featured-resource h2,
  .featured-resource p {
    max-width: calc(100vw - 84px);
  }

  .calculator-featured .button,
  .button.large {
    width: 100%;
    min-width: 0;
  }

  .selection-panel img {
    max-height: 230px;
  }

  .selection-panel h2 {
    font-size: 25px;
  }

  .footer-inner {
    display: grid;
  }

  .about-simple {
    padding-top: 56px;
    padding-bottom: 62px;
  }

  .about-simple-copy {
    margin-bottom: 32px;
    text-align: left;
  }

  .about-simple-copy h1 {
    font-size: 34px;
  }

  .about-simple-copy p {
    font-size: 17px;
  }

  .about-photo-card {
    min-height: 290px;
  }

  .about-photo-card.couple img {
    height: 102%;
    transform: translateY(18px);
  }

  .about-photo-card.kids img {
    width: 100%;
    transform: translateY(12px);
  }

  .home-profile {
    grid-template-columns: 1fr;
  }

  .home-profile img {
    width: 156px;
  }

  .about-hero-copy h1 {
    max-width: calc(100vw - 48px);
    font-size: 34px;
  }

  .about-hero-actions {
    display: grid;
    max-width: 320px;
  }

  .about-family-feature {
    min-height: 300px;
  }

  .about-family-feature::before {
    height: 70%;
  }

  .about-family-feature img {
    max-height: 330px;
  }

  .about-focus-list article {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .about-focus-list p {
    grid-column: 1;
  }

  .about-story-card {
    padding: 24px;
  }

  .about-story-card h2 {
    font-size: 28px;
  }
}

