:root{color-scheme:light;--ink:#192722;--green:#174839;--paper:#fcfdfb;--line:#d8e0db;--gold:#f2c672;--muted:#4b5d55}
*{box-sizing:border-box}
[hidden]{display:none!important}
html{scroll-behavior:smooth}
body{margin:0;background:var(--paper);color:var(--ink);font:16px/1.55 system-ui,sans-serif}
a{color:inherit;text-decoration:none}
button,input,select,textarea{font:inherit}
button{cursor:pointer}
:focus-visible{outline:3px solid #96732b;outline-offset:4px}
.header{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:12px max(24px,calc((100% - 1160px)/2));background:#fff;border-bottom:1px solid var(--line)}
.brand{display:flex;align-items:center;gap:11px;font-weight:800;line-height:1.15}
.mark{display:grid;place-items:center;width:40px;height:40px;flex:none;border:1px solid var(--green);color:var(--green);font:700 26px Georgia,serif}
.brand small{display:block;margin-top:3px;font-weight:600;color:var(--muted)}
nav{display:flex;flex-wrap:wrap;gap:8px 22px;font-weight:650;font-size:14px}
nav a:hover,.footer a:hover{text-decoration:underline}
.wrap{width:min(1160px,calc(100% - 48px));margin-inline:auto}
.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  background: #233b31;
  color: white;
}
.hero-photo, .hero-content, .photo-note { grid-area: 1 / 1; }
.hero-photo { display: block; width: 100%; height: auto; }
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #101e18b8, #101e1870 32%, transparent 62%);
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 1;
  align-self: center;
  padding-block: 24px;
}
.hero h1 { font-size: clamp(42px, 4.7vw, 66px); max-width: 48%; }
.hero .lead { max-width: min(465px, 46%); }
.eyebrow{margin:0 0 8px;font-size:14px;font-weight:800;color:var(--green)}
.hero .eyebrow{color:var(--gold)}
h1,h2,h3,p{margin-top:0}
h1,h2{font-family:Georgia,serif;line-height:1.06}
h1{font-size:66px;max-width:650px;margin-bottom:20px}
h2{font-size:40px;margin-bottom:25px}
h3{font-size:21px;margin-bottom:8px}
.lead{max-width:465px;font-size:19px;margin-bottom:24px}
.photo-note {
  z-index: 1;
  align-self: end;
  justify-self: end;
  margin: 0 16px 10px;
  font-size: 12px;
  background: #15261e;
  color: #fff;
  padding: 2px 7px;
}
.button{display:inline-flex;align-items:center;justify-content:center;gap:12px;border:1px solid transparent;border-radius:5px;padding:11px 17px;font-weight:750;min-height:46px}
.primary{color:#182820;background:var(--gold)}
.primary:hover{background:#ffda91}
.outline{background:#fff;border-color:var(--green);color:var(--green)}
.section{padding-block:56px}
.grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.solution{display:flex;flex-direction:column;align-items:flex-start;padding:22px;border:1px solid var(--line);border-top:3px solid var(--green);border-radius:5px;background:#fff}
.solution p,details p{color:var(--muted)}
.number{font-weight:800;color:var(--green);margin-bottom:16px}
.detail{background:none;border:0;padding:5px 0;margin-top:auto;color:var(--green);font-weight:750;text-align:left}
.detail:hover{text-decoration:underline}
.band{background:#eaf0ec}
.quote{display:grid;grid-template-columns:1fr 1fr;gap:30px}
form label{display:grid;gap:5px;font-weight:650;margin-bottom:12px}
input,select,textarea{width:100%;background:#fff;border:1px solid #809487;border-radius:4px;padding:9px;color:var(--ink)}
textarea{resize:vertical}
#quote-result{margin-top:16px}
details{border-top:1px solid var(--line);padding:13px 0}
details:last-child{border-bottom:1px solid var(--line)}
summary{cursor:pointer;font-weight:750}
details p{margin:10px 0 0}
.footer{display:flex;justify-content:space-between;gap:14px;flex-wrap:wrap;padding-block:20px;border-top:1px solid var(--line)}
dialog{width:min(570px,calc(100% - 32px));padding:24px;border:1px solid var(--line);border-radius:8px;color:var(--ink)}
dialog::backdrop{background:#11241dbb}
.dialog-head{display:flex;justify-content:space-between;align-items:start;gap:14px}
.dialog-head h2{font-size:32px}
.close{border:1px solid var(--line);border-radius:4px;background:#fff;width:40px;height:40px;font-size:23px}
#tank-options{margin-bottom:18px}
#tank-options label{display:block;font-weight:700;margin-bottom:4px}
#tank-details{margin:10px 0;color:var(--muted)}
@media(min-width:701px) and (max-width:940px){.grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){
  .header{align-items:flex-start;flex-direction:column;gap:12px;padding-inline:16px}
  .wrap{width:calc(100% - 32px)}
  .hero-content{grid-area:2 / 1;padding-block:28px}
  .hero::after{display:none}
  .hero h1{font-size:44px;max-width:480px}
  .hero .lead{max-width:465px}
  h2{font-size:32px}
  .grid,.quote{grid-template-columns:1fr}
  .section{padding-block:40px}
}
@media(max-width:360px){.hero h1{font-size:37px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

.hero-actions, .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.hero-actions { max-width: 45%; }
.tags { padding: 0; list-style: none; }
.tags li {
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
}
.project-gallery figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #fff;
}
.project-gallery img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
}
.project-gallery figcaption { padding: 10px 14px; font-weight: 650; }
#tank-image { display: block; width: 100%; max-height: 220px; object-fit: contain; margin-top: 12px; }
#tank-specs { margin-bottom: 12px; }
#tank-specs dl { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px; }
#tank-specs dd { margin: 0; text-align: right; }
@media (min-width: 941px) { .three-columns { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 700px) { .hero-actions { max-width: none; } }
