/* ============================================
   THE PRICE UP NORTH
   Clean navy + sage green palette
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Source+Serif+4:ital,wght@0,300;0,400;0,600;1,300&display=swap');

/* ---- COLOUR PALETTE ---- */
:root {
  --white:        #F8F7F4;
  --warm-white:   #F2F0EC;
  --navy:         #2C3E50;
  --navy-dark:    #1A2633;
  --sage:         #5C7A5E;
  --sage-light:   #A8B89A;
  --sage-pale:    #D6E0D0;
  --card-bg:      #E8E4DC;
  --text:         #2A2A2A;
  --text-mid:     #4A4A4A;
  --text-light:   #6B6B6B;
  --border:       #D4CFC6;
}

/* ---- RESET & BASE ---- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Source Serif 4', Georgia, serif;
  background-color: var(--white);
  color: var(--text);
  font-size: 17px;
  line-height: 1.75;
}

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

a {
  color: var(--sage);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--navy);
}

/* ---- NAVIGATION ---- */
nav {
  background-color: var(--navy);
  padding: 0 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}

.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.02em;
}

.nav-logo span {
  color: var(--sage-light);
}

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  color: rgba(248, 247, 244, 0.75);
  font-family: 'Source Serif 4', serif;
  font-size: 0.9rem;
  font-weight: 300;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--sage-light);
}

/* ---- HERO SECTION ---- */
.hero {
  position: relative;
  height: 92vh;
  min-height: 540px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  filter: brightness(0.65);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(26, 38, 51, 0.88) 0%,
    rgba(26, 38, 51, 0.3) 50%,
    transparent 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 72px 72px;
  max-width: 760px;
}

.hero-label {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sage-light);
  font-weight: 400;
  margin-bottom: 16px;
  font-family: 'Source Serif 4', serif;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 24px;
}

.hero-title em {
  font-style: italic;
  color: var(--sage-light);
}

.hero-sub {
  font-size: 1.05rem;
  color: rgba(248, 247, 244, 0.85);
  max-width: 520px;
  font-weight: 300;
  line-height: 1.7;
}

/* ---- PAGE HEADER (non-hero pages) ---- */
.page-header {
  background-color: var(--navy);
  padding: 80px 72px 60px;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 40%;
  height: 100%;
  background: linear-gradient(135deg, transparent, rgba(92, 122, 94, 0.1));
}

.page-header-label {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sage-light);
  margin-bottom: 14px;
  font-family: 'Source Serif 4', serif;
  font-weight: 400;
}

.page-header h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: var(--white);
  font-weight: 700;
  line-height: 1.15;
  max-width: 680px;
}

.page-header p {
  margin-top: 18px;
  color: rgba(248, 247, 244, 0.8);
  font-size: 1rem;
  font-weight: 300;
  max-width: 560px;
}

/* ---- MAIN CONTENT WRAPPER ---- */
.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 48px;
}

.section {
  padding: 80px 0;
}

.section + .section {
  border-top: 1px solid var(--border);
}

/* ---- SECTION LABELS ---- */
.section-label {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sage);
  font-weight: 600;
  margin-bottom: 14px;
  font-family: 'Source Serif 4', serif;
}

/* ---- HEADINGS ---- */
h1, h2, h3 {
  font-family: 'Playfair Display', serif;
  color: var(--text);
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
}

h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 10px;
}

p {
  margin-bottom: 18px;
  color: var(--text-mid);
  font-weight: 300;
}

p:last-child {
  margin-bottom: 0;
}

/* ---- STAT CARDS (homepage) ---- */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.stat-card {
  background-color: var(--navy);
  padding: 36px 28px;
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px;
  height: 100%;
  background-color: var(--sage);
}

.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--sage-light);
  line-height: 1;
  margin-bottom: 10px;
}

.stat-label {
  font-size: 0.85rem;
  color: rgba(248, 247, 244, 0.88);
  font-weight: 300;
  line-height: 1.5;
}

/* ---- IMAGE + TEXT SIDE BY SIDE ---- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.split.reverse {
  direction: rtl;
}

.split.reverse > * {
  direction: ltr;
}

.split-img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 6px 6px 24px rgba(44, 62, 80, 0.14);
}

.split-text {
  padding: 8px 0;
}

/* ---- PULL QUOTE ---- */
.pull-quote {
  border-left: 4px solid var(--sage);
  padding: 24px 32px;
  margin: 48px 0;
  background-color: var(--warm-white);
  border-radius: 0 4px 4px 0;
}

.pull-quote p {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-style: italic;
  color: var(--text);
  margin: 0;
  line-height: 1.6;
}

.pull-quote cite {
  display: block;
  margin-top: 12px;
  font-size: 0.82rem;
  color: var(--text-light);
  font-style: normal;
  letter-spacing: 0.04em;
  font-family: 'Source Serif 4', serif;
}

/* ---- HIGHLIGHT BOX ---- */
.highlight-box {
  background-color: var(--warm-white);
  border: 1px solid var(--border);
  padding: 36px 40px;
  border-radius: 4px;
  margin: 40px 0;
}

.highlight-box h3 {
  color: var(--sage);
  margin-bottom: 12px;
}

/* ---- PRICE COMPARISON TABLE ---- */
.price-table {
  width: 100%;
  border-collapse: collapse;
  margin: 32px 0;
  font-size: 0.95rem;
}

.price-table th {
  background-color: var(--navy);
  color: var(--white);
  padding: 14px 20px;
  text-align: left;
  font-family: 'Source Serif 4', serif;
  font-weight: 400;
  letter-spacing: 0.06em;
  font-size: 0.82rem;
  text-transform: uppercase;
}

.price-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  color: var(--text-mid);
  font-weight: 300;
}

.price-table tr:nth-child(even) td {
  background-color: var(--warm-white);
}

.price-table .price-high {
  color: var(--sage);
  font-weight: 600;
  font-family: 'Playfair Display', serif;
}

.price-table .price-normal {
  color: var(--text-light);
}

/* ---- MAP SECTION ---- */
.map-section {
  background-color: var(--navy);
  padding: 80px 0;
}

.map-section h2 {
  color: var(--white);
}

.map-section p {
  color: rgba(248, 247, 244, 0.8);
}

.map-section .section-label {
  color: var(--sage-light);
}

.canada-map-container {
  position: relative;
  margin-top: 40px;
  text-align: center;
}

.canada-map-img {
  max-width: 680px;
  width: 100%;
  margin: 0 auto;
  opacity: 0.9;
  filter: brightness(1.1);
}

.map-caption {
  margin-top: 20px;
  font-size: 0.85rem;
  color: var(--sage-light);
  font-style: italic;
  opacity: 0.85;
}

/* ---- ORG CARDS (Take Action page) ---- */
.org-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 40px;
}

.org-card {
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.org-card:hover {
  box-shadow: 0 8px 28px rgba(44, 62, 80, 0.1);
  transform: translateY(-3px);
}

.org-logo {
  height: 44px;
  width: auto;
  object-fit: contain;
  object-position: left;
}

.org-card h3 {
  font-size: 1.1rem;
  color: var(--text);
  margin-bottom: 4px;
}

.org-card p {
  font-size: 0.92rem;
  color: var(--text-light);
  flex-grow: 1;
  margin: 0;
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-block;
  padding: 11px 26px;
  border-radius: 3px;
  font-family: 'Source Serif 4', serif;
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  text-decoration: none;
}

.btn-primary {
  background-color: var(--sage);
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--navy);
  color: var(--white);
}

.btn-outline {
  background-color: transparent;
  color: var(--sage);
  border: 1.5px solid var(--sage);
}

.btn-outline:hover {
  background-color: var(--sage);
  color: var(--white);
}

.btn-dark {
  background-color: var(--navy);
  color: var(--white);
}

.btn-dark:hover {
  background-color: var(--navy-dark);
  color: var(--white);
}

/* ---- ACTION ITEMS ---- */
.action-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 32px;
}

.action-item {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding: 28px 32px;
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
}

.action-number {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--sage-light);
  line-height: 1;
  min-width: 40px;
}

.action-text h3 {
  margin-bottom: 6px;
  font-size: 1.05rem;
}

.action-text p {
  font-size: 0.92rem;
  color: var(--text-light);
  margin-bottom: 14px;
}

/* ---- INTRO BAND ---- */
.intro-band {
  background-color: var(--warm-white);
  padding: 72px 0;
  border-bottom: 1px solid var(--border);
}

.intro-band .inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 48px;
  text-align: center;
}

.intro-band h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  margin-bottom: 20px;
}

.intro-band p {
  font-size: 1.05rem;
  color: var(--text-light);
  font-weight: 300;
}

/* ---- FULL WIDTH IMAGE BREAK ---- */
.img-break {
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: center 35%;
  display: block;
}

/* ---- COMMUNITY CARDS ---- */
.community-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.community-card {
  padding: 28px 24px;
  border-top: 3px solid var(--sage);
  background-color: var(--warm-white);
}

.community-card h3 {
  font-size: 1rem;
  margin-bottom: 8px;
  color: var(--text);
}

.community-card p {
  font-size: 0.88rem;
  color: var(--text-light);
  margin: 0;
}

/* ---- FOOTER ---- */
footer {
  background-color: var(--navy);
  padding: 60px 72px 40px;
  color: rgba(248, 247, 244, 0.7);
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(248, 247, 244, 0.15);
}

.footer-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  color: var(--white);
  margin-bottom: 14px;
}

.footer-brand span {
  color: var(--sage-light);
}

.footer-desc {
  font-size: 0.88rem;
  line-height: 1.7;
  color: rgba(248, 247, 244, 0.7);
  margin: 0;
  font-weight: 300;
}

.footer-nav h4 {
  font-family: 'Source Serif 4', serif;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--sage-light);
  margin-bottom: 16px;
  font-weight: 600;
}

.footer-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav a {
  color: rgba(248, 247, 244, 0.65);
  font-size: 0.88rem;
  font-weight: 300;
  transition: color 0.2s;
}

.footer-nav a:hover {
  color: var(--white);
}

.land-acknowledgement {
  margin-top: 32px;
  padding-top: 28px;
  font-size: 0.85rem;
  color: rgba(248, 247, 244, 0.8);
  line-height: 1.8;
  font-style: italic;
  font-weight: 300;
}

.footer-bottom {
  margin-top: 28px;
  font-size: 0.78rem;
  color: rgba(248, 247, 244, 0.5);
  display: flex;
  justify-content: space-between;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  nav { padding: 0 24px; }
  .hero-content { padding: 0 32px 48px; }
  .page-header { padding: 60px 32px 48px; }
  .container { padding: 0 24px; }
  footer { padding: 48px 32px 32px; }

  .stat-grid { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .split.reverse { direction: ltr; }
  .org-grid { grid-template-columns: 1fr; }
  .community-grid { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .nav-links { display: none; }
  .stat-grid { grid-template-columns: 1fr; }
  .community-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; }
}