:root {
  /* Colour Palette */
  --asphalt-black: #111315;
  --graphite: #202428;
  --canadian-red: #C83A32;
  --burnished-silver: #AEB5B8;
  --burnished-silver-dim: rgba(174, 181, 184, 0.2);
  --warm-off-white: #F1F0EB;
  --forest-green: #29483A;
  
  /* Typography */
  --font-heading: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-body: 'Inter', 'Segoe UI', Roboto, sans-serif;
  
  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--asphalt-black);
  color: var(--warm-off-white);
  font-family: var(--font-body);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background-image: url('data:image/svg+xml;utf8,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noiseFilter"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.65" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter)" opacity="0.03"/%3E%3C/svg%3E');
  pointer-events: none;
  z-index: 9999;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 1.2;
}

a {
  color: var(--warm-off-white);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--canadian-red);
}

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

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

/* Button Design */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-heading);
  text-transform: uppercase;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  border-radius: 0;
}

.btn-primary {
  background-color: var(--graphite);
  color: var(--warm-off-white);
  border-left: 4px solid var(--canadian-red);
  position: relative;
  overflow: hidden;
}

.btn-primary:hover {
  background-color: var(--asphalt-black);
  transform: translateY(-2px);
  color: var(--warm-off-white);
  border-left-width: 8px;
}

.btn-secondary {
  background-color: transparent;
  color: var(--warm-off-white);
  border: 1px solid var(--burnished-silver);
}

.btn-secondary:hover {
  border-color: var(--canadian-red);
  background-color: var(--canadian-red);
  color: var(--warm-off-white);
}

/* Header (Split Navigation) */
.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: transparent;
  z-index: 1000;
  transition: all 0.4s ease;
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  background-color: var(--graphite);
  border-bottom: 1px solid var(--burnished-silver-dim);
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
  padding: 0 var(--space-md);
  max-width: 1600px;
  margin: 0 auto;
}

.brand {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--warm-off-white);
}

.header-center {
  display: none;
}

.header-right {
  display: none;
}

.menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  width: 30px;
  height: 2px;
  background-color: var(--warm-off-white);
  transition: 0.3s;
}

/* Mobile Nav Overlay */
.mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: var(--asphalt-black);
  z-index: 999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
}

.mobile-nav.active {
  opacity: 1;
  visibility: visible;
}

.mobile-nav ul {
  list-style: none;
  text-align: center;
}

.mobile-nav ul li {
  margin: var(--space-md) 0;
}

.mobile-nav ul li a {
  font-family: var(--font-heading);
  font-size: 2rem;
  text-transform: uppercase;
  font-weight: 700;
}

/* Desktop Header */
@media (min-width: 1024px) {
  .menu-toggle { display: none; }
  .header-center {
    display: flex;
    gap: var(--space-md);
    list-style: none;
  }
  .header-center a {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
  }
  .header-center a:hover {
    color: var(--canadian-red);
  }
  .header-right {
    display: block;
  }
}

/* Hero Section */
.hero {
  height: 100vh;
  min-height: 600px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(17, 19, 21, 0.3), rgba(17, 19, 21, 0.9));
  z-index: -1;
}

.hero-content {
  text-align: center;
  max-width: 800px;
  padding: 0 var(--space-md);
  margin-top: 80px;
}

.hero-label {
  display: inline-block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--burnished-silver);
  margin-bottom: var(--space-md);
  border-bottom: 1px solid var(--canadian-red);
  padding-bottom: 0.5rem;
}

.hero h1 {
  font-size: clamp(3rem, 6vw, 5.5rem);
  margin-bottom: var(--space-sm);
  color: var(--warm-off-white);
}

.hero p {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--burnished-silver);
  margin-bottom: var(--space-md);
}

.hero-buttons {
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
  flex-wrap: wrap;
}

/* Section Common */
.section {
  padding: var(--space-xl) 0;
  border-bottom: 1px solid var(--burnished-silver-dim);
}

.section-header {
  margin-bottom: var(--space-lg);
  max-width: 600px;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: var(--space-sm);
  color: var(--warm-off-white);
}

.section-header p {
  color: var(--burnished-silver);
}

.bg-graphite {
  background-color: var(--graphite);
}

.bg-offwhite {
  background-color: var(--warm-off-white);
  color: var(--asphalt-black);
}
.bg-offwhite h2, .bg-offwhite h3, .bg-offwhite p {
  color: var(--asphalt-black);
}

/* Featured Motorcycles */
.moto-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}
@media(min-width: 768px) {
  .moto-grid { grid-template-columns: repeat(3, 1fr); }
}

.moto-card {
  position: relative;
  background-color: var(--graphite);
  border: 1px solid var(--burnished-silver-dim);
  overflow: hidden;
  transition: transform 0.3s ease;
}

