/* ---------- tokens (mirrored from the club site palette) ---------- */
:root {
  --teal:        #006577;
  --teal-dark:   #004f5e;
  --teal-mid:    #005566;
  --cream:       #f4f1ed;
  --sky:         #bbe5f0;
  --sky-light:   #d9f0f7;
  --orange:      #e78024;
  --orange-light:#f09940;
  --dark:        #1a2e35;
  --white:       #ffffff;

  --shadow-md:   0 6px 22px rgba(0, 60, 70, .10);
  --shadow-lg:   0 14px 40px rgba(0, 60, 70, .14);

  --tracking-wide:  .2em;
  --tracking-mid:   .15em;
  --radius:         12px;
  --radius-lg:      14px;
  --radius-pill:    999px;

  --font-sans:  'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-serif: 'Roboto Serif', Georgia, serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-sans);
  color: var(--dark);
  background: var(--white);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--teal-dark); }
.font-serif { font-family: var(--font-serif); font-weight: 400; }

img { max-width: 100%; display: block; }

.muted { color: rgba(26, 46, 53, .55); }
.small { font-size: .85rem; }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: var(--sky);
  color: var(--teal);
}
.nav {
  max-width: 80rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
  padding: 14px 24px;
}
.nav-side {
  display: flex;
  gap: 1.6rem;
}
.nav-left  { justify-content: flex-end; }
.nav-right { justify-content: flex-start; }
.nav-side a {
  color: var(--teal);
  font-size: .82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  transition: color .15s ease;
}
.nav-side a:hover { color: var(--teal-dark); }
.nav-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.1;
  gap: 2px;
}
.nav-sub {
  font-size: .65rem;
  letter-spacing: var(--tracking-mid);
  font-weight: 500;
  color: rgba(0, 101, 119, .7);
  text-transform: uppercase;
}
.brand { display: flex; align-items: center; justify-content: center; }
.brand-logo { height: 64px; width: auto; }
.header-wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -24px;
  width: 100%;
  height: 28px;
  display: block;
}

@media (max-width: 820px) {
  .nav { grid-template-columns: auto 1fr; padding: 12px 18px; }
  .nav-side { display: none; }
  .nav-side.nav-left  { display: flex; gap: 1rem; grid-column: 2; justify-content: flex-end; }
  .brand-logo { height: 48px; }
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 56vh;
  padding: 9rem 1.5rem 7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--teal);
  color: var(--white);
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  filter: saturate(.9);
}
.hero-overlay {
  position: absolute; inset: 0;
  background: rgba(0, 101, 119, .42);
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 56rem;
  text-align: center;
}
.hero h1 {
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  margin: 0;
}
.hero-pretitle {
  display: block;
  font-size: clamp(.85rem, 1.4vw, 1.25rem);
  font-weight: 700;
  opacity: .9;
}
.hero-title {
  display: block;
  margin-top: .5rem;
  font-size: clamp(2rem, 5.6vw, 4rem);
  letter-spacing: .12em;
  line-height: 1;
}
.hero-lead {
  margin: 1.2rem auto 0;
  max-width: 40rem;
  font-style: italic;
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  color: rgba(255,255,255,.86);
  font-weight: 400;
}
.hero-btns {
  margin-top: 2.2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.hero-btn-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.btn-ghost {
  display: inline-block;
  padding: .9rem 2rem;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--white);
  border: 1px solid rgba(255,255,255,.34);
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(2px);
  transition: background .15s ease, color .15s ease;
}
.btn-ghost:hover { background: rgba(255,255,255,.25); color: var(--white); }

.btn-orange {
  display: inline-block;
  padding: .85rem 2rem;
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: var(--tracking-mid);
  text-transform: uppercase;
  color: var(--white);
  background: var(--orange);
  border-radius: var(--radius-pill);
  transition: background .15s ease;
}
.btn-orange:hover { background: var(--orange-light); color: var(--white); }

