@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --navy-950: #07141f;
  --navy-900: #0a1d2e;
  --navy-850: #0d2336;
  --navy-800: #102b43;
  --brand-blue: #0d3f8c;
  --brand-blue-2: #1357b5;
  --brand-blue-light: #3a8cff;
  --brand-blue-pale: #e7f0ff;
  --steel-800: #34414c;
  --steel-700: #465563;
  --steel-500: #71808e;
  --steel-300: #bcc6cf;
  --steel-200: #d9e0e6;
  --surface: #f3f5f7;
  --surface-warm: #f7f5f1;
  --white: #ffffff;
  --charcoal: #131a20;
  --accent-warm: #e18a32;
  --success: #287a4d;
  --danger: #b73a3a;
  --shadow-dark: 0 24px 70px rgba(4, 13, 21, .28);
  --shadow-soft: 0 18px 45px rgba(12, 29, 43, .10);
  --radius-sm: 5px;
  --radius-md: 8px;
  --radius-lg: 10px;
  --container: 1240px;
  --section-y: clamp(4.5rem, 8vw, 8rem);
  --header-height: 98px;
  --font-display: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --font-body: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--navy-950); }
body {
  margin: 0;
  color: var(--charcoal);
  font-family: var(--font-body);
  background: var(--white);
  font-size: 1rem;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
::selection { color: var(--white); background: var(--brand-blue); }

.skip-link {
  position: fixed;
  z-index: 9999;
  top: .75rem;
  left: .75rem;
  padding: .85rem 1rem;
  background: var(--white);
  color: var(--navy-950);
  border: 2px solid var(--brand-blue);
  transform: translateY(-160%);
  transition: transform .2s ease;
}
.skip-link:focus { transform: translateY(0); }

.container { width: min(calc(100% - 2rem), var(--container)); margin-inline: auto; }
.container--narrow { width: min(calc(100% - 2rem), 920px); margin-inline: auto; }
.section { padding: var(--section-y) 0; position: relative; }
.section--surface { background: var(--surface); }
.section--warm { background: var(--surface-warm); }
.section--dark { background: var(--navy-950); color: var(--white); }
.section--navy { background: var(--navy-900); color: var(--white); }
.section--blue { background: var(--brand-blue); color: var(--white); }
.section--bordered { border-top: 1px solid var(--steel-200); border-bottom: 1px solid var(--steel-200); }

.eyebrow {
  display: flex;
  align-items: center;
  gap: .8rem;
  margin: 0 0 1rem;
  color: var(--brand-blue-2);
  font: 700 .78rem/1.2 var(--font-body);
  letter-spacing: .15em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 38px; height: 3px; background: var(--accent-warm); flex: 0 0 auto; }
.section--dark .eyebrow, .section--navy .eyebrow, .page-hero .eyebrow, .home-hero .eyebrow { color: #d7defe; }

h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--navy-950);
  text-wrap: balance;
  line-height: .98;
  letter-spacing: -.018em;
}
h1 { font-size: clamp(3.5rem, 7vw, 6.8rem); font-weight: 800; }
h2 { font-size: clamp(2.7rem, 5.3vw, 5rem); font-weight: 750; }
h3 { font-size: clamp(1.75rem, 2.8vw, 2.45rem); font-weight: 700; }
h4 { font-size: 1.4rem; font-weight: 700; }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4,
.section--navy h1, .section--navy h2, .section--navy h3, .section--navy h4,
.section--blue h1, .section--blue h2, .section--blue h3, .section--blue h4,
.page-hero h1, .home-hero h1 { color: var(--white); }
p { color: var(--steel-700); }
.section--dark p, .section--navy p, .page-hero p, .home-hero p { color: #c4cfd9; }
.lead { font-size: clamp(1.1rem, 2vw, 1.35rem); line-height: 1.7; }
.text-white { color: var(--white) !important; }
.text-muted { color: var(--steel-500); }
.text-blue { color: var(--brand-blue); }

.button-row { display: flex; flex-wrap: wrap; gap: .85rem; align-items: center; }
.btn {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  padding: .85rem 1.2rem;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-weight: 750;
  line-height: 1.15;
  letter-spacing: .01em;
  transition: transform .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid var(--accent-warm);
  outline-offset: 3px;
}
.btn--primary { background: var(--brand-blue-2); color: var(--white); box-shadow: 0 10px 25px rgba(27, 35, 126, .25); }
.btn--primary:hover { background: var(--brand-blue); }
.btn--light { background: var(--white); color: var(--navy-950); }
.btn--light:hover { background: var(--brand-blue-pale); }
.btn--outline { color: var(--white); border-color: rgba(255,255,255,.55); background: rgba(7,20,31,.18); }
.btn--outline:hover { border-color: var(--white); background: rgba(255,255,255,.08); }
.btn--dark { background: var(--navy-950); color: var(--white); }
.btn--ghost { color: var(--navy-950); border-color: var(--steel-300); background: transparent; }
.btn--ghost:hover { border-color: var(--brand-blue); color: var(--brand-blue); }
.btn svg { width: 18px; height: 18px; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  height: var(--header-height);
  color: var(--white);
  background: linear-gradient(180deg, rgba(3,11,18,.88), rgba(3,11,18,.28) 74%, transparent);
  transition: height .25s ease, background-color .25s ease, box-shadow .25s ease, border-color .25s ease;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled, .site-header.site-header--solid {
  height: 82px;
  background: rgba(7,20,31,.98);
  box-shadow: 0 12px 35px rgba(0,0,0,.18);
  border-bottom-color: rgba(188,198,207,.16);
}
.header-inner {
  height: 100%;
  width: min(calc(100% - 2rem), 1320px);
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 1.2rem;
}
.brand { flex: 0 0 auto; width: 265px; text-decoration: none; position: relative; z-index: 1002; }
.brand img { width: 100%; height: auto; background: transparent; }
.site-header.is-scrolled .brand, .site-header--solid .brand { width: 228px; }
.nav-shell { margin-left: auto; display: flex; align-items: center; gap: .85rem; }
.primary-nav ul { display: flex; gap: .25rem; align-items: center; margin: 0; padding: 0; list-style: none; }
.primary-nav a {
  display: flex;
  align-items: center;
  min-height: 46px;
  padding: .5rem .7rem;
  text-decoration: none;
  color: #edf1f5;
  font-size: .88rem;
  font-weight: 650;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
}
.primary-nav a:hover, .primary-nav a[aria-current="page"] { color: var(--white); border-bottom-color: var(--brand-blue-light); }
.header-phone {
  display: inline-flex;
  flex-direction: column;
  gap: .1rem;
  color: var(--white);
  text-decoration: none;
  line-height: 1.1;
  padding: 0 .45rem;
  white-space: nowrap;
}
.header-phone span { color: #aebbc7; font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; }
.header-phone strong { font-size: .86rem; }
.header-quote { min-height: 44px; padding: .7rem .9rem; font-size: .85rem; }
.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  margin-left: auto;
  border: 1px solid rgba(255,255,255,.28);
  background: rgba(255,255,255,.04);
  color: var(--white);
  border-radius: var(--radius-sm);
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1002;
}
.menu-toggle span, .menu-toggle::before, .menu-toggle::after {
  position: absolute;
  width: 22px;
  height: 2px;
  background: currentColor;
  content: "";
  transition: transform .2s ease, opacity .2s ease;
}
.menu-toggle::before { transform: translateY(-7px); }
.menu-toggle::after { transform: translateY(7px); }
.menu-toggle[aria-expanded="true"] span { opacity: 0; }
.menu-toggle[aria-expanded="true"]::before { transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"]::after { transform: rotate(-45deg); }

.home-hero {
  min-height: clamp(760px, 92vh, 980px);
  display: grid;
  align-items: center;
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(7,20,31,.98) 0%, rgba(7,20,31,.92) 34%, rgba(7,20,31,.58) 64%, rgba(7,20,31,.28) 100%),
    linear-gradient(180deg, rgba(7,20,31,.1), rgba(7,20,31,.75)),
    url("assets/photos/hero-fabrication.jpg") center 54% / cover no-repeat,
    var(--navy-950);
}
.home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("assets/graphics/technical-grid.svg") center/620px repeat;
  opacity: .42;
  pointer-events: none;
}
.home-hero::after {
  content: "";
  position: absolute;
  width: min(58vw, 850px);
  height: min(45vw, 600px);
  right: -5vw;
  bottom: 1.5rem;
  background: url("assets/graphics/casing-linework.svg") center/contain no-repeat;
  opacity: .17;
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; padding: calc(var(--header-height) + 5rem) 0 9rem; }
.hero-copy { max-width: 790px; }
.home-hero h1 { max-width: 760px; margin-bottom: 1.5rem; }
.home-hero .lead { max-width: 735px; margin-bottom: 2rem; color: #d1dae2; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; }
.emergency-callout {
  margin-top: 2.25rem;
  display: flex;
  align-items: stretch;
  width: fit-content;
  max-width: 100%;
  background: rgba(6,18,28,.78);
  border: 1px solid rgba(188,198,207,.3);
  border-left: 5px solid var(--accent-warm);
  backdrop-filter: blur(8px);
}
.emergency-callout__label { padding: .85rem 1.1rem; color: #d1dae2; font-size: .9rem; }
.emergency-callout__label strong { display: block; color: var(--white); font-size: 1rem; }
.emergency-callout__phone {
  display: flex;
  align-items: center;
  padding: .85rem 1.1rem;
  border-left: 1px solid rgba(188,198,207,.24);
  color: var(--white);
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}
.emergency-callout__phone:hover { background: rgba(255,255,255,.08); }

.trust-strip { position: relative; z-index: 3; margin-top: -66px; }
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--white);
  box-shadow: var(--shadow-dark);
  border-top: 5px solid var(--brand-blue);
}
.trust-item { min-height: 132px; padding: 1.6rem; border-right: 1px solid var(--steel-200); display: flex; flex-direction: column; justify-content: center; }
.trust-item:last-child { border-right: 0; }
.trust-item strong { color: var(--navy-950); font: 800 2.45rem/.9 var(--font-display); }
.trust-item span { color: var(--steel-700); font-size: .86rem; font-weight: 650; line-height: 1.35; margin-top: .55rem; }

.intro-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(310px, .65fr); gap: clamp(3rem, 7vw, 7rem); align-items: center; }
.intro-copy h2 { margin-bottom: 1.5rem; }
.intro-panel { position: relative; padding: 2rem 2rem 2.2rem; background: var(--navy-900); color: var(--white); overflow: hidden; }
.intro-panel::after { content: ""; position: absolute; inset: 0; background: url("assets/graphics/technical-grid.svg") center/360px; opacity: .28; }
.intro-panel > * { position: relative; z-index: 1; }
.intro-panel .big-number { font: 800 clamp(5rem, 9vw, 8.5rem)/.78 var(--font-display); color: var(--white); }
.intro-panel .big-label { color: #c9d3dc; font-size: 1rem; max-width: 240px; margin: 1.2rem 0 0; }
.intro-panel .accent-rule { width: 90px; height: 7px; background: var(--accent-warm); margin-top: 2rem; }

.product-showcase { overflow: hidden; }
.product-showcase::before { content: ""; position: absolute; inset: 0; background: url("assets/graphics/technical-grid.svg") center/640px; opacity: .23; pointer-events: none; }
.section-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, .65fr); gap: 2rem; align-items: end; margin-bottom: 3rem; position: relative; z-index: 1; }
.section-heading h2 { margin-bottom: 0; }
.section-heading p { margin-bottom: .45rem; }
.showcase-grid { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: minmax(185px, auto); gap: 1rem; position: relative; z-index: 1; }
.showcase-card { position: relative; min-height: 320px; overflow: hidden; background: var(--navy-800); color: var(--white); border: 1px solid rgba(188,198,207,.18); text-decoration: none; }
.showcase-card:nth-child(1) { grid-column: span 7; grid-row: span 2; min-height: 590px; }
.showcase-card:nth-child(2), .showcase-card:nth-child(3) { grid-column: span 5; }
.showcase-card:nth-child(4), .showcase-card:nth-child(5) { grid-column: span 6; min-height: 360px; }
.showcase-card img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.82) contrast(1.06); transition: transform .55s ease, filter .4s ease; }
.showcase-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 28%, rgba(5,15,24,.88) 80%, rgba(5,15,24,.98)); }
.showcase-card:hover img { transform: scale(1.035); filter: saturate(1) contrast(1.08); }
.showcase-card__content { position: absolute; z-index: 2; inset: auto 0 0; padding: clamp(1.35rem, 3vw, 2.2rem); }
.showcase-card__category { display: block; color: #bac5f6; font-size: .72rem; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; margin-bottom: .6rem; }
.showcase-card h3 { color: var(--white); margin-bottom: .55rem; }
.showcase-card p { color: #cbd5dd; max-width: 510px; margin-bottom: .9rem; line-height: 1.5; }
.showcase-card__link { display: inline-flex; align-items: center; gap: .5rem; color: var(--white); font-weight: 750; }
.showcase-card__link::after { content: "→"; color: var(--accent-warm); transition: transform .2s ease; }
.showcase-card:hover .showcase-card__link::after { transform: translateX(5px); }

.why-grid { display: grid; grid-template-columns: minmax(270px, .75fr) minmax(0, 1.3fr); gap: clamp(3rem, 7vw, 7rem); align-items: start; }
.why-grid h2 { position: sticky; top: 130px; }
.benefit-list { border-top: 1px solid var(--steel-300); }
.benefit-item { display: grid; grid-template-columns: 72px minmax(0,1fr); gap: 1.25rem; padding: 1.65rem 0; border-bottom: 1px solid var(--steel-300); }
.benefit-number { color: var(--brand-blue); font: 800 2.2rem/1 var(--font-display); }
.benefit-item h3 { font-size: 1.75rem; margin-bottom: .45rem; }
.benefit-item p { margin: 0; }

.gallery-grid { display: grid; grid-template-columns: 1.25fr .72fr .72fr; grid-template-rows: 290px 290px; gap: 1rem; }
.gallery-item { position: relative; overflow: hidden; border: 1px solid rgba(188,198,207,.2); background: #06111b; min-height: 0; }
.gallery-item:first-child { grid-row: 1 / span 2; }
.gallery-item:nth-child(4) { grid-column: 2; }
.gallery-item:nth-child(5) { grid-column: 3; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; filter: saturate(.85) contrast(1.05); }
.gallery-item:hover img { transform: scale(1.035); }
.gallery-item figcaption { position: absolute; inset: auto 0 0; padding: 1rem; background: linear-gradient(180deg, transparent, rgba(5,15,24,.94)); color: var(--white); font-size: .85rem; font-weight: 650; }

.jerry-section { position: relative; overflow: hidden; }
.jerry-section::after { content: ""; position: absolute; inset: 5% -12% auto 48%; height: 88%; background: url("assets/graphics/casing-linework.svg") center/contain no-repeat; opacity: .13; }
.jerry-grid { display: grid; grid-template-columns: minmax(280px, .6fr) minmax(0, 1fr); gap: clamp(3rem, 8vw, 8rem); align-items: center; position: relative; z-index: 1; }
.jerry-stat { border-left: 8px solid var(--brand-blue-light); padding-left: 1.8rem; }
.jerry-stat strong { display: block; font: 800 clamp(6rem, 12vw, 11rem)/.72 var(--font-display); color: var(--white); }
.jerry-stat span { display: block; max-width: 250px; color: #c6d0d9; font-weight: 650; line-height: 1.35; margin-top: 1.5rem; }
.jerry-copy { max-width: 650px; }
.jerry-copy h2 { margin-bottom: 1.35rem; }
.jerry-contact-card { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid rgba(188,198,207,.22); }

.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--steel-300); border-bottom: 1px solid var(--steel-300); }
.process-step { padding: 2rem 1.4rem 2rem 0; position: relative; }
.process-step:not(:last-child) { border-right: 1px solid var(--steel-300); padding-right: 1.4rem; margin-right: 1.4rem; }
.process-step__number { color: var(--brand-blue); font: 800 2.35rem/1 var(--font-display); }
.process-step h3 { font-size: 1.65rem; margin: 1rem 0 .6rem; }
.process-step p { margin: 0; font-size: .93rem; }

.final-cta { overflow: hidden; }
.final-cta::before { content: ""; position: absolute; inset: 0; background: url("assets/graphics/technical-grid.svg") center/560px; opacity: .22; }
.final-cta::after { content: ""; position: absolute; width: 570px; height: 260px; right: -80px; bottom: -70px; background: url("assets/graphics/casing-linework.svg") center/contain no-repeat; opacity: .15; }
.final-cta__inner { display: grid; grid-template-columns: minmax(0, 1.25fr) auto; gap: 2rem; align-items: center; position: relative; z-index: 1; }
.final-cta h2 { margin-bottom: 1rem; }
.final-cta p { margin-bottom: 0; max-width: 720px; }

.page-hero {
  min-height: 580px;
  display: flex;
  align-items: flex-end;
  position: relative;
  overflow: hidden;
  color: var(--white);
  background-color: var(--navy-950);
  padding: calc(var(--header-height) + 6rem) 0 5rem;
}
.page-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,20,31,.98), rgba(7,20,31,.76) 58%, rgba(7,20,31,.42)), url("assets/graphics/technical-grid.svg") center/620px; }
.page-hero::after { content: ""; position: absolute; width: 660px; height: 330px; right: -70px; bottom: -55px; background: url("assets/graphics/casing-linework.svg") center/contain no-repeat; opacity: .17; }
.page-hero--products { background-image: linear-gradient(90deg, rgba(7,20,31,.98), rgba(7,20,31,.72)), url("assets/photos/product-01.jpg"); background-size: auto, cover; background-position: center, center; }
.page-hero--capabilities { background-image: linear-gradient(90deg, rgba(7,20,31,.98), rgba(7,20,31,.72)), url("assets/photos/product-02.jpg"); background-size: auto, cover; background-position: center, center; }
.page-hero--about { background-image: linear-gradient(90deg, rgba(7,20,31,.98), rgba(7,20,31,.72)), url("assets/photos/product-04.jpg"); background-size: auto, cover; background-position: center, center; }
.page-hero--quote { background-image: linear-gradient(90deg, rgba(7,20,31,.98), rgba(7,20,31,.72)), url("assets/photos/product-03.jpg"); background-size: auto, cover; background-position: center, 70%; }
.page-hero--contact { background-image: linear-gradient(90deg, rgba(7,20,31,.98), rgba(7,20,31,.72)), url("assets/photos/product-05.jpg"); background-size: auto, cover; background-position: center, center; }
.page-hero__content { max-width: 820px; position: relative; z-index: 1; }
.page-hero h1 { margin-bottom: 1.2rem; }
.page-hero .lead { max-width: 760px; margin-bottom: 0; }

