/* ============================================================
   PWR Water — Website Design System
   Based on PWR Brand Guidebook v1.0
   Fonts: Bricolage Grotesque / JetBrains Mono / Inter
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,400;12..96,600;12..96,700;12..96,800&family=JetBrains+Mono:wght@300;400;500;700&family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
  --ink:       #0B0E12;
  --ink-2:     #1A1E25;
  --ink-3:     #242932;
  --ink-4:     #2F3540;
  --bone:      #EDEAE2;
  --bone-2:    #F7F5EF;
  --steel:     #6E7682;
  --steel-2:   #9CA3AE;
  --rule:      rgba(237,234,226,0.07);
  --rule-s:    #2A2F38;
  --orange:    #FF6A1F;
  --orange-d:  rgba(255,106,31,0.14);
  --orange-g:  rgba(255,106,31,0.22);
  --teal:      #2BA88E;
  --nav-h:     60px;
  --max-w:     1160px;
  --r:         6px;
  --r-lg:      10px;

  --display:  'Bricolage Grotesque', system-ui, sans-serif;
  --mono:     'JetBrains Mono', 'SF Mono', monospace;
  --body:     'Inter', system-ui, sans-serif;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  background: var(--ink);
  color: var(--bone);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ── Nav ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: rgba(11,14,18,0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--rule-s);
  display: flex;
  align-items: center;
  padding: 0 32px;
  gap: 0;
  z-index: 9000;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: 40px;
  flex-shrink: 0;
  text-decoration: none;
}
.nav-wordmark {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 800;
  color: var(--bone);
  letter-spacing: -0.03em;
}
.nav-wordmark .dot { color: var(--orange); }
.nav-tag {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--steel);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  border-left: 1px solid var(--rule-s);
  padding-left: 10px;
  line-height: 1.3;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
}
.nav-links a {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: var(--steel);
  padding: 6px 12px;
  border-radius: var(--r);
  transition: color 0.15s, background 0.15s;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--bone); background: var(--ink-3); }
.nav-links a.active { color: var(--orange); background: var(--orange-d); }
.nav-cta {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink);
  background: var(--orange);
  padding: 8px 16px;
  border-radius: var(--r);
  transition: opacity 0.15s;
  flex-shrink: 0;
}
.nav-cta:hover { opacity: 0.88; }
.nav-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--bone);
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}

/* ── Page body ── */
.page { padding-top: var(--nav-h); }
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 32px; }

/* ── Section spacing ── */
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.section-lg { padding: 128px 0; }

/* ── Eyebrow ── */
.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--orange);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: '';
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--orange);
  flex-shrink: 0;
}

/* ── Type scale ── */
.h1 {
  font-family: var(--display);
  font-size: clamp(44px, 6vw, 80px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.0;
  color: var(--bone);
}
.h2 {
  font-family: var(--display);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.05;
  color: var(--bone);
}
.h3 {
  font-family: var(--display);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.15;
  color: var(--bone);
}
.lead {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.65;
  color: var(--steel-2);
  max-width: 620px;
}
.body { font-size: 15px; line-height: 1.65; color: var(--steel-2); }

/* ── Accent ── */
.orange { color: var(--orange); }
.teal { color: var(--teal); }
.steel { color: var(--steel); }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 12px 22px;
  border-radius: var(--r);
  border: 1.5px solid;
  cursor: pointer;
  transition: all 0.15s;
  white-space: nowrap;
}
.btn-primary {
  border-color: var(--orange);
  color: var(--ink);
  background: var(--orange);
}
.btn-primary:hover { opacity: 0.88; }
.btn-outline {
  border-color: var(--rule-s);
  color: var(--steel-2);
  background: transparent;
}
.btn-outline:hover { border-color: var(--steel-2); color: var(--bone); background: var(--ink-3); }

/* ── Stats strip ── */
.stats-strip {
  display: grid;
  border-top: 1px solid var(--rule-s);
  border-bottom: 1px solid var(--rule-s);
}
.stats-strip.cols-4 { grid-template-columns: repeat(4, 1fr); }
.stats-strip.cols-3 { grid-template-columns: repeat(3, 1fr); }
.stat-item {
  padding: 32px 28px;
  border-right: 1px solid var(--rule-s);
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: var(--display);
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--bone);
}
.stat-num .unit {
  font-size: 20px;
  font-weight: 600;
  color: var(--steel-2);
  margin-left: 2px;
}
.stat-label {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--steel);
  margin-top: 6px;
}
.stat-sub {
  font-size: 14px;
  color: var(--steel);
  margin-top: 3px;
}

/* ── Cards ── */
.card {
  background: var(--ink-2);
  border: 1px solid var(--rule-s);
  border-radius: var(--r-lg);
  padding: 28px;
  transition: border-color 0.2s;
}
.card:hover { border-color: var(--ink-4); }
.card-accent {
  width: 36px;
  height: 3px;
  background: var(--orange);
  border-radius: 2px;
  margin-bottom: 20px;
}
.card-icon {
  width: 40px;
  height: 40px;
  background: var(--orange-d);
  border-radius: var(--r);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--orange);
  font-size: 20px;
}

/* ── Grid layouts ── */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.grid-2-1 { display: grid; grid-template-columns: 2fr 1fr; gap: 48px; align-items: start; }

/* ── Tag / pill ── */
.tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 3px 8px;
  border-radius: 3px;
  border: 1px solid;
}
.tag-orange { color: var(--orange); border-color: rgba(255,106,31,0.35); background: var(--orange-d); }
.tag-teal { color: var(--teal); border-color: rgba(43,168,142,0.35); background: rgba(43,168,142,0.12); }
.tag-steel { color: var(--steel-2); border-color: var(--rule-s); background: var(--ink-3); }

