:root {
  /* UCalgary brand palette (ucalgary.ca/brand/standards-and-guidelines/colours,
     plus the live hover-state red pulled from your u_of_c_page.html) */
  --paper: #FFFFFF;
  --ink: #000000;
  --ink-muted: #6D6E71;   /* UCalgary "dark grey" */
  --line: #C7C8CA;        /* UCalgary "light grey" */
  --red: #D6001C;         /* UCalgary primary: red */
  --red-hover: #EE0E2C;   /* actual .btn hover/active red from ucalgary.ca's own CSS */
  --gold: #FFCD00;        /* UCalgary primary: gold */
  --orange: #FF671F;      /* UCalgary secondary: dark orange */
  --magenta: #ED0A72;     /* UCalgary secondary: rubine */
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Proxima Nova', sans-serif;
}

/* Brand signature: a solid red band and a thin gold rule underneath it --
   red and gold together, exactly as the two are meant to appear according
   to UCalgary's own guidelines, rather than a decorative gradient. */
.top-accent {
  height: 6px;
  background: var(--red);
  /* border-bottom: 3px solid var(--gold); */
}

.brand-bar {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  padding: 10px 20px;
  display: flex;
  justify-content: left;
}

.brand-bar img {
  /* height: 42px; */
  width: auto;
  display: block;
}

.header-bar {
  background: var(--red);
  color: white;
  padding: 20px 24px;
}

.header-bar h1 {
  font-family: 'Proxima Nova', sans-serif;
  margin: 0;
  font-size: 22px;
}

.eyebrow {
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  margin: 0 0 14px;
}

.hero {
  max-width: 760px;
  margin: 0 auto;
  padding: 64px 24px 40px;
  text-align: center;
}

.hero .site-title {
  font-family: 'Proxima Nova', sans-serif;
  font-size: clamp(22px, 3.4vw, 28px);
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 10px;
}

.hero h2.tagline {
  font-family: 'Proxima Nova', sans-serif;
  font-size: clamp(28px, 5vw, 42px);
  font-weight: 800;
  line-height: 1.15;
  color: var(--red);
  margin: 0 0 16px;
}

.hero p.subhead {
  font-family: 'Proxima Nova', sans-serif;
  font-size: 17px;
  color: var(--ink-muted);
  line-height: 1.6;
  max-width: 520px;
  margin: 0 auto 32px;
}

.cta-row {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-primary,
.cta-secondary {
  display: inline-block;
  position: relative;
  overflow: hidden;
  padding: 13px 35px 13px 35px;
  border-radius: 999px;   /* pill-shaped, matching ucalgary.ca's rounded CTAs (their own "btn-rounded" class) */
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  font-family: 'Proxima Nova', sans-serif;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}


.btn-arrow {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: auto 0;
  font-size: 14px;
  opacity: 0;
  transform: translateX(-16px);
  transition: transform 0.25s ease, opacity 0.25s ease;
  pointer-events: none;
}

.cta-primary:hover .btn-arrow,
.cta-primary:focus .btn-arrow,
.cta-secondary:hover .btn-arrow,
.cta-secondary:focus .btn-arrow {
  opacity: 1;
  transform: translateX(0);
}

@media (prefers-reduced-motion: reduce) {
  .btn-arrow { transition: none; }
}

.cta-primary {
  background: var(--red);
  color: white;
  border: 1.5px solid var(--red);
}

/* Hover color + shadow pulled directly from ucalgary.ca's .btn-primary hover rule */
.cta-primary:hover,
.cta-primary:focus {
  background: var(--red-hover);
  border-color: var(--red-hover);
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.25);
}

.cta-secondary {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink);
}

.cta-secondary:hover,
.cta-secondary:focus {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.25);
}

/* Signature element: a thin pulse-line divider, drawn once on load.
   Grounded in the subject rather than decorative for its own sake. */
.pulse-divider {
  max-width: 760px;
  margin: 8px auto 48px;
  padding: 0 24px;
}

.pulse-divider svg {
  width: 100%;
  height: 40px;
  display: block;
}

.pulse-divider path {
  fill: none;
  stroke: var(--red);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
  animation: draw-pulse 1.4s ease-out forwards;
}

@media (prefers-reduced-motion: reduce) {
  .pulse-divider path { animation: none; stroke-dashoffset: 0; }
}

@keyframes draw-pulse {
  to { stroke-dashoffset: 0; }
}

.info-section {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 24px 64px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.info-card {
  border: none;
  border-radius: 14px;   /* rounder corners, echoing the pill buttons */
  padding: 28px 24px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.15);  /* same shadow ucalgary.ca puts on its color-block buttons */
  font-family: 'Proxima Nova', sans-serif;
}

/* First box: red, matching the "power of red and gold" pairing UCalgary
   uses for its colored panels -- gold accent bar and a magenta underline
   thread in the secondary accent colour. */
.info-card:nth-of-type(1) {
  background: var(--red);
  /* border-top: 5px solid var(--gold); */
}

.info-card:nth-of-type(1) h3 {
  color: #ffffff;
  border-bottom: 2px solid var(--paper);
  display: inline-block;
  padding-bottom: 4px;
}

.info-card:nth-of-type(1) p { color: rgba(255, 255, 255, 0.9); }

/* Second box: gold, mirrored -- red accent bar, orange underline thread. */
.info-card:nth-of-type(2) {
  background: var(--gold);
  /* border-top: 5px solid var(--red); */
}

.info-card:nth-of-type(2) h3 {
  color: var(--ink);
  border-bottom: 2px solid var(--orange);
  display: inline-block;
  padding-bottom: 4px;
}

.info-card:nth-of-type(2) p { color: rgba(0, 0, 0, 0.75); }

.info-card h3 {
  font-family: 'Proxima Nova', sans-serif;
  margin: 0 0 10px;
  font-size: 16px;
}

.info-card p {
  font-family: 'Proxima Nova', sans-serif;
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
}

.features {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 24px 64px;
}

.features h3 {
  text-align: center;
  font-size: 18px;
  margin: 0 0 28px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-grid div p.label {
  font-weight: 700;
  margin: 0 0 6px;
  font-size: 15px;
  color: var(--ink);
}

.feature-grid div p.desc {
  margin: 0;
  color: var(--ink-muted);
  font-size: 13.5px;
  line-height: 1.5;
}

footer {
  border-top: 1px solid var(--line);
  padding: 24px;
  text-align: center;
  color: var(--ink-muted);
  font-size: 13px;
}

@media (max-width: 620px) {
  .info-section,
  .feature-grid { grid-template-columns: 1fr; }
}