/* G-CLINT INCORPORATED — site styles */
:root {
  --navy-900: #071829;
  --navy-800: #0b2238;
  --navy-700: #12324f;
  --steel-600: #1f5582;
  --steel-300: #9cc3e6;
  --accent: #e4571b;
  --accent-dark: #c4440f;
  --ink: #17222e;
  --muted: #586675;
  --line: #dde3ea;
  --bg: #f3f5f8;
  --white: #fff;
  --radius: 6px;
  --shadow: 0 10px 30px rgba(7, 24, 41, .10);
  --font-head: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  --font-body: "Barlow", "Segoe UI", Helvetica, Arial, sans-serif;
  --wrap: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
}
img, svg { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--steel-600); }
a:hover { color: var(--accent); }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: .01em;
  text-transform: uppercase;
  margin: 0 0 .5em;
  color: var(--navy-800);
}
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.5rem; }
p { margin: 0 0 1.1em; }
ul { margin: 0; padding: 0; list-style: none; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }
.section--grey { background: var(--bg); }
.section--navy { background: var(--navy-800); color: #d6e0ea; }
.section--navy h2, .section--navy h3 { color: var(--white); }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 62ch; }
.section--navy .lead { color: #b5c5d5; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-weight: 600; font-size: 1rem;
  letter-spacing: .16em; text-transform: uppercase; color: var(--accent);
  margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 34px; height: 3px; background: var(--accent); }
.section-head { margin-bottom: 48px; }
.section-head--split { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 999; background: var(--white); padding: 10px 16px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-head); font-weight: 600; font-size: 1.1rem;
  letter-spacing: .08em; text-transform: uppercase; text-decoration: none;
  padding: 14px 28px; border-radius: var(--radius); border: 2px solid transparent;
  cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--accent); color: var(--white); }
.btn--primary:hover { background: var(--accent-dark); color: var(--white); }
.btn--ghost { border-color: rgba(255,255,255,.55); color: var(--white); }
.btn--ghost:hover { background: var(--white); color: var(--navy-800); border-color: var(--white); }
.btn--outline { border-color: var(--navy-800); color: var(--navy-800); }
.btn--outline:hover { background: var(--navy-800); color: var(--white); }
.btn svg { width: 18px; height: 18px; }