/* ── Divider ── */
hr { border: none; border-top: 1px solid var(--rule-s); }
.divider { border: none; border-top: 1px solid var(--rule-s); }

/* ── Footer ── */
.footer {
  border-top: 1px solid var(--rule-s);
  padding: 48px 0 36px;
  margin-top: 0;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 48px;
  margin-bottom: 40px;
}
.footer-brand .nav-wordmark { font-size: 20px; }
.footer-tagline {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--steel);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-top: 8px;
}
.footer-links {
  display: flex;
  gap: 48px;
}
.footer-col h4 {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--steel);
  margin-bottom: 14px;
}
.footer-col a {
  display: block;
  font-size: 14px;
  color: var(--steel-2);
  margin-bottom: 8px;
  transition: color 0.15s;
}
.footer-col a:hover { color: var(--bone); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
}
.footer-copy {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--steel);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ── Hero background grid ── */
.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--rule) 1px, transparent 1px),
    linear-gradient(90deg, var(--rule) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}
.hero-fade {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 70% at 20% 50%, rgba(255,106,31,0.06) 0%, transparent 65%),
              linear-gradient(to bottom, transparent 50%, var(--ink) 100%);
  pointer-events: none;
}

/* ── Process steps ── */
.steps { display: flex; flex-direction: column; gap: 0; }
.step {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--rule-s);
}
.step:last-child { border-bottom: none; }
.step-num {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--orange);
  padding-top: 2px;
}
.step-title {
  font-family: var(--display);
  font-size: 18px;
  font-weight: 700;
  color: var(--bone);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.step-body { font-size: 14px; color: var(--steel-2); line-height: 1.65; }

/* ── Data table ── */
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.data-table th {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--steel);
  background: var(--ink-2);
  border-bottom: 1px solid var(--rule-s);
  padding: 12px 16px;
  text-align: left;
}
.data-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--rule);
  color: var(--bone);
  vertical-align: middle;
}
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: var(--ink-3); }

/* ── Result highlight box ── */
.result-box {
  background: var(--ink-2);
  border: 1px solid var(--rule-s);
  border-left: 3px solid var(--orange);
  border-radius: 0 var(--r-lg) var(--r-lg) 0;
  padding: 24px 28px;
}
.result-val {
  font-family: var(--display);
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--orange);
  line-height: 1;
}
.result-label {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--steel);
  margin-top: 6px;
}

/* ── Bio / team card ── */
.bio-card {
  background: var(--ink-2);
  border: 1px solid var(--rule-s);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.bio-photo {
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--ink-3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--steel);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  border-bottom: 1px solid var(--rule-s);
}
.bio-body { padding: 28px; }
.bio-name {
  font-family: var(--display);
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--bone);
  margin-bottom: 4px;
}
.bio-title {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--orange);
  margin-bottom: 16px;
}
.bio-text { font-size: 14px; color: var(--steel-2); line-height: 1.7; }

/* ── Credentials list ── */
.cred-list { list-style: none; margin-top: 20px; }
.cred-list li {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 14px;
  color: var(--steel-2);
  align-items: flex-start;
}
.cred-list li:last-child { border-bottom: none; }
.cred-list li::before {
  content: '→';
  color: var(--orange);
  font-family: var(--mono);
  font-size: 12px;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ── Contact form ── */
.form-group { margin-bottom: 20px; }
.form-label {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--steel-2);
  margin-bottom: 8px;
}
.form-input,
.form-select,
.form-textarea {
  width: 100%;
  background: #1e2229;
  border: 1px solid #3a404d;
  border-radius: var(--r);
  color: var(--bone);
  font-family: var(--body);
  font-size: 15px;
  padding: 12px 14px;
  outline: none;
  transition: border-color 0.15s;
  appearance: none;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus { border-color: var(--orange); outline: none; box-shadow: 0 0 0 3px rgba(255,106,31,0.12); }
.form-input::placeholder,
.form-textarea::placeholder { color: var(--steel-2); opacity: 0.7; }
.form-textarea { min-height: 140px; resize: vertical; }

/* ── Contact info block ── */
.contact-block {
  background: var(--ink-2);
  border: 1px solid var(--rule-s);
  border-radius: var(--r-lg);
  padding: 32px;
}
.contact-block h3 {
  font-family: var(--display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 24px;
}
.contact-row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px solid var(--rule);
}
.contact-row:last-child { border-bottom: none; }
.contact-icon {
  width: 32px;
  height: 32px;
  background: var(--orange-d);
  border-radius: var(--r);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
  flex-shrink: 0;
  font-size: 14px;
}
.contact-label {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--steel);
  margin-bottom: 4px;
}
.contact-value { font-size: 15px; color: var(--bone); }
.contact-value a { color: var(--bone); transition: color 0.15s; }
.contact-value a:hover { color: var(--orange); }

/* ── Responsive ── */
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .grid-2-1 { grid-template-columns: 1fr; }
  .stats-strip.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .stats-strip.cols-3 { grid-template-columns: repeat(2, 1fr); }
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-menu-btn { display: block; }
  .footer-top { flex-direction: column; gap: 32px; }
  .footer-links { flex-direction: column; gap: 24px; }
  .h1 { font-size: clamp(36px, 9vw, 60px); }
  .container { padding: 0 20px; }
  .section { padding: 64px 0; }
}
@media (max-width: 560px) {
  .stats-strip.cols-4,
  .stats-strip.cols-3 { grid-template-columns: 1fr 1fr; }
  .stat-num { font-size: 32px; }
}
