/* Flow Engineering homepage direction — red / black / white, layered over shared site styles */
:root{
  --flow-red:#E7161D;
  --flow-red-deep:#A10F16;
  --flow-red-light:#FF6B64;
  --flow-black:#12100F;
  --flow-charcoal:#2A2624;
  --flow-ice:#F7F5F2;
}

body[data-page="index.html"]{background:#fff;color:#171313;}
body[data-page="index.html"] .site-header{background:rgba(255,255,255,.97);border-bottom:1px solid #e7e2de;box-shadow:0 10px 30px rgba(0,0,0,.08);}
body[data-page="index.html"] .site-header .container{min-height:96px;max-width:1500px;padding-left:34px;padding-right:34px;}
body[data-page="index.html"] .brand-logo{height:68px;max-width:330px;object-fit:contain;}
body[data-page="index.html"] nav.primary-nav{gap:25px;}
body[data-page="index.html"] nav.primary-nav a{font-size:13px;color:#3a3230;text-transform:none;letter-spacing:0;font-weight:700;}
body[data-page="index.html"] nav.primary-nav a:hover,body[data-page="index.html"] nav.primary-nav a.active{color:var(--flow-red);}
body[data-page="index.html"] nav.primary-nav a.active::after{background:var(--flow-red);}
body[data-page="index.html"] .header-cta{background:linear-gradient(135deg,var(--flow-red),var(--flow-red-deep));padding:14px 22px;border-radius:5px;box-shadow:0 8px 20px rgba(231,22,29,.28);}

.home-hero{position:relative;min-height:690px;padding:0!important;background:var(--flow-black);overflow:hidden;display:flex;align-items:stretch;}
.home-hero-media{position:absolute;inset:0;}
.home-hero-media img{width:100%;height:100%;object-fit:cover;object-position:center 52%;}
.home-hero-media::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(10,8,7,.96) 0%,rgba(10,8,7,.88) 37%,rgba(10,8,7,.48) 64%,rgba(10,8,7,.18) 100%),linear-gradient(0deg,rgba(8,6,5,.25),rgba(8,6,5,.05));}
.home-hero .container{position:relative;z-index:2;width:100%;max-width:1500px;display:flex;align-items:center;padding-top:76px;padding-bottom:92px;}
.home-hero-copy{max-width:800px;color:#fff;}
.home-kicker{font-size:13px;font-weight:800;letter-spacing:.14em;text-transform:uppercase;color:#fff;opacity:.85;margin-bottom:18px;display:flex;align-items:center;gap:12px;}
.home-kicker::before{content:"";width:38px;height:2px;background:var(--flow-red);}
.home-hero h1{font-size:clamp(48px,6.2vw,88px);line-height:.98;letter-spacing:-.045em;text-transform:uppercase;color:#fff;margin:0 0 22px;max-width:16ch;}
.home-hero .subhead{font-size:clamp(18px,2vw,25px);line-height:1.4;max-width:720px;color:#f3efec;margin-bottom:32px;}
.home-hero-actions{display:flex;gap:14px;flex-wrap:wrap;}
.home-hero .btn{font-size:14px;text-transform:none;letter-spacing:0;border-radius:4px;padding:15px 22px;}
.home-hero .btn-primary{background:linear-gradient(135deg,var(--flow-red),var(--flow-red-deep));border-color:var(--flow-red);box-shadow:0 12px 28px rgba(161,15,22,.35);}
.home-hero .btn-ghost{border-color:rgba(255,255,255,.75);color:#fff;background:rgba(20,16,15,.18);backdrop-filter:blur(3px);}
.home-hero .btn-ghost:hover{background:rgba(255,255,255,.1);border-color:#fff;}
.home-hero-credit{position:absolute;right:34px;bottom:24px;z-index:3;color:rgba(255,255,255,.78);font-size:12px;background:rgba(10,8,7,.52);padding:7px 10px;border-radius:3px;}

.home-proof{padding:0!important;background:#fff;border-bottom:1px solid #e7e2de;}
.home-proof-grid{max-width:1500px;margin:0 auto;display:grid;grid-template-columns:repeat(4,1fr);}
.home-proof-item{padding:26px 32px;border-right:1px solid #ece7e3;display:grid;grid-template-columns:44px 1fr;gap:14px;align-items:center;}
.home-proof-item:last-child{border-right:0;}
.home-proof-icon{width:42px;height:42px;border:2px solid var(--flow-red);border-radius:50%;display:grid;place-items:center;font-weight:900;color:var(--flow-red);font-size:17px;}
.home-proof-item strong{display:block;color:var(--flow-black);font-size:15px;margin-bottom:3px;}
.home-proof-item span{display:block;color:#6b625d;font-size:13px;line-height:1.35;}

.home-section{padding:88px 0;background:#fff;}
.home-section.alt{background:var(--flow-ice);}
.home-section.dark{background:linear-gradient(135deg,var(--flow-black),var(--flow-charcoal));color:#fff;}
.home-section .container{max-width:1360px;}
.home-eyebrow{font-size:12px;text-transform:uppercase;letter-spacing:.14em;font-weight:800;color:var(--flow-red);margin-bottom:12px;}
.home-section.dark .home-eyebrow{color:var(--flow-red-light);}
.home-section h2{font-size:clamp(34px,4vw,52px);line-height:1.06;letter-spacing:-.035em;max-width:760px;color:var(--flow-black);margin-bottom:18px;}
.home-section.dark h2{color:#fff;}
.home-intro{font-size:18px;max-width:780px;color:#5c534f;margin-bottom:38px;}
.home-section.dark .home-intro{color:#d9d3cf;}

.home-offerings{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;}
.home-card{background:#fff;border:1px solid #e5dfda;border-radius:8px;padding:28px;box-shadow:0 12px 32px rgba(20,16,15,.07);min-height:245px;display:flex;flex-direction:column;}
.home-card .number{font-size:12px;font-weight:800;color:var(--flow-red);letter-spacing:.12em;margin-bottom:22px;}
.home-card h3{font-size:22px;color:var(--flow-black);margin-bottom:10px;}
.home-card p{font-size:14px;color:#6b625d;flex:1;}
.home-card a{font-weight:800;color:var(--flow-red);font-size:14px;}

.pricing-callout{display:grid;grid-template-columns:1.05fr .95fr;gap:42px;align-items:center;}
.pricing-panel{background:#fff;color:var(--flow-black);border-radius:10px;padding:30px;box-shadow:0 22px 55px rgba(0,0,0,.25);}
.pricing-panel-top{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;border-bottom:1px solid #ece7e3;padding-bottom:18px;margin-bottom:18px;}
.pricing-panel .label{font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:#7a716c;font-weight:800;}
.pricing-panel .product{font-size:23px;font-weight:800;margin-top:5px;}
.pricing-panel .price{font-size:34px;font-weight:900;color:var(--flow-red);white-space:nowrap;}
.pricing-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;}
.pricing-step{background:var(--flow-ice);border:1px solid #e5dfda;border-radius:6px;padding:14px;font-size:13px;color:#5c534f;}
.pricing-step strong{display:block;color:var(--flow-black);margin-bottom:3px;}

.home-project{display:grid;grid-template-columns:1.15fr .85fr;gap:0;background:var(--flow-black);border-radius:10px;overflow:hidden;box-shadow:0 22px 50px rgba(0,0,0,.28);}
.home-project-image{min-height:430px;}
.home-project-image img{width:100%;height:100%;object-fit:cover;}
.home-project-copy{padding:48px;color:#fff;display:flex;flex-direction:column;justify-content:center;}
.home-project-copy h3{font-size:34px;line-height:1.08;color:#fff;margin:8px 0 16px;}
.home-project-copy p{color:#d9d3cf;}
.home-project-copy .meta{font-size:12px;letter-spacing:.1em;text-transform:uppercase;color:var(--flow-red-light);font-weight:800;}

.home-cta{padding:78px 0;background:#fff;text-align:center;}
.home-cta h2{font-size:clamp(34px,4vw,54px);color:var(--flow-black);margin-bottom:14px;}
.home-cta p{max-width:650px;margin:0 auto 26px;color:#6b625d;font-size:18px;}
.home-cta-actions{display:flex;justify-content:center;gap:14px;flex-wrap:wrap;}
.home-cta .btn-primary{background:linear-gradient(135deg,var(--flow-red),var(--flow-red-deep));}

@media(max-width:1100px){
  body[data-page="index.html"] .brand-logo{height:58px;max-width:270px;}
  .home-proof-grid{grid-template-columns:repeat(2,1fr);}
  .home-proof-item:nth-child(2){border-right:0;}
  .home-offerings{grid-template-columns:1fr 1fr;}
  .pricing-callout,.home-project{grid-template-columns:1fr;}
}
@media(max-width:760px){
  body[data-page="index.html"] .site-header .container{min-height:78px;padding-left:18px;padding-right:18px;}
  body[data-page="index.html"] .brand-logo{height:51px;max-width:235px;}
  .home-hero{min-height:610px;}
  .home-hero .container{padding:74px 22px 80px;align-items:flex-end;}
  .home-hero-media img{object-position:62% center;}
  .home-hero-media::after{background:linear-gradient(90deg,rgba(10,8,7,.95),rgba(10,8,7,.68)),linear-gradient(0deg,rgba(8,6,5,.45),rgba(8,6,5,.1));}
  .home-hero h1{font-size:clamp(43px,14vw,64px);}
  .home-hero-credit{right:18px;left:18px;bottom:14px;text-align:right;}
  .home-proof-grid{grid-template-columns:1fr;}
  .home-proof-item{border-right:0;border-bottom:1px solid #ece7e3;padding:20px 22px;}
  .home-offerings{grid-template-columns:1fr;}
  .home-section{padding:68px 0;}
  .home-section .container{padding-left:22px;padding-right:22px;}
  .pricing-steps{grid-template-columns:1fr;}
  .home-project-copy{padding:32px 24px;}
  .home-project-image{min-height:300px;}
}

/* Andrew Rider original Northwest photography, September 2026. */
.northwest-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin:32px 0 20px;}
.northwest-photo{margin:0;min-width:0;background:var(--flow-black);overflow:hidden;border-radius:4px;}
.northwest-photo img{display:block;width:100%;height:auto;aspect-ratio:16/10;object-fit:cover;object-position:center 60%;}
.northwest-photo:last-child img{object-position:center 66%;}
.northwest-photo figcaption{padding:17px 20px;color:#fff;font-weight:600;font-size:16px;}
.northwest-credit{font-size:13px;color:#536a79;margin:0 0 24px;}
@media(max-width:760px){.northwest-grid{grid-template-columns:1fr;gap:20px;}.northwest-photo figcaption{padding:15px 18px;}}

@media(max-width:760px){.pricing-callout>*{min-width:0;}.pricing-panel-top{flex-wrap:wrap;}.footer-grid{grid-template-columns:1fr;}.footer-grid>*{min-width:0;overflow-wrap:anywhere;}}

/* Keep the vessel and loading equipment visible in the original-photo hero. */
.home-hero-media img{object-position:center 58%;}
@media(max-width:760px){.home-hero-media img{object-position:65% center;}}
@media(min-width:1311px) and (max-width:1480px){body[data-page="index.html"] nav.primary-nav{gap:18px;}body[data-page="index.html"] .header-cta{padding:12px 16px;}}