.filter-panel {
  margin-top: -48px;
  position: relative;
  z-index: 4;
  background: var(--white);
  border-top: 5px solid var(--brand-blue);
  box-shadow: var(--shadow-dark);
  padding: 1.5rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: end;
}
.filter-panel label { display: block; color: var(--navy-950); font-weight: 750; margin-bottom: .5rem; }
.filter-panel input { width: 100%; min-height: 52px; border: 1px solid var(--steel-300); border-radius: var(--radius-sm); padding: .8rem 1rem; color: var(--navy-950); background: var(--surface); }
.filter-count { color: var(--steel-700); font-weight: 650; padding-bottom: .75rem; white-space: nowrap; }
.product-category { padding-top: 2rem; }
.product-category[hidden], .product-card[hidden] { display: none !important; }
.product-category__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(250px, .55fr); gap: 2rem; align-items: end; padding-bottom: 1.5rem; margin-bottom: 1rem; border-bottom: 3px solid var(--navy-950); }
.product-category__head h2 { font-size: clamp(2.35rem, 4vw, 3.7rem); margin-bottom: 0; }
.product-category__head p { margin-bottom: .25rem; }
.product-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.product-card { border: 1px solid var(--steel-200); background: var(--white); padding: 1.7rem; position: relative; overflow: hidden; }
.product-card::before { content: ""; position: absolute; top: 0; left: 0; width: 6px; height: 100%; background: var(--brand-blue); transform: scaleY(.2); transform-origin: top; transition: transform .3s ease; }
.product-card:hover::before { transform: scaleY(1); }
.product-card h3 { font-size: 1.9rem; margin-bottom: .7rem; padding-right: 1rem; }
.product-card > p { margin-bottom: 1.15rem; }
.product-card details { border-top: 1px solid var(--steel-200); padding-top: .9rem; margin-top: 1rem; }
.product-card summary { color: var(--navy-950); font-weight: 750; cursor: pointer; }
.product-card details ul { margin: .8rem 0 0; padding-left: 1.2rem; color: var(--steel-700); columns: 2; column-gap: 2rem; }
.product-card__footer { display: flex; flex-wrap: wrap; gap: .9rem; align-items: center; justify-content: space-between; margin-top: 1.3rem; }
.product-card__footer a { color: var(--brand-blue); font-weight: 750; }
.product-card__related { font-size: .82rem; color: var(--steel-500); }
.disclaimer { margin-top: 2rem; padding: 1.3rem 1.5rem; background: var(--surface); border-left: 5px solid var(--accent-warm); color: var(--steel-700); }
.no-results { display: none; padding: 2rem; text-align: center; background: var(--surface); border: 1px solid var(--steel-200); }
.no-results.is-visible { display: block; }

