/* =====================================================================
   NORDIC — Premium Water Tanks
   Design system: Nordic minimalist, light, calm, nature-oriented
   ===================================================================== */

:root {
  /* Palette */
  --ink:        #14262f;   /* deep glacial charcoal-blue (primary text) */
  --deep:       #1d3d4a;   /* deep water */
  --slate:      #4d6570;   /* muted text */
  --mist:       #8aa2ab;   /* faint text / captions */
  --glacier:    #5f9bb0;   /* accent — glacier blue */
  --glacier-dk: #3f7d92;
  --ice:        #e9f1f3;   /* light surface */
  --ice-soft:   #f2f7f8;
  --paper:      #fbfcfc;   /* page background */
  --white:      #ffffff;
  --sand:       #cabfa8;   /* subtle warm accent */
  --line:       #dde7ea;   /* hairlines */

  /* Type */
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  /* Rhythm */
  --wrap: 1200px;
  --gutter: clamp(20px, 5vw, 64px);
  --radius: 4px;
  --shadow: 0 24px 60px -30px rgba(20, 38, 47, 0.35);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  font-size: 17px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; line-height: 1.08; letter-spacing: -0.01em; margin: 0; color: var(--ink); }
p { margin: 0 0 1em; }

/* ---------- utilities ---------- */
.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }
.narrow { max-width: 760px; }
.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--glacier-dk);
  font-weight: 600;
  margin: 0 0 18px;
}
.section { padding-block: clamp(64px, 9vw, 128px); }
.section--tight { padding-block: clamp(48px, 6vw, 88px); }
.center { text-align: center; }
.lead { font-size: clamp(18px, 2.1vw, 22px); color: var(--slate); line-height: 1.6; }
.muted { color: var(--slate); }

h1.display { font-size: clamp(40px, 7vw, 84px); letter-spacing: -0.02em; }
h2.title   { font-size: clamp(30px, 4.4vw, 52px); }
h3.sub     { font-size: clamp(21px, 2.4vw, 27px); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--sans); font-size: 15px; font-weight: 500; letter-spacing: 0.01em;
  padding: 15px 30px; border-radius: 100px; border: 1px solid transparent;
  cursor: pointer; transition: all .25s ease; white-space: nowrap;
}
.btn--primary { background: var(--ink); color: var(--white); }
.btn--primary:hover { background: var(--deep); transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--light { background: var(--white); color: var(--ink); }
.btn--light:hover { background: var(--ice); }
.btn--onwater { background: rgba(255,255,255,.92); color: var(--ink); backdrop-filter: blur(6px); }
.btn--onwater:hover { background: #fff; }
.btn .arrow { transition: transform .25s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 252, 252, 0.78);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, background .3s ease;
}
.site-header.scrolled { border-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; flex-direction: column; line-height: 1; }
.brand__mark { font-family: var(--serif); font-size: 22px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink); }
.brand__sub  { font-size: 9.5px; letter-spacing: 0.34em; text-transform: uppercase; color: var(--mist); margin-top: 5px; }
.nav__links { display: flex; align-items: center; gap: 34px; }
.nav__links a { font-size: 15px; color: var(--slate); transition: color .2s ease; }
.nav__links a:hover, .nav__links a.active { color: var(--ink); }
.nav__cta { margin-left: 8px; }
.nav__toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav__toggle span { display: block; width: 24px; height: 1.5px; background: var(--ink); margin: 5px 0; transition: .3s; }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 92vh; display: flex; align-items: center;
  color: var(--white); overflow: hidden; background: #123241;
}
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg::after { content:""; position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(15,32,40,.55) 0%, rgba(15,32,40,.35) 40%, rgba(15,32,40,.62) 100%); }
.hero__inner { padding-block: 140px 90px; max-width: 860px; position: relative; z-index: 2; }
.hero h1 { color: var(--white); }
.hero .lead { color: rgba(255,255,255,.9); max-width: 620px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero__scroll { position: absolute; z-index: 2; bottom: 30px; left: 50%; transform: translateX(-50%);
  font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: rgba(255,255,255,.75); }

/* water gradient placeholder backgrounds (replace with real photos) */
.ph { background-size: cover; background-position: center; position: relative; }
.ph-hero  { background:
    radial-gradient(120% 80% at 20% 0%, #2f6b80 0%, rgba(47,107,128,0) 55%),
    radial-gradient(120% 90% at 90% 20%, #3d8199 0%, rgba(61,129,153,0) 50%),
    linear-gradient(160deg, #123241 0%, #1c4a5c 45%, #2b6076 100%); }
.ph-water { background: linear-gradient(150deg, #dcecef 0%, #b9d7de 55%, #9cc4ce 100%); }
.ph-forest{ background: linear-gradient(160deg, #26424a 0%, #33565a 60%, #4a6f66 100%); }
.ph-ice   { background: linear-gradient(150deg, #eef5f6 0%, #d5e7ea 100%); }
.ph-tank  { background: linear-gradient(155deg, #1d3d4a 0%, #2e5f72 100%); }
.ph-label { position: absolute; bottom: 12px; right: 14px; font-size: 10px; letter-spacing: .14em;
  text-transform: uppercase; color: rgba(255,255,255,.55); font-family: var(--sans); }
.ph-label--dark { color: rgba(20,38,47,.4); }

/* ---------- stats bar ---------- */
.stats { border-block: 1px solid var(--line); background: var(--white); }
.stats__grid { display: grid; grid-template-columns: repeat(5, 1fr); }
.stat { padding: 40px 24px; text-align: center; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat__num { font-family: var(--serif); font-size: clamp(28px, 3.4vw, 40px); color: var(--ink); line-height: 1; }
.stat__num small { font-size: .5em; color: var(--glacier-dk); }
.stat__label { font-size: 12.5px; letter-spacing: .06em; color: var(--slate); margin-top: 10px; text-transform: uppercase; }

/* ---------- generic split section ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.split--reverse .split__media { order: 2; }
.split__media { aspect-ratio: 4/5; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.split__media.tall { aspect-ratio: 3/4; }
.media-fill { width: 100%; height: 100%; }

/* ---------- lab table ---------- */
.lab {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.lab__head { padding: 22px 28px; border-bottom: 1px solid var(--line); display:flex; justify-content:space-between; align-items:baseline; gap:16px; flex-wrap:wrap;}
.lab__head span { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--mist); }
.lab table { width: 100%; border-collapse: collapse; font-size: 15px; }
.lab th, .lab td { text-align: left; padding: 13px 28px; border-bottom: 1px solid var(--line); }
.lab th { font-family: var(--sans); font-weight: 500; color: var(--slate); font-size: 12px; letter-spacing:.08em; text-transform: uppercase; }
.lab tbody tr:last-child td { border-bottom: 0; }
.lab td:last-child, .lab th:last-child { text-align: right; color: var(--slate); }
.lab td strong { font-weight: 600; color: var(--ink); }
.lab tr:last-child td { border-bottom: 0; }
.lab__foot { padding: 16px 28px; font-size: 12.5px; color: var(--mist); background: var(--ice-soft); }

/* ---------- steps / process ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2px; background: var(--line);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.step { background: var(--white); padding: 38px 30px; }
.step__n { font-family: var(--serif); font-size: 15px; color: var(--glacier-dk); letter-spacing: .1em; margin-bottom: 18px; }
.step h3 { font-size: 20px; margin-bottom: 10px; }
.step p { font-size: 15px; color: var(--slate); margin: 0; }

/* ---------- feature cards ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px 32px; }
.card h3 { font-size: 21px; margin-bottom: 12px; }
.card p { font-size: 15px; color: var(--slate); margin: 0; }
.card__icon { width: 40px; height: 40px; margin-bottom: 20px; color: var(--glacier-dk); }

/* ---------- markets ---------- */
.markets { display: flex; flex-wrap: wrap; gap: 12px; }
.chip { border: 1px solid var(--line); border-radius: 100px; padding: 10px 22px; font-size: 15px; color: var(--slate); background: var(--white); }

/* ---------- product spec ---------- */
.spec-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.spec-list li { display: flex; justify-content: space-between; gap: 24px; padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; }
.spec-list li span:first-child { color: var(--slate); }
.spec-list li span:last-child { font-weight: 500; text-align: right; }

.price-tag { display: flex; align-items: baseline; gap: 12px; margin: 6px 0 4px; }
.price-tag .from { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--mist); }
.price-tag .amt { font-family: var(--serif); font-size: clamp(38px, 5vw, 56px); color: var(--ink); }
.price-tag .unit { color: var(--slate); font-size: 15px; }

/* ---------- panels ---------- */
.panel { background: var(--ink); color: var(--white); border-radius: var(--radius); }
.panel h2, .panel h3 { color: var(--white); }
.panel .muted { color: rgba(255,255,255,.72); }
.panel--ice { background: var(--ice-soft); color: var(--ink); }
.panel--ice .muted { color: var(--slate); }

.kit { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px,5vw,64px); align-items:center; padding: clamp(40px,6vw,72px); }
.kit ul { list-style: none; margin: 20px 0 0; padding: 0; }
.kit li { padding: 12px 0 12px 30px; position: relative; border-bottom: 1px solid rgba(255,255,255,.12); }
.kit li::before { content: ""; position: absolute; left: 0; top: 19px; width: 14px; height: 8px;
  border-left: 1.5px solid var(--glacier); border-bottom: 1.5px solid var(--glacier); transform: rotate(-45deg); }

/* ---------- documentation grid ---------- */
.docs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px; background: var(--line);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.docs__item { background: var(--white); padding: 20px 24px; display: flex; align-items: center; gap: 14px; font-size: 15.5px; }
.docs__item svg { flex: none; color: var(--glacier-dk); }
@media (max-width: 620px) { .docs { grid-template-columns: 1fr; } }

/* ---------- quote calc ---------- */
.calc-out { display: flex; align-items: baseline; gap: 10px; padding: 16px 18px; background: var(--ice-soft);
  border: 1px solid var(--line); border-radius: var(--radius); margin-top: 4px; }
.calc-out .num { font-family: var(--serif); font-size: 28px; color: var(--ink); line-height: 1; }
.calc-out .lbl { font-size: 13px; color: var(--slate); }

/* ---------- team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.team-card__photo { aspect-ratio: 3/4; border-radius: var(--radius); overflow: hidden; margin-bottom: 18px; }
.team-card__name { font-family: var(--serif); font-size: 20px; color: var(--ink); line-height: 1.2; }
.team-card__role { font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--glacier-dk); margin-top: 6px; }
.team-card__bio { font-size: 14.5px; color: var(--slate); margin-top: 10px; }
@media (max-width: 900px) { .team-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; } }
@media (max-width: 520px) { .team-grid { grid-template-columns: 1fr; max-width: 340px; margin-inline: auto; } }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 26px 0; display: flex; justify-content: space-between; gap: 24px;
  font-family: var(--serif); font-size: clamp(19px, 2.2vw, 23px); color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { flex: none; width: 22px; height: 22px; position: relative; margin-top: 6px; }
.faq summary .plus::before, .faq summary .plus::after { content:""; position:absolute; background: var(--glacier-dk); transition:.25s; }
.faq summary .plus::before { top: 10px; left: 0; width: 22px; height: 1.5px; }
.faq summary .plus::after  { left: 10px; top: 0; width: 1.5px; height: 22px; }
.faq details[open] summary .plus::after { transform: rotate(90deg); opacity: 0; }
.faq details p { padding: 0 44px 28px 0; margin: 0; color: var(--slate); max-width: 760px; }

/* ---------- forms ---------- */
.form { display: grid; gap: 20px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 13px; letter-spacing: .04em; color: var(--slate); font-weight: 500; }
.field input, .field select, .field textarea {
  font-family: var(--sans); font-size: 16px; color: var(--ink); background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; width: 100%;
  transition: border-color .2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--glacier); }
.field textarea { resize: vertical; min-height: 120px; }
.form__note { font-size: 13px; color: var(--mist); }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; }
.cta-band h2 { max-width: 720px; margin: 0 auto 18px; }
.cta-band .hero__actions { justify-content: center; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.7); padding-block: 72px 40px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.site-footer .brand__mark { color: #fff; }
.site-footer h4 { font-family: var(--sans); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.5); margin-bottom: 18px; font-weight: 600; }
.site-footer a { display: block; color: rgba(255,255,255,.7); padding: 6px 0; font-size: 15px; transition: color .2s; }
.site-footer a:hover { color: #fff; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 56px; padding-top: 28px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: rgba(255,255,255,.5); }

/* ---------- page hero (interior) ---------- */
.page-hero { padding-block: clamp(70px, 10vw, 130px) clamp(40px,5vw,64px); }
.page-hero .eyebrow { color: var(--glacier-dk); }
.page-hero h1 { font-size: clamp(36px, 5.6vw, 68px); max-width: 900px; }
.page-hero p { max-width: 640px; margin-top: 22px; }

/* ---------- misc ---------- */
.divider { height: 1px; background: var(--line); border: 0; margin: 0; }
.badge-row { display:flex; gap:10px; flex-wrap:wrap; margin-top: 22px; }
.badge { font-size:12px; letter-spacing:.06em; text-transform:uppercase; color: var(--glacier-dk);
  border:1px solid var(--line); border-radius: 100px; padding: 7px 16px; background: var(--white); }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .nav__links { position: fixed; inset: 76px 0 auto 0; flex-direction: column; align-items: flex-start;
    background: var(--paper); padding: 24px var(--gutter) 32px; gap: 4px; border-bottom: 1px solid var(--line);
    transform: translateY(-120%); transition: transform .35s ease; box-shadow: var(--shadow); }
  .nav__links.open { transform: translateY(0); }
  .nav__links a { padding: 12px 0; width: 100%; font-size: 18px; }
  .nav__cta { margin: 12px 0 0; }
  .nav__toggle { display: block; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(-n+2) { border-top: 0; }
  .stat { border-top: 1px solid var(--line); }
  .stat:nth-child(odd) { border-left: 0; }
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .split__media { aspect-ratio: 16/10; }
  .form__row { grid-template-columns: 1fr; }
  .kit { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .stats__grid { grid-template-columns: 1fr; }
  .stat { border-left: 0; }
  .footer__grid { grid-template-columns: 1fr; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .hero { min-height: 88vh; }
  .hero__inner { padding-block: 116px 66px; }
  .lab th, .lab td { padding: 11px 16px; font-size: 14px; }
  .lab__head, .lab__foot { padding-inline: 16px; }
  .lab__head span { font-size: 11px; }
  .spec-list li { font-size: 15px; gap: 16px; }
  .kit { padding: 32px 22px; }
  .faq summary .plus { margin-top: 4px; }
  .btn { padding: 14px 24px; }
}