.btn-outline {
  display: inline-block;
  padding: calc(.85rem - 2px) calc(2rem - 2px);
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: var(--tracking-mid);
  text-transform: uppercase;
  color: var(--white);
  background: transparent;
  border: 2px solid var(--white);
  border-radius: var(--radius-pill);
  transition: background .15s ease, color .15s ease;
}
.btn-outline:hover { background: var(--white); color: var(--teal); }

.hero-wave {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  width: 100%;
  height: 60px;
  z-index: 2;
}
.hero-badge {
  position: absolute;
  bottom: -56px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
}
.hero-badge img { height: 112px; width: 112px; }

@media (max-width: 540px) {
  .hero-badge img { height: 84px; width: 84px; }
  .hero-badge { bottom: -42px; }
  .hero { padding: 6rem 1rem 5rem; }
}

/* ---------- temp strip (signature feature for THIS site) ---------- */
.temp-strip {
  background: var(--cream);
  padding: 6rem 1.5rem 3rem;
}
.temp-strip-inner {
  max-width: 64rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.temp-card {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  padding: 1.5rem 1.6rem 1.4rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  border-top: 4px solid var(--teal);
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease;
  color: var(--dark);
}
.temp-card-air { border-top-color: var(--orange); }
.temp-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  text-decoration: none;
}
.temp-label {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  color: rgba(26,46,53,.6);
}
.temp-value {
  font-size: clamp(2.6rem, 5.5vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1;
  margin-top: .25rem;
  color: var(--teal);
}
.temp-card-air .temp-value { color: var(--orange); }
.temp-meta {
  font-size: .85rem;
  color: rgba(26,46,53,.55);
  margin-top: .25rem;
}

@media (max-width: 540px) {
  .temp-strip-inner { grid-template-columns: 1fr; }
  .temp-strip { padding: 5rem 1rem 2rem; }
}

/* ---------- intro (teal section) ---------- */
.intro {
  background: var(--teal);
  color: var(--white);
  position: relative;
  padding: 5rem 1.5rem 6rem;
  text-align: center;
}
.intro-inner {
  max-width: 50rem;
  margin: 0 auto;
}
.intro h2 {
  font-family: var(--font-serif);
  font-weight: 400;
  color: var(--white);
  margin: 0;
  line-height: 1.15;
}
.intro-h2-1 {
  display: block;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}
.intro-h2-2 {
  display: block;
  margin-top: .35rem;
  font-size: clamp(1.9rem, 3.6vw, 2.6rem);
}
.intro p {
  margin: 1.4rem auto 0;
  max-width: 40rem;
  color: rgba(255,255,255,.78);
  font-size: 1.02rem;
  line-height: 1.65;
}
.intro-wave {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  width: 100%;
  height: 60px;
}

/* ---------- features (three card row on cream) ---------- */
.features {
  background: var(--cream);
  padding: 5rem 1.5rem;
}
.features-grid {
  max-width: 80rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.feature-card {
  display: block;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  text-decoration: none;
  color: var(--dark);
  transition: box-shadow .2s ease;
}
.feature-card:hover {
  box-shadow: var(--shadow-lg);
  text-decoration: none;
}
.feature-image {
  height: 14rem;
  background-size: cover;
  background-position: center;
  transition: transform .3s ease;
}
.feature-card:hover .feature-image { transform: scale(1.04); }
.feature-body { padding: 1.5rem; }
.feature-body h3 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--teal);
  line-height: 1.3;
}
.feature-body p {
  margin: .55rem 0 1rem;
  font-size: .92rem;
  color: rgba(26,46,53,.62);
  line-height: 1.55;
}
.feature-link {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: var(--tracking-mid);
  color: var(--teal);
  transition: color .15s ease;
}
.feature-card:hover .feature-link { color: var(--orange); }

@media (max-width: 900px) {
  .features-grid { grid-template-columns: 1fr; gap: 1.4rem; }
  .feature-image { height: 12rem; }
}