.capability-feature { display: grid; grid-template-columns: minmax(0, .95fr) minmax(360px, 1.05fr); gap: clamp(3rem, 7vw, 7rem); align-items: center; }
.capability-diagram { background: var(--navy-900); box-shadow: var(--shadow-soft); border: 1px solid var(--steel-200); }
.capability-diagram img { width: 100%; height: auto; }
.capability-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.capability-card { min-height: 250px; padding: 1.6rem; border: 1px solid var(--steel-200); background: var(--white); position: relative; }
.capability-card::after { content: ""; position: absolute; inset: auto 0 0; height: 4px; background: var(--brand-blue); }
.capability-card__icon { width: 48px; height: 48px; border: 1px solid var(--steel-300); display: grid; place-items: center; color: var(--brand-blue); margin-bottom: 1.4rem; font: 800 1.2rem/1 var(--font-display); }
.capability-card h3 { font-size: 1.75rem; margin-bottom: .6rem; }
.capability-card p { margin-bottom: 0; font-size: .94rem; }
.what-to-send { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.checklist { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: .75rem; margin: 0; padding: 0; list-style: none; }
.checklist li { position: relative; padding: 1rem 1rem 1rem 2.8rem; background: rgba(255,255,255,.05); border: 1px solid rgba(188,198,207,.2); color: #d5dde4; }
.checklist li::before { content: "✓"; position: absolute; left: 1rem; color: var(--brand-blue-light); font-weight: 800; }

.story-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, .65fr); gap: clamp(3rem, 7vw, 7rem); align-items: start; }
.story-aside { padding: 2rem; background: var(--navy-900); color: var(--white); position: sticky; top: 120px; }
.story-aside strong { font: 800 clamp(5rem, 9vw, 8rem)/.8 var(--font-display); color: var(--white); }
.story-aside p { color: #c9d2da; margin: 1.2rem 0 0; }
.principles-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--steel-300); border-left: 1px solid var(--steel-300); }
.principle { min-height: 215px; padding: 1.5rem; border-right: 1px solid var(--steel-300); border-bottom: 1px solid var(--steel-300); }
.principle span { color: var(--brand-blue); font: 800 1.6rem/1 var(--font-display); }
.principle h3 { margin: 2.2rem 0 .7rem; font-size: 1.65rem; }
.principle p { margin: 0; font-size: .92rem; }

