/* Council Watch website. Brand colours from the CW monogram logo (Oct 2026): deep teal #013646, coral #fd675c. */
:root {
  --teal: #013646;
  --teal-2: #0a5065;
  --teal-soft: #e6f0f2;
  --coral: #fd675c;
  --coral-soft: #fde9e6;
  --coral-text: #b9473c;   /* coral dark enough for text on white */
  --ink: #16262c;
  --muted: #55676d;
  --line: #d9e3e6;
  --page: #f5f8f9;
  --white: #ffffff;
  --font: "Figtree", "Segoe UI", system-ui, -apple-system, sans-serif;
  --radius: 14px;
  --wrap: 1120px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--page); color: var(--ink); font-family: var(--font); font-size: 17px; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-2); text-underline-offset: 3px; }
a:hover { color: var(--teal); }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { line-height: 1.15; text-wrap: balance; margin: 0; color: var(--teal); }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; letter-spacing: -0.01em; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left)); padding-right: max(20px, env(safe-area-inset-right)); }
.section { padding-block: clamp(48px, 7vw, 88px); }
.section-white { background: var(--white); border-block: 1px solid var(--line); }
.stack { display: grid; gap: 16px; }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 62ch; }
.eyebrow { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--coral-text); }
.section-head { display: grid; gap: 12px; margin-bottom: 36px; max-width: 70ch; }

/* Header */
.site-header { background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 14px; flex-wrap: wrap; }
.brand img { height: 54px; width: auto; }
.nav { display: flex; flex-wrap: wrap; gap: 6px 22px; font-weight: 600; font-size: 0.98rem; }
.nav a { color: var(--ink); text-decoration: none; padding-block: 4px; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--teal); }
.nav a[aria-current="page"] { color: var(--teal); border-bottom-color: var(--coral); }
.nav .nav-cta { color: var(--teal); }

/* Buttons */
.buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-weight: 700; font-size: 1rem;
  padding: 13px 22px; border-radius: 999px; text-decoration: none; border: 2px solid transparent; cursor: pointer; }
.btn-primary { background: var(--teal); color: var(--white); }
.btn-primary:hover { background: var(--teal-2); color: var(--white); }
.btn-secondary { background: var(--white); color: var(--teal); border-color: var(--teal); }
.btn-secondary:hover { background: var(--teal-soft); color: var(--teal); }
.btn-coral { background: var(--coral); color: var(--teal); }
.btn-coral:hover { background: #fe8a81; color: var(--teal); }

/* Hero */
.hero { padding-block: clamp(48px, 8vw, 96px); }
.hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero-text { display: grid; gap: 22px; min-width: 0; }
.cover-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cover-grid img { border-radius: var(--radius); box-shadow: 0 10px 30px rgba(1, 54, 70, 0.16); }
.cover-grid img:nth-child(2) { transform: translateY(22px); }
.cover-grid img:nth-child(4) { transform: translateY(22px); }

/* Cards and grids */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: grid; gap: 10px; align-content: start; min-width: 0; }
.card p { color: var(--muted); }
.icon-badge { width: 48px; height: 48px; border-radius: 12px; background: var(--teal-soft); color: var(--teal); display: grid; place-items: center; }
.icon-badge svg { width: 26px; height: 26px; }

/* How it works */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.steps li { counter-increment: step; display: grid; gap: 8px; align-content: start; padding-top: 18px; border-top: 3px solid var(--teal); min-width: 0; }
.steps li::before { content: counter(step); font-weight: 800; font-size: 2rem; line-height: 1; color: var(--coral-text); }
.steps p { color: var(--muted); font-size: 0.98rem; }
.who-note { margin-top: 28px; color: var(--muted); font-size: 0.95rem; max-width: 70ch; }

/* Principles */
.principles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 40px; }
.principles div { padding-block: 18px; border-top: 1px solid var(--line); display: grid; gap: 6px; }
.principles p { color: var(--muted); }

/* CTA band */
.cta-band { background: var(--teal); color: var(--white); }
.cta-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-block: 48px; }
.cta-band h2 { color: var(--white); }
.cta-band p { color: #cfe3e8; max-width: 56ch; margin-top: 8px; }

/* Communities */
.community-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
.community { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: grid; grid-template-columns: minmax(200px, 340px) 1fr; min-width: 0; }
.community img { width: 100%; height: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.community-body .buttons { margin-top: 4px; }
.btn[aria-disabled="true"] { background: #eef2f3; color: #7d8d92; border-color: #eef2f3; cursor: not-allowed; }
.soon-note { font-size: 0.92rem; color: var(--muted); }
.community-body { padding: 24px; display: grid; gap: 12px; align-content: start; }
.community-body h3 { font-size: 1.4rem; }
.community-body .muni { color: var(--muted); font-size: 0.95rem; margin-top: -6px; }
.community-body p { color: var(--muted); }
.pill { justify-self: start; font-size: 0.8rem; font-weight: 700; padding: 4px 12px; border-radius: 999px; }
.pill-live { background: var(--teal-soft); color: var(--teal); }
.pill-soon { background: var(--coral-soft); color: var(--coral-text); }
.links { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; font-weight: 600; }
.sponsor { font-size: 0.92rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 12px; }

/* Contact */
.contact-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; display: grid; gap: 18px; max-width: 640px; }
.contact-row { display: grid; gap: 2px; }
.contact-row .label { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.contact-row .value { font-size: 1.15rem; font-weight: 600; overflow-wrap: anywhere; }

/* Form */
.form-layout { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 4vw, 36px); display: grid; gap: 18px; min-width: 0; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 700; font-size: 0.98rem; }
.field .hint { font-weight: 400; color: var(--muted); font-size: 0.9rem; }
.field input, .field textarea { font: inherit; font-size: 1rem; color: var(--ink); background: var(--white); border: 1.5px solid #b9c8cd; border-radius: 10px; padding: 11px 13px; width: 100%; }
.field input:focus, .field textarea:focus { border-color: var(--teal); outline: 3px solid var(--teal-soft); outline-offset: 0; }
.field textarea { min-height: 110px; resize: vertical; }
.privacy { font-size: 0.9rem; color: var(--muted); }
.hidden-field { position: absolute; left: -9999px; }
.offer { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.offer li { padding-left: 28px; position: relative; color: var(--muted); }
.offer li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 12px; height: 12px; border-radius: 50%; background: var(--coral); }
.offer strong { color: var(--ink); }

/* Footer */
.site-footer { background: var(--white); border-top: 1px solid var(--line); padding-block: 40px; font-size: 0.93rem; color: var(--muted); }
.site-footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; }
.site-footer img { height: 38px; width: auto; margin-bottom: 12px; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; justify-items: start; }
.footer-links a { color: var(--ink); font-weight: 600; text-decoration: none; }
.footer-links a:hover { color: var(--teal); text-decoration: underline; }
.copyright { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 18px; }

.page-head { padding-block: clamp(40px, 6vw, 72px) 0; }

/* ---- Look from the Oct 2026 mock-up: teal hero band, pill nav, tinted sections ---- */
.nav a { border-bottom: 0; padding: 7px 14px; border-radius: 999px; }
.nav a[aria-current="page"] { background: var(--teal); color: var(--white); }
.nav a:not([aria-current="page"]):hover { background: var(--teal-soft); }
.section-tint { background: var(--teal-soft); }
.band-hero { background: var(--teal); color: var(--white); position: relative; overflow: hidden; padding-block: clamp(56px, 8vw, 96px); }
.band-hero .wrap { position: relative; z-index: 1; display: grid; gap: 22px; }
.band-hero h1 { color: var(--white); max-width: 15ch; }
.band-hero .lede { color: #d5e6ea; max-width: 46ch; }
.band-hero .tagline { color: #9fc4cd; font-weight: 700; font-size: 0.92rem; letter-spacing: 0.02em; }
.band-hero .btn-secondary { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, 0.7); }
.band-hero .btn-secondary:hover { background: rgba(255, 255, 255, 0.12); color: var(--white); }
.num-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: n; }
.num-cards li { counter-increment: n; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: grid; gap: 8px; align-content: start; min-width: 0; }
.num-cards li::before { content: counter(n); width: 30px; height: 30px; border-radius: 50%; background: var(--teal); color: var(--white); font-weight: 700; font-size: 0.95rem; display: grid; place-items: center; }
.num-cards h3 { font-size: 1.05rem; }
.num-cards p { color: var(--muted); font-size: 0.95rem; }
.check-note { margin-top: 22px; color: var(--teal); font-weight: 600; font-size: 0.98rem; }
.standards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.standards div { background: var(--white); border-left: 4px solid var(--teal); border-radius: 6px; padding: 16px 18px; display: grid; gap: 4px; align-content: start; min-width: 0; }
.standards h3 { font-size: 1rem; }
.standards p { color: var(--muted); font-size: 0.95rem; }
.site-footer.tinted { background: var(--teal-soft); border-top: 3px solid #b9d6dd; }

/* Communities: artwork, name, two buttons */
.community-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.community-tile { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: grid; grid-template-columns: 200px 1fr; align-items: center; min-width: 0; }
.community-tile img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.community-tile .tile-body { padding: 18px 22px; display: grid; gap: 14px; min-width: 0; }
.community-tile h2 { font-size: 1.45rem; }
.community-tile .buttons { flex-direction: column; align-items: stretch; gap: 10px; }
.community-tile .btn { padding: 10px 16px; font-size: 0.95rem; }

@media (max-width: 900px) {
  .num-cards { grid-template-columns: 1fr 1fr; }
  .standards { grid-template-columns: 1fr 1fr; }
  .community-list { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .num-cards, .standards { grid-template-columns: 1fr; }
  .community-tile { grid-template-columns: 130px 1fr; }
  .community-tile .tile-body { padding: 14px 16px; }
  .community-tile h2 { font-size: 1.2rem; }
}
.page-head .wrap { display: grid; gap: 14px; }

@media (max-width: 900px) {
  .hero .wrap, .form-layout { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .site-header { position: static; }
  .site-header .wrap { padding-block: 12px; gap: 10px; }
  .nav { gap: 2px 16px; font-size: 0.93rem; }
  .brand img { height: 44px; }
  .steps, .principles, .community, .grid-2, .site-footer .wrap { grid-template-columns: 1fr; }
  .community img { height: auto; }
  .cover-grid img:nth-child(2), .cover-grid img:nth-child(4) { transform: none; }
}
@media (prefers-reduced-motion: no-preference) {
  .btn, .nav a { transition: background-color 0.15s, color 0.15s, border-color 0.15s; }
}

/* ---- Oct 30, 2026: sound-wave motif from the CW logo, hero mock-up and sample player, Squamish feature, scenery ---- */
.wave-mark { display: inline-flex; align-items: center; gap: 5px; height: 26px; }
.wave-mark i { display: block; width: 5px; border-radius: 3px; background: var(--coral); }
.wave-mark i:nth-child(1), .wave-mark i:nth-child(5) { height: 40%; }
.wave-mark i:nth-child(2), .wave-mark i:nth-child(4) { height: 72%; }
.wave-mark i:nth-child(3) { height: 100%; }

.wave-bars { position: absolute; left: 0; right: 0; bottom: 0; height: 120px; display: flex; align-items: flex-end; justify-content: space-between;
  gap: 6px; padding-inline: 12px; opacity: 0.16; z-index: 0; pointer-events: none; }
.wave-bars i { flex: 1; max-width: 14px; background: var(--coral); border-radius: 7px 7px 0 0; transform-origin: bottom; }

.hero-grid { grid-template-columns: 1.05fr 0.95fr; align-items: center; gap: clamp(32px, 5vw, 72px); }
.hero-text { display: grid; gap: 22px; min-width: 0; }
.hero-visual { position: relative; justify-self: center; padding: 0 0 54px 0; min-width: 0; }

.phone { margin: 0; width: 290px; height: 540px; background: #0b1d24; border-radius: 42px; padding: 11px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35), inset 0 0 0 2px rgba(255, 255, 255, 0.08); transform: rotate(2.5deg); }
.phone-screen { height: 100%; background: var(--white); border-radius: 32px; overflow: hidden; padding: 26px 18px 18px; color: var(--ink);
  font-size: 12.5px; line-height: 1.45; display: grid; gap: 8px; align-content: start; position: relative; }
.phone-screen::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 70px; background: linear-gradient(rgba(255, 255, 255, 0), #fff); }
.mail-from { display: flex; gap: 9px; align-items: center; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.mail-from img { width: 34px; height: 34px; }
.mail-from b { display: block; font-size: 13px; color: var(--teal); }
.mail-from span { display: block; font-size: 11px; color: var(--muted); }
.mail-subject { font-size: 15.5px; font-weight: 800; line-height: 1.25; color: var(--teal); margin-top: 4px; }
.mail-meta { font-size: 11px; color: var(--muted); }
.mail-h { font-size: 10.5px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--coral-text); margin-top: 6px; }
.mail-list { margin: 0; padding-left: 16px; display: grid; gap: 5px; }
.mail-list b { color: var(--teal); }
.mail-decision { display: grid; gap: 1px; padding: 7px 10px; background: var(--teal-soft); border-radius: 8px; font-weight: 700; color: var(--teal); }
.mail-decision span { font-size: 9.5px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--coral-text); }

.player-card { position: absolute; left: -96px; bottom: 0; width: 360px; display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center;
  background: var(--white); color: var(--ink); border-radius: 18px; padding: 12px; box-shadow: 0 18px 40px rgba(0, 0, 0, 0.3); z-index: 2; }
.player-card img { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; }
.player-info { display: grid; gap: 3px; min-width: 0; }
.player-kicker { font-size: 0.7rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--coral-text); }
.player-info b { font-size: 0.9rem; line-height: 1.25; color: var(--teal); }
.player-progress { height: 5px; border-radius: 3px; background: var(--teal-soft); overflow: hidden; margin-top: 4px; }
.player-progress span { display: block; height: 100%; width: 0; background: var(--coral); border-radius: 3px; transition: width 0.25s linear; }
.player-time { font-size: 0.72rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.play-btn { padding: 10px 16px; font-size: 0.92rem; white-space: nowrap; }
.play-btn svg { width: 18px; height: 18px; }
.play-btn .icon-pause, .is-playing .play-btn .icon-play { display: none; }
.is-playing .play-btn .icon-pause { display: block; }

@media (prefers-reduced-motion: no-preference) {
  .band-hero.is-playing .wave-bars { opacity: 0.3; }
  .band-hero.is-playing .wave-bars i { animation: wave 0.9s ease-in-out infinite alternate; }
}
@keyframes wave { from { transform: scaleY(0.35); } to { transform: scaleY(1); } }

/* Communities: Squamish feature */
.feature { background: var(--white); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; display: grid;
  grid-template-columns: minmax(260px, 440px) 1fr; box-shadow: 0 16px 40px rgba(1, 54, 70, 0.08); }
.feature-art { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; align-self: center; }
.feature-body { padding: clamp(24px, 4vw, 44px); display: grid; gap: 14px; align-content: center; min-width: 0; }
.feature-body h2 { font-size: clamp(2rem, 4vw, 2.6rem); }
.feature-muni { color: var(--muted); font-weight: 600; margin-top: -8px; }
.feature-text { color: var(--muted); max-width: 54ch; }
.subscribe { display: grid; gap: 8px; margin-top: 6px; }
.subscribe label { font-weight: 700; }
.subscribe-row { display: flex; gap: 10px; flex-wrap: wrap; }
.subscribe-row input[type="email"] { flex: 1 1 220px; min-width: 0; font: inherit; font-size: 1rem; color: var(--ink); background: var(--white);
  border: 1.5px solid #b9c8cd; border-radius: 999px; padding: 12px 18px; }
.subscribe-row input[type="email"]:focus { border-color: var(--teal); outline: 3px solid var(--teal-soft); outline-offset: 0; }
.subscribe-note { font-size: 0.9rem; color: var(--muted); }
.listen { display: grid; gap: 10px; padding-top: 14px; border-top: 1px solid var(--line); margin-top: 4px; }
.listen-label { font-weight: 700; }
.badges { display: flex; flex-wrap: wrap; gap: 10px; }
.badge { display: inline-flex; align-items: center; gap: 10px; background: #000; color: #fff; text-decoration: none; border-radius: 10px; padding: 8px 16px 8px 10px; }
.badge:hover { background: #1f2a2e; color: #fff; }
.badge svg { width: 30px; height: 30px; flex: none; }
.badge span { display: grid; line-height: 1.1; font-weight: 700; font-size: 1.02rem; }
.badge small { font-size: 0.68rem; font-weight: 500; letter-spacing: 0.02em; }
.feature-sponsor { display: flex; align-items: center; gap: 12px; font-size: 0.9rem; color: var(--muted); }
.feature-sponsor img { width: 96px; height: auto; border-radius: 6px; flex: none; }

/* Scenery: the cover art's landscape behind the call-to-action band */
.cta-band.scenic { background:
  linear-gradient(90deg, rgba(1, 54, 70, 0.97) 0%, rgba(1, 54, 70, 0.9) 45%, rgba(1, 54, 70, 0.45) 100%),
  url("../images/landscape-squamish.jpg") center 40% / cover no-repeat, var(--teal); }
.cta-band.scenic .wrap { padding-block: clamp(64px, 9vw, 120px); }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { justify-self: center; padding: 8px 0 0; display: grid; justify-items: center; }
  .phone { height: 400px; transform: none; border-radius: 42px 42px 0 0; padding-bottom: 0; }
  .phone-screen { border-radius: 32px 32px 0 0; }
  .player-card { position: relative; left: auto; bottom: auto; margin-top: -60px; width: min(100%, 380px); }
  .feature { grid-template-columns: 1fr; }
  .feature-art { max-height: 420px; object-position: center 35%; aspect-ratio: auto; }
  .cta-band.scenic { background:
    linear-gradient(rgba(1, 54, 70, 0.86), rgba(1, 54, 70, 0.86)),
    url("../images/landscape-squamish.jpg") center / cover no-repeat, var(--teal); }
}
@media (max-width: 420px) {
  .phone { width: 260px; height: 360px; }
  .player-card { grid-template-columns: 48px 1fr; }
  .player-card img { width: 48px; height: 48px; }
  .play-btn { grid-column: 1 / -1; }
}