.moto-card:hover {
  transform: translateY(-5px);
}

.moto-img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  filter: grayscale(20%);
  transition: filter 0.3s;
}
.moto-card:hover .moto-img {
  filter: grayscale(0);
}

.moto-info {
  padding: var(--space-md);
}
.moto-info h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--canadian-red);
}
.moto-info p {
  font-size: 0.9rem;
  color: var(--burnished-silver);
}

/* Interactive Tabs (Routes & Seasons) */
.tab-controls {
  display: flex;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
  border-bottom: 1px solid var(--burnished-silver-dim);
  padding-bottom: var(--space-sm);
  overflow-x: auto;
  scrollbar-width: none;
}
.tab-controls::-webkit-scrollbar {
  display: none;
}

.tab-btn {
  background: none;
  border: none;
  color: var(--burnished-silver);
  font-family: var(--font-heading);
  font-size: 1.2rem;
  text-transform: uppercase;
  font-weight: 700;
  cursor: pointer;
  padding: 0.5rem 1rem;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.tab-btn.active, .tab-btn:hover {
  color: var(--warm-off-white);
  border-bottom: 3px solid var(--canadian-red);
}

.tab-content {
  position: relative;
  min-height: 500px;
}

.tab-pane {
  display: none;
  animation: fadeIn 0.5s ease forwards;
}

.tab-pane.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.tab-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  align-items: center;
}
@media(min-width: 992px) {
  .tab-layout {
    grid-template-columns: 1fr 1fr;
  }
}

.tab-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border: 1px solid var(--burnished-silver-dim);
}

.tab-text h3 {
  font-size: 2rem;
  margin-bottom: var(--space-sm);
}

.tab-text p {
  color: var(--burnished-silver);
  margin-bottom: var(--space-md);
}

/* Original Story Cards */
.story-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}
@media(min-width: 992px) {
  .story-grid {
    grid-template-columns: 2fr 1fr;
    grid-template-rows: auto auto;
  }
}

.story-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--burnished-silver-dim);
  background: var(--graphite);
}

.story-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
  transition: 0.4s ease;
}

.story-card:hover img {
  opacity: 1;
  transform: scale(1.02);
}

.story-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: var(--space-md);
  background: linear-gradient(transparent, rgba(17, 19, 21, 0.95) 40%);
}

.story-card.feature {
  grid-row: span 2;
}

.story-card.feature img {
  min-height: 500px;
}
.story-card.feature .story-content {
  padding: var(--space-lg) var(--space-md);
}

.story-category {
  color: var(--canadian-red);
  font-size: 0.8rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
  display: block;
}

.story-content h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}
.story-card.feature .story-content h3 {
  font-size: 2.5rem;
}

/* NEW Editorial Story Cards for Homepage */
.editorial-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}
@media(min-width: 992px) {
  .editorial-grid {
    grid-template-columns: 2fr 1fr;
    grid-template-rows: auto auto;
  }
}

.editorial-card {
  display: flex;
  flex-direction: column;
  background: var(--graphite);
  border: 1px solid var(--burnished-silver-dim);
  overflow: hidden;
  transition: transform 0.3s ease;
}

.editorial-card:hover {
  transform: translateY(-5px);
}

.editorial-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.editorial-card.feature {
  grid-row: span 2;
}

.editorial-card.feature img {
  height: 400px;
}

.editorial-content {
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.editorial-category {
  color: var(--canadian-red);
  font-size: 0.8rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
  display: block;
}

.editorial-content h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--warm-off-white);
}

.editorial-card.feature .editorial-content h3 {
  font-size: 2rem;
}

.editorial-content p {
  color: var(--burnished-silver);
  margin-bottom: var(--space-md);
  flex-grow: 1;
}

.editorial-content .btn {
  align-self: flex-start;
}

/* Story Panel Overlay */
.story-panel-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(17,19,21,0.95);
    z-index: 3000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: var(--space-md);
}

.story-panel-overlay.active {
    opacity: 1;
    visibility: visible;
}

.story-panel-container {
    background: var(--graphite);
    width: 100%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    border: 1px solid var(--burnished-silver-dim);
    position: relative;
    padding: var(--space-lg);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.story-panel-overlay.active .story-panel-container {
    transform: translateY(0);
}

.story-panel-close {
    position: absolute;
    top: 10px;
    right: 20px;
    background: none;
    border: none;
    color: var(--warm-off-white);
    font-size: 2.5rem;
    cursor: pointer;
    line-height: 1;
}

.story-panel-close:hover {
    color: var(--canadian-red);
}

.story-panel-content img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    margin-bottom: var(--space-md);
    border: 1px solid var(--burnished-silver-dim);
}

.panel-body p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

/* Update Tab Controls for Seasons */
.season-controls.tab-controls {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
  border-bottom: none;
  padding-bottom: 0;
}
@media(min-width: 768px) {
  .season-controls.tab-controls {
    grid-template-columns: repeat(4, 1fr);
  }
}

.season-controls .tab-btn {
  background: var(--graphite);
  border: 1px solid var(--burnished-silver-dim);
  border-bottom: 3px solid transparent;
  padding: 1rem;
  text-align: center;
  color: var(--burnished-silver);
  font-family: var(--font-heading);
  font-size: 1rem;
  text-transform: uppercase;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: normal;
  border-radius: 4px;
}

.season-controls .tab-btn:hover {
  background: var(--asphalt-black);
  color: var(--warm-off-white);
  border-color: var(--burnished-silver);
  border-bottom-color: var(--canadian-red);
}

.season-controls .tab-btn.active {
  background: var(--asphalt-black);
  color: var(--warm-off-white);
  border-color: var(--canadian-red);
  border-bottom-color: var(--canadian-red);
}

.season-controls .tab-btn:focus-visible {
  outline: 2px solid var(--canadian-red);
  outline-offset: 2px;
}

/* Internal Page Header */
.page-header {
  padding-top: 150px;
  padding-bottom: var(--space-lg);
  background-color: var(--graphite);
  border-bottom: 1px solid var(--burnished-silver-dim);
  text-align: center;
}
.page-header h1 {
  font-size: 3rem;
  margin-bottom: var(--space-sm);
}

/* Forms */
.form-group {
  margin-bottom: var(--space-md);
}
.form-group label {
  display: block;
  font-family: var(--font-heading);
  text-transform: uppercase;
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
  color: var(--burnished-silver);
}
.form-control {
  width: 100%;
  padding: 1rem;
  background-color: var(--asphalt-black);
  border: 1px solid var(--burnished-silver-dim);
  color: var(--warm-off-white);
  font-family: var(--font-body);
}
.form-control:focus {
  outline: none;
  border-color: var(--canadian-red);
}
textarea.form-control {
  resize: vertical;
  min-height: 150px;
}

/* Footer */
.footer {
  background-color: var(--graphite);
  padding: var(--space-xl) 0 var(--space-md) 0;
  border-top: 4px solid var(--canadian-red);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}
@media(min-width: 768px) {
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
}

.footer-col h4 {
  font-size: 1.2rem;
  margin-bottom: var(--space-sm);
  color: var(--warm-off-white);
}

.footer-col p {
  color: var(--burnished-silver);
  font-size: 0.9rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.5rem;
}

.footer-col ul li a {
  color: var(--burnished-silver);
  font-size: 0.9rem;
}
.footer-col ul li a:hover {
  color: var(--canadian-red);
}

.footer-bottom {
  border-top: 1px solid var(--burnished-silver-dim);
  padding-top: var(--space-md);
  text-align: center;
  color: var(--burnished-silver);
  font-size: 0.8rem;
}

.footer-address {
  margin-top: var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px solid var(--burnished-silver-dim);
  font-style: normal;
  color: var(--burnished-silver);
  font-size: 0.9rem;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--asphalt-black);
  border-top: 1px solid var(--burnished-silver-dim);
  padding: var(--space-md);
  z-index: 2000;
  transform: translateY(100%);
  transition: transform 0.5s ease;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}
@media(min-width: 768px) {
  .cookie-banner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.cookie-banner.show {
  transform: translateY(0);
}

.cookie-text p {
  font-size: 0.9rem;
  color: var(--burnished-silver);
}
.cookie-text a {
  color: var(--warm-off-white);
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  gap: var(--space-sm);
}

/* Info Grid */
.info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}
@media(min-width: 768px) {
  .info-grid { grid-template-columns: 1fr 1fr; }
}

.info-card {
  background-color: var(--asphalt-black);
  border: 1px solid var(--burnished-silver-dim);
  padding: var(--space-md);
}
.info-card h3 {
  color: var(--canadian-red);
  margin-bottom: var(--space-sm);
}

.disclaimer-box {
  background-color: rgba(200, 58, 50, 0.1);
  border-left: 4px solid var(--canadian-red);
  padding: var(--space-sm) var(--space-md);
  margin-bottom: var(--space-md);
}

/* Legal & Policy Pages */
.policy-content {
  max-width: 800px;
  margin: 0 auto;
}

.policy-content h3 {
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
  color: var(--canadian-red);
  font-size: 1.3rem;
}

.policy-content p {
  margin-bottom: 1rem;
  color: var(--burnished-silver);
}

.policy-content ul {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
  color: var(--burnished-silver);
}

.policy-content li {
  margin-bottom: 0.5rem;
}

.policy-content strong {
  color: var(--warm-off-white);
}