.quote-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.rfq-form { background: var(--white); border: 1px solid var(--steel-200); box-shadow: var(--shadow-soft); }
.form-section { border: 0; margin: 0; padding: 2rem; border-bottom: 1px solid var(--steel-200); }
.form-section:last-of-type { border-bottom: 0; }
.form-section legend { width: 100%; font: 800 1.6rem/1 var(--font-display); color: var(--navy-950); padding: 0 0 1rem; border-bottom: 2px solid var(--navy-950); margin-bottom: 1.3rem; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1rem 1.2rem; }
.form-field { min-width: 0; }
.form-field--full { grid-column: 1 / -1; }
.form-field label, .form-label { display: block; color: var(--navy-950); font-weight: 700; margin-bottom: .42rem; }
.required-mark { color: var(--danger); }
.field-help { display: block; color: var(--steel-500); font-size: .78rem; margin-top: .35rem; line-height: 1.45; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%;
  min-height: 50px;
  border: 1px solid var(--steel-300);
  background: var(--surface);
  color: var(--navy-950);
  border-radius: var(--radius-sm);
  padding: .75rem .85rem;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.form-field textarea { min-height: 170px; resize: vertical; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--brand-blue); background: var(--white); box-shadow: 0 0 0 4px rgba(27,35,126,.1); }
.choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: .7rem; }
.choice { display: flex; align-items: flex-start; gap: .65rem; padding: .8rem; border: 1px solid var(--steel-200); background: var(--surface); }
.choice input { width: 18px; height: 18px; margin-top: .2rem; accent-color: var(--brand-blue); flex: 0 0 auto; }
.choice label { margin: 0; font-weight: 600; line-height: 1.35; }
.form-actions { padding: 1.5rem 2rem 2rem; background: var(--surface); }
.form-actions .choice { background: var(--white); margin-bottom: 1rem; }
.form-note { font-size: .85rem; margin: .9rem 0 0; }
.quote-sidebar { position: sticky; top: 110px; }
.side-panel { padding: 1.6rem; background: var(--navy-900); color: var(--white); border-top: 5px solid var(--accent-warm); margin-bottom: 1rem; }
.side-panel h2, .side-panel h3 { color: var(--white); }
.side-panel h3 { font-size: 2rem; margin-bottom: .8rem; }
.side-panel p { color: #c8d2da; }
.side-panel a:not(.btn) { color: var(--white); font-weight: 750; }
.side-panel--light { background: var(--white); color: var(--navy-950); border: 1px solid var(--steel-200); border-top: 5px solid var(--brand-blue); }
.side-panel--light h3 { color: var(--navy-950); }
.side-panel--light p { color: var(--steel-700); }
.side-list { margin: 0; padding-left: 1.1rem; color: var(--steel-700); }
.side-list li { margin-bottom: .45rem; }

.contact-layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(3rem, 7vw, 7rem); align-items: start; }
.contact-card { background: var(--navy-900); color: var(--white); padding: clamp(1.6rem, 4vw, 3rem); position: relative; overflow: hidden; }
.contact-card::after { content: ""; position: absolute; width: 390px; height: 190px; right: -100px; bottom: -40px; background: url("assets/graphics/casing-linework.svg") center/contain no-repeat; opacity: .14; }
.contact-card > * { position: relative; z-index: 1; }
.contact-card h2 { color: var(--white); font-size: clamp(3rem, 5vw, 4.5rem); margin-bottom: 1.5rem; }
.contact-detail { padding: 1rem 0; border-top: 1px solid rgba(188,198,207,.22); }
.contact-detail span { display: block; color: #aab7c2; font-size: .73rem; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; }
.contact-detail a, .contact-detail strong { color: var(--white); font-size: 1.15rem; font-weight: 750; text-decoration: none; }
.response-list { margin: 1.4rem 0 0; padding: 0; list-style: none; border-top: 1px solid var(--steel-300); }
.response-list li { display: grid; grid-template-columns: 34px 1fr; gap: .7rem; padding: .85rem 0; border-bottom: 1px solid var(--steel-300); color: var(--steel-700); }
.response-list li::before { content: "→"; color: var(--brand-blue); font-weight: 800; }

.status-page { min-height: 100vh; display: grid; place-items: center; padding: 8rem 1rem 3rem; background: var(--navy-950); color: var(--white); position: relative; overflow: hidden; }
.status-page::before { content: ""; position: absolute; inset: 0; background: url("assets/graphics/technical-grid.svg") center/620px; opacity: .35; }
.status-card { width: min(100%, 820px); padding: clamp(2rem, 6vw, 5rem); background: rgba(10,29,46,.94); border: 1px solid rgba(188,198,207,.25); border-top: 7px solid var(--brand-blue-light); box-shadow: var(--shadow-dark); position: relative; z-index: 1; text-align: center; }
.status-mark { color: var(--accent-warm); font: 800 5rem/1 var(--font-display); }
.status-card h1 { font-size: clamp(3.2rem, 8vw, 6.5rem); margin: .8rem 0 1.3rem; }
.status-card p { max-width: 620px; margin: 0 auto 2rem; font-size: 1.1rem; }
.status-card .button-row { justify-content: center; }

.site-footer { background: #050f18; color: var(--white); border-top: 1px solid rgba(188,198,207,.18); }
.footer-main { padding: 4.5rem 0 3rem; display: grid; grid-template-columns: 1.25fr .65fr .8fr .9fr; gap: 2.3rem; }
.footer-brand img { width: 240px; background: transparent; margin-bottom: .95rem; }
.footer-brand p { color: #aebbc6; max-width: 360px; }
.footer-title { color: var(--white); font: 700 1.35rem/1 var(--font-display); margin-bottom: 1.1rem; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: .6rem; }
.footer-links a { color: #b8c3cc; text-decoration: none; font-size: .9rem; }
.footer-links a:hover { color: var(--white); }
.footer-contact a { display: block; color: var(--white); text-decoration: none; font-weight: 750; margin-bottom: .5rem; overflow-wrap: anywhere; }
.footer-contact p { color: #9eabb6; font-size: .9rem; }
.footer-bottom { border-top: 1px solid rgba(188,198,207,.16); padding: 1.2rem 0; }
.footer-bottom__inner { display: flex; justify-content: space-between; gap: 1rem; color: #8f9ca7; font-size: .78rem; }

.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .65s ease, transform .65s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 1120px) {
  :root { --header-height: 86px; }
  .primary-nav a { padding-inline: .45rem; font-size: .82rem; }
  .header-phone { display: none; }
  .brand { width: 236px; }
  .site-header.is-scrolled .brand, .site-header--solid .brand { width: 208px; }
  .capability-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-main { grid-template-columns: 1.1fr .7fr .8fr; }
  .footer-contact { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; border-top: 1px solid rgba(188,198,207,.16); padding-top: 2rem; }
}

@media (max-width: 900px) {
  .site-header { height: 82px; background: rgba(7,20,31,.96); }
  .site-header.is-scrolled, .site-header.site-header--solid { height: 76px; }
  .brand, .site-header.is-scrolled .brand, .site-header--solid .brand { width: 180px; }
  .menu-toggle { display: inline-flex; }
  .nav-shell {
    position: fixed;
    inset: 0;
    padding: 112px 1rem 2rem;
    background: rgba(7,20,31,.99);
    display: block;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform .28s ease, visibility .28s;
    overflow-y: auto;
  }
  .nav-shell.is-open { transform: translateX(0); visibility: visible; }
  .primary-nav ul { display: block; }
  .primary-nav li { border-bottom: 1px solid rgba(188,198,207,.18); }
  .primary-nav a { min-height: 58px; padding: .8rem 0; font-size: 1.05rem; border-bottom: 0; }
  .header-phone { display: flex; margin: 1.3rem 0; padding: 0; }
  .header-phone strong { font-size: 1.2rem; }
  .header-quote { width: 100%; min-height: 54px; }
  body.menu-open { overflow: hidden; }
  .hero-inner { padding-top: calc(var(--header-height) + 5rem); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(2) { border-right: 0; }
  .trust-item:nth-child(-n+2) { border-bottom: 1px solid var(--steel-200); }
  .intro-grid, .why-grid, .jerry-grid, .capability-feature, .what-to-send, .story-grid, .contact-layout { grid-template-columns: 1fr; }
  .why-grid h2, .story-aside { position: static; }
  .showcase-card:nth-child(1) { grid-column: span 12; min-height: 500px; }
  .showcase-card:nth-child(2), .showcase-card:nth-child(3), .showcase-card:nth-child(4), .showcase-card:nth-child(5) { grid-column: span 6; min-height: 330px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-template-rows: 340px 260px 260px; }
  .gallery-item:first-child { grid-column: 1 / -1; grid-row: auto; }
  .gallery-item:nth-child(4), .gallery-item:nth-child(5) { grid-column: auto; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-step { border-bottom: 1px solid var(--steel-300); }
  .process-step:nth-child(2) { border-right: 0; margin-right: 0; }
  .final-cta__inner { grid-template-columns: 1fr; }
  .product-list { grid-template-columns: 1fr; }
  .capability-diagram { order: -1; }
  .quote-layout { grid-template-columns: 1fr; }
  .quote-sidebar { position: static; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .side-panel { margin: 0; }
  .principles-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 680px) {
  :root { --section-y: 4.5rem; }
  .container, .container--narrow { width: min(calc(100% - 1.25rem), var(--container)); }
  h1 { font-size: clamp(3.15rem, 16vw, 4.5rem); }
  h2 { font-size: clamp(2.5rem, 12vw, 3.8rem); }
  .home-hero { min-height: 760px; background-position: 62% center; }
  .home-hero::after { display: none; }
  .hero-inner { padding-bottom: 7rem; }
  .home-hero .lead { font-size: 1rem; }
  .hero-actions .btn { width: 100%; }
  .emergency-callout { width: 100%; display: block; }
  .emergency-callout__phone { border-left: 0; border-top: 1px solid rgba(188,198,207,.24); }
  .trust-strip { margin-top: -44px; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-item { min-height: 105px; border-right: 0; border-bottom: 1px solid var(--steel-200); padding: 1.25rem; }
  .trust-item:last-child { border-bottom: 0; }
  .trust-item strong { font-size: 2.1rem; }
  .section-heading, .product-category__head { grid-template-columns: 1fr; gap: 1rem; }
  .showcase-card:nth-child(n) { grid-column: span 12; min-height: 340px; }
  .showcase-card:nth-child(1) { min-height: 430px; }
  .benefit-item { grid-template-columns: 50px 1fr; }
  .gallery-grid { grid-template-columns: 1fr; grid-template-rows: repeat(5, 270px); }
  .gallery-item:first-child { grid-column: auto; }
  .jerry-stat strong { font-size: 7rem; }
  .process-grid { grid-template-columns: 1fr; }
  .process-step, .process-step:not(:last-child) { border-right: 0; margin-right: 0; padding-right: 0; }
  .page-hero { min-height: 510px; padding-bottom: 3.5rem; }
  .page-hero::after { display: none; }
  .filter-panel { grid-template-columns: 1fr; margin-top: -32px; }
  .filter-count { padding: 0; }
  .product-card { padding: 1.35rem; }
  .product-card details ul { columns: 1; }
  .capability-grid { grid-template-columns: 1fr; }
  .checklist, .principles-grid { grid-template-columns: 1fr; }
  .form-section { padding: 1.25rem; }
  .form-grid, .choice-grid { grid-template-columns: 1fr; }
  .form-actions { padding: 1.25rem; }
  .quote-sidebar { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; padding-top: 3rem; }
  .footer-contact { grid-column: auto; grid-template-columns: 1fr; }
  .footer-bottom__inner { display: block; }
  .footer-bottom__inner span { display: block; margin-top: .35rem; }
  .status-card { padding: 2rem 1.2rem; }
  .footer-brand img { width: 220px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