/* Top bar + header */
.topbar { background: var(--navy-900); color: #a9bccd; font-size: .88rem; }
.topbar .wrap { display: flex; justify-content: space-between; gap: 20px; padding-top: 9px; padding-bottom: 9px; }
.topbar a { color: #dbe6f0; text-decoration: none; }
.topbar a:hover { color: var(--accent); }
.topbar__right { display: flex; gap: 24px; }
.topbar span, .topbar a { display: inline-flex; align-items: center; gap: 7px; }
.topbar svg { width: 14px; height: 14px; flex: none; }

.header { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 1px solid var(--line); transition: box-shadow .2s; }
.header.is-stuck { box-shadow: 0 6px 24px rgba(7,24,41,.10); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 78px; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy-800); }
.logo svg { width: 44px; height: 44px; flex: none; }
.logo__text { display: flex; flex-direction: column; line-height: 1; }
.logo__name { font-family: var(--font-head); font-weight: 700; font-size: 1.85rem; letter-spacing: .04em; }
.logo__sub { font-family: var(--font-head); font-weight: 500; font-size: .74rem; letter-spacing: .42em; color: var(--muted); margin-top: 3px; }
.nav { display: flex; align-items: center; gap: 34px; }
.nav ul { display: flex; gap: 30px; }
.nav a:not(.btn) {
  font-family: var(--font-head); font-weight: 600; font-size: 1.1rem; letter-spacing: .08em;
  text-transform: uppercase; text-decoration: none; color: var(--navy-800);
  padding: 8px 0; border-bottom: 3px solid transparent;
}
.nav a:not(.btn):hover, .nav a[aria-current="page"] { border-bottom-color: var(--accent); color: var(--navy-800); }
.nav .btn { padding: 11px 22px; font-size: 1rem; }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 26px; height: 3px; background: var(--navy-800); margin: 5px 0; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Hero */
.hero {
  position: relative; color: var(--white);
  background:
    linear-gradient(100deg, rgba(7,24,41,.96) 0%, rgba(7,24,41,.84) 42%, rgba(7,24,41,.38) 100%),
    url("../img/hero-pipeline.jpg") center/cover no-repeat var(--navy-800);
}
.hero .wrap { padding-top: 110px; padding-bottom: 170px; }
.hero h1 { color: var(--white); max-width: 14ch; margin-bottom: 22px; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero p { font-size: 1.2rem; max-width: 56ch; color: #cfdbe7; margin-bottom: 34px; }
.hero .eyebrow { color: #f3a27c; }
.hero .eyebrow::before { background: var(--accent); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

.stats { position: relative; z-index: 2; margin-top: -84px; }
.stats__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow);
  border-top: 4px solid var(--accent); overflow: hidden;
}
.stat { padding: 30px 28px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat__num { font-family: var(--font-head); font-weight: 700; font-size: 3rem; line-height: 1; color: var(--navy-800); }
.stat__num small { font-size: 1.3rem; font-weight: 600; margin-left: 4px; color: var(--accent); letter-spacing: .06em; text-transform: uppercase; }
.stat__label { color: var(--muted); font-size: .98rem; margin-top: 8px; line-height: 1.4; }

/* Page hero (inner pages) */
.page-hero {
  color: var(--white); background-color: var(--navy-800);
  background-image:
    linear-gradient(rgba(156,195,230,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(156,195,230,.07) 1px, transparent 1px),
    linear-gradient(120deg, var(--navy-900), var(--navy-700));
  background-size: 32px 32px, 32px 32px, cover;
  border-bottom: 4px solid var(--accent);
}
.page-hero .wrap { padding-top: 70px; padding-bottom: 64px; }
.page-hero h1 { color: var(--white); font-size: clamp(2.4rem, 5vw, 3.8rem); margin-bottom: 12px; }
.page-hero p { color: #c3d1de; max-width: 62ch; font-size: 1.12rem; margin: 0; }
.crumbs { font-family: var(--font-head); letter-spacing: .12em; text-transform: uppercase; font-size: .95rem; color: #8fa6bb; margin-bottom: 16px; }
.crumbs a { color: #f3a27c; text-decoration: none; }

/* Category / product cards */
.grid { display: grid; gap: 26px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.card__media {
  aspect-ratio: 4 / 3; background: var(--white); border-bottom: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center; padding: 22px; overflow: hidden; position: relative;
}
.card__media img { width: auto; height: auto; max-width: 100%; max-height: 100%; transition: transform .4s; }
.card:hover .card__media img { transform: scale(1.05); }
.card__media--cover { padding: 0; }
.card__media--cover img { width: 100%; height: 100%; max-width: none; max-height: none; object-fit: cover; }
.card__media--draw { padding: 0; background: var(--navy-800); }
.card__media--draw svg { width: 100%; height: 100%; }
.card__tag {
  position: absolute; left: 14px; top: 14px; z-index: 1;
  font-family: var(--font-head); font-weight: 600; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase;
  background: var(--navy-800); color: var(--white); padding: 4px 10px; border-radius: 3px;
}
.card__media--draw .card__tag { background: var(--accent); }
.card__body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.card__body h3 { margin-bottom: 8px; }
.card__body p { color: var(--muted); font-size: .98rem; }
.card__specs { margin: 0 0 18px; font-size: .92rem; color: var(--ink); }
.card__specs li { padding: 6px 0 6px 18px; border-top: 1px dashed var(--line); position: relative; }
.card__specs li::before { content: ""; position: absolute; left: 0; top: 15px; width: 7px; height: 7px; background: var(--accent); }
.card__link {
  margin-top: auto; font-family: var(--font-head); font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  text-decoration: none; color: var(--navy-800); display: inline-flex; align-items: center; gap: 8px;
}
.card__link::after { content: "→"; transition: transform .2s; color: var(--accent); }
.card__link:hover::after { transform: translateX(5px); }

/* Filters */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.filter {
  font-family: var(--font-head); font-weight: 600; font-size: 1.02rem; letter-spacing: .08em; text-transform: uppercase;
  padding: 9px 20px; border-radius: 999px; border: 2px solid var(--line); background: var(--white); color: var(--navy-800); cursor: pointer;
  transition: all .2s;
}
.filter:hover { border-color: var(--navy-800); }
.filter.is-active { background: var(--navy-800); border-color: var(--navy-800); color: var(--white); }
.filter span { opacity: .6; margin-left: 4px; font-weight: 500; }
[hidden] { display: none !important; }

/* Split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split__media { position: relative; }
.split__media img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }
.split__media::before {
  content: ""; position: absolute; inset: 22px -22px -22px 22px; border: 3px solid var(--accent); border-radius: var(--radius); z-index: -1;
}
.split__media { z-index: 0; }
.media-stack { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.media-stack img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); aspect-ratio: 1; }
.media-stack img:first-child { grid-column: 1 / -1; aspect-ratio: 3 / 2; }

.ticks li { position: relative; padding: 9px 0 9px 34px; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 13px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/20px no-repeat;
}

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: step; border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); }
.step { padding: 34px 28px; border-right: 1px solid rgba(255,255,255,.14); counter-increment: step; }
.step:last-child { border-right: 0; }
.step::before {
  content: "0" counter(step); display: block; font-family: var(--font-head); font-weight: 700; font-size: 3.2rem; line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px var(--accent); margin-bottom: 18px;
}
.step p { margin: 0; color: #b5c5d5; font-size: .98rem; }

/* Feature tiles */
.feature { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px; border-top: 4px solid var(--navy-800); }
.feature:hover { border-top-color: var(--accent); }
.feature__icon { width: 52px; height: 52px; color: var(--accent); margin-bottom: 18px; }
.feature__big { font-family: var(--font-head); font-weight: 700; font-size: 3.4rem; line-height: 1; color: var(--accent); margin-bottom: 10px; }
.feature p { color: var(--muted); margin: 0; font-size: .98rem; }

/* CTA band */
.band {
  color: var(--white); text-align: center;
  background: linear-gradient(rgba(7,24,41,.88), rgba(7,24,41,.88)), url("../img/band-pipeline.jpg") center/cover no-repeat var(--navy-800);
}
.band .wrap { padding-top: 90px; padding-bottom: 90px; }
.band h2 { color: var(--white); max-width: 20ch; margin-left: auto; margin-right: auto; }
.band p { color: #c3d1de; max-width: 56ch; margin: 0 auto 30px; font-size: 1.12rem; }
.band .btn-row { justify-content: center; }

/* Locations */
.loc { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.loc h3 { display: flex; align-items: center; gap: 10px; }
.loc h3 svg { width: 22px; height: 22px; color: var(--accent); }
.loc p { margin: 0; color: var(--muted); }

/* Contact */
.contact { display: grid; grid-template-columns: 5fr 7fr; gap: 48px; align-items: start; }
.contact-list li { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.contact-list svg { width: 26px; height: 26px; color: var(--accent); flex: none; margin-top: 3px; }
.contact-list strong { display: block; font-family: var(--font-head); font-size: 1.1rem; letter-spacing: .1em; text-transform: uppercase; color: var(--navy-800); }
.contact-list a { text-decoration: none; }
.form { background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--accent); border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-family: var(--font-head); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; font-size: .98rem; margin-bottom: 6px; color: var(--navy-800); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--bg);
  border: 1px solid var(--line); border-radius: 4px; padding: 12px 14px;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--steel-600); outline-offset: 1px; background: var(--white); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__note { font-size: .9rem; color: var(--muted); margin: 14px 0 0; }
.alert { padding: 14px 18px; border-radius: 4px; margin-bottom: 20px; font-weight: 500; }
.alert--ok { background: #e7f6ec; color: #17603a; border: 1px solid #b5dfc4; }
.alert--err { background: #fdecea; color: #96281b; border: 1px solid #f3c1bb; }

/* Footer */
.footer { background: var(--navy-900); color: #9fb2c4; font-size: .98rem; }
.footer .wrap { padding-top: 70px; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr 1.3fr; gap: 44px; padding-bottom: 54px; }
.footer .logo { color: var(--white); margin-bottom: 18px; }
.footer .logo__sub { color: #8fa6bb; }
.footer h4 { color: var(--white); font-size: 1.15rem; letter-spacing: .14em; margin-bottom: 18px; }
.footer a { color: #c8d5e1; text-decoration: none; }
.footer a:hover { color: var(--accent); }
.footer li { padding: 5px 0; }
.footer__contact li { display: flex; gap: 10px; }
.footer__contact svg { width: 17px; height: 17px; flex: none; margin-top: 5px; color: var(--accent); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .88rem; color: #7f94a8; }

/* Reveal */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* Responsive */
@media (max-width: 1020px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .stats__grid, .steps { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2), .step:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .step:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.14); }
  .split, .contact { grid-template-columns: 1fr; gap: 44px; }
  .split__media::before { inset: 14px -10px -14px 14px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }

  .nav-toggle { display: block; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%; background: var(--white);
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 24px;
    border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px rgba(7,24,41,.12);
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav ul { flex-direction: column; gap: 0; margin-bottom: 16px; }
  .nav a:not(.btn) { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .section { padding: 60px 0; }
  .topbar__left { display: none; }
  .topbar .wrap { justify-content: center; }
  .topbar__right { gap: 16px; flex-wrap: wrap; justify-content: center; }
  .hero .wrap { padding-top: 70px; padding-bottom: 130px; }
  .grid--4, .grid--3, .grid--2, .form__row, .footer__grid { grid-template-columns: 1fr; }
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .stat { padding: 22px 16px; }
  .stat__num { font-size: 2.3rem; }
  .steps { grid-template-columns: 1fr; }
  .step { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.14); }
  .step:last-child { border-bottom: 0; }
  .form { padding: 24px 18px; }
  .logo__name { font-size: 1.55rem; }
  .logo svg { width: 38px; height: 38px; }
}
