/* this-is-canada.css — This Is Canada */

/* Page link color override (design handoff) */
a { color: var(--color-accent-700); }
a:hover { color: var(--color-accent-900); }

/* Sticky nav + ticker on desktop */
@media (min-width: 861px) {
  ctb-nav { position: sticky; top: 0; z-index: 60; }
  .tic-ticker { position: sticky; top: var(--masthead-h, 63px); z-index: 59; }
}

/* Ticker maple band */
.tic-ticker {
  background: var(--maple);
  color: oklch(0.98 0.005 27);
}

/* --- Hero --- */
.tic-hero { padding: 80px 0 56px; }

.tic-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 70px);
  align-items: start;
}

.tic-hero-aside { order: 1; }

.tic-stamp {
  display: inline-block;
  font-family: var(--scrawl);
  font-weight: 800;
  border: 2px solid var(--maple);
  color: var(--maple-deep);
  background: var(--maple-tint);
  padding: 5px 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 11.5px;
  border-radius: var(--radius-sm);
  transform: rotate(-2deg);
  margin: 0 0 21px;
}

.tic-h1 {
  text-transform: uppercase;
  font-family: var(--shout);
  font-weight: 400;
  font-size: clamp(38px, 5.5vw, 68px);
  line-height: 1.08;
  letter-spacing: 0.01em;
  margin: 35px 0 0;
}
.tic-h1 span { display: block; }

.tic-intro {
  font-size: 17px;
  line-height: 28px;
  max-width: 58ch;
  margin: 42px 0 0;
}

/* --- Sections --- */
.tic-section { padding: 0 0 70px; }

/* --- Featured essay --- */
.tic-essay-dateline {
  margin: 0 0 42px;
}

.tic-essay-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 42px clamp(28px, 5vw, 96px);
  align-items: start;
}

.tic-essay-h2 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin: 0;
}

.tic-essay-body {
  font-size: 15.5px;
  line-height: 28px;
  margin: 28px 0 0;
  text-align: justify;
  hyphens: auto;
}

/* Essay image placeholder */
.tic-essay-fig { margin: 0; }

.tic-essay-img {
  background: var(--color-neutral-200);
}

.tic-essay-caption {
  font-size: 13px;
  line-height: 28px;
  color: color-mix(in srgb, var(--color-text) 70%, transparent);
  margin-top: 14px;
}

/* --- Essay index --- */
.tic-index-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 14px 70px;
}

.tic-index-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 0;
  font-size: 15.5px;
  line-height: 28px;
  text-decoration: none;
  color: var(--color-text);
  transition: color 0.15s ease;
}
.tic-index-row:hover {
  color: var(--maple);
}

.tic-index-dots {
  flex: 1;
  min-width: 28px;
  align-self: flex-end;
  margin-bottom: 0.34em;
  border-bottom: 1px dotted color-mix(in srgb, var(--color-text) 45%, transparent);
}

.tic-index-page {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 17px;
  font-feature-settings: "pnum" 1;
}

/* --- "What we hold" columns --- */
.tic-hold-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 42px clamp(28px, 4vw, 64px);
}

.tic-hold-h3 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 24px;
  line-height: 28px;
  margin: 0;
}

.tic-hold-text {
  font-size: 15.5px;
  line-height: 28px;
  margin: 14px 0 0;
  color: color-mix(in srgb, var(--color-text) 78%, transparent);
}

/* --- Manifesto --- */
.tic-manifesto { padding: 14px 0 84px; }

.tic-quote {
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.5;
  letter-spacing: -0.01em;
  max-width: 34ch;
  margin: 0;
  text-indent: -0.475em;
}

.tic-quote-caption {
  font-size: 15.5px;
  line-height: 28px;
  color: color-mix(in srgb, var(--color-text) 70%, transparent);
  margin: 42px 0 0;
}

.tic-actions {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
  margin-top: 42px;
}
.tic-actions a { text-decoration: none; }

/* --- Responsive --- */
@media (max-width: 860px) {
  .tic-hero-grid { display: block; }
  .tic-hero-aside { margin-top: 42px; }
  h1 { overflow-wrap: break-word; }
}

@media (max-width: 480px) {
  .btn { width: 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