/* ---------- CTA ---------- */
.cta {
  background: var(--teal);
  color: var(--white);
  padding: 5rem 1.5rem;
  text-align: center;
}
.cta-inner { max-width: 50rem; margin: 0 auto; }
.cta h2 {
  font-weight: 300;
  font-size: clamp(2rem, 3.6vw, 2.6rem);
  margin: 0;
}
.cta p {
  margin: 1rem auto 0;
  max-width: 36rem;
  color: var(--sky-light);
  font-size: 1rem;
}
.cta-btns {
  margin-top: 2rem;
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- footer ---------- */
.site-footer {
  background: var(--teal);
  color: var(--white);
  position: relative;
}
.footer-wave {
  display: block;
  width: 100%;
  height: 56px;
  margin-top: -1px;
}
.footer-inner {
  max-width: 80rem;
  margin: 0 auto;
  padding: 3rem 1.5rem 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: auto 1fr 1fr 2fr;
  gap: 2.5rem;
  align-items: start;
}
.footer-badge img { height: 132px; width: 132px; }
.site-footer h4 {
  margin: 0 0 .6rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--white);
}
.site-footer p {
  margin: 0;
  font-size: .9rem;
  color: var(--sky-light);
  line-height: 1.6;
}
.site-footer a { color: var(--sky-light); }
.site-footer a:hover { color: var(--white); }
.footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .6rem 2rem;
}
.footer-links a {
  font-size: .76rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--tracking-mid);
}
.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.18);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
}
.footer-bottom p {
  font-size: .78rem;
  color: var(--sky-light);
}
.footer-bottom-meta { opacity: .8; }

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .footer-badge { grid-column: 1 / -1; display: flex; justify-content: center; }
}
@media (max-width: 540px) {
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .footer-links { justify-items: center; }
}

/* ---------- page hero (used on /temperature) ---------- */
.page-hero {
  position: relative;
  background: var(--teal);
  color: var(--white);
  padding: 7rem 1.5rem 5rem;
  overflow: hidden;
  text-align: center;
}
.page-hero h1 {
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  margin: 0;
}
.page-hero .hero-pretitle {
  font-size: clamp(.85rem, 1.4vw, 1.15rem);
  font-weight: 700;
  opacity: .85;
}
.page-hero .hero-title {
  font-size: clamp(1.8rem, 4vw, 3rem);
  letter-spacing: .1em;
  margin-top: .4rem;
}
.page-hero .hero-lead {
  margin: 1rem auto 0;
  max-width: 38rem;
  font-style: italic;
  color: rgba(255,255,255,.78);
}
.page-hero .hero-wave {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  width: 100%; height: 56px;
}

/* ---------- temperature page body ---------- */
.temp-page {
  background: var(--cream);
  padding: 4rem 1.5rem 5rem;
  max-width: 80rem;
  margin: 0 auto;
}
.temp-page .temp-strip-inner { padding: 0; max-width: 64rem; margin-bottom: 2.2rem; }

.range-row {
  max-width: 64rem;
  margin: 0 auto 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.range-buttons { display: flex; gap: .5rem; }
.range-btn {
  border: 1px solid rgba(0, 101, 119, .25);
  background: var(--white);
  color: var(--dark);
  font-family: inherit;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: .55rem 1rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: background .15s ease, color .15s ease;
}
.range-btn[aria-pressed="true"] {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--white);
}
.range-btn:hover:not([aria-pressed="true"]) {
  background: var(--sky-light);
}

.chart-wrap {
  max-width: 64rem;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid rgba(0, 101, 119, .15);
  padding: 1.25rem;
  box-shadow: var(--shadow-md);
}

.stats-grid {
  max-width: 64rem;
  margin: 1.5rem auto 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: .75rem;
}
.stat {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid rgba(0, 101, 119, .12);
  padding: .9rem 1rem;
}
.stat-label {
  display: block;
  font-size: .68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--tracking-mid);
  color: rgba(26,46,53,.55);
  margin-bottom: .25rem;
}
.stat-value {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--teal);
}

@media (max-width: 820px) { .stats-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 480px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }
