/* British Columbia Holdings Ltd */

:root {
  --ink: #1d262b;
  --ink-2: #26323a;
  --cream: #f7f3ee;
  --sand: #efe8de;
  --paper: #fffdf9;
  --line: #e2d8cb;
  --muted: #5a656b;
  --brick: #a8472f;
  --brick-dark: #8c3924;
  --brick-light: #e08a6d;
  --on-dark: #f3eee7;
  --on-dark-muted: #b9b4ad;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(29, 38, 43, .06), 0 12px 32px rgba(29, 38, 43, .08);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --header-h: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
  margin: 0 0 .75rem;
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -.01em;
}

p {
  margin: 0 0 1rem;
}

a {
  color: var(--brick);
  text-underline-offset: .2em;
}

a:hover {
  color: var(--brick-dark);
}

:focus-visible {
  outline: 3px solid var(--brick);
  outline-offset: 3px;
  border-radius: 4px;
}

#main:focus {
  outline: none;
}

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 100;
  padding: .7rem 1rem;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus {
  top: 12px;
  color: #fff;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 243, 238, .94);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.12rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -.01em;
  text-decoration: none;
}

.brand:hover {
  color: var(--ink);
}

.brand-suffix {
  display: inline-block;
  padding: .12rem .38rem;
  border: 1px solid currentColor;
  border-radius: 4px;
  color: var(--brick);
  font-family: var(--sans);
  font-size: .68rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: .14em;
  text-transform: uppercase;
  vertical-align: middle;
}

.site-nav ul {
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  padding: .4rem 0;
  border-bottom: 2px solid transparent;
  color: var(--ink);
  font-size: .97rem;
  font-weight: 500;
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--brick);
  border-bottom-color: currentColor;
}

.nav-toggle {
  display: none;
}

/* Hero */

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(3.5rem, 9vw, 7rem) 0 clamp(3.5rem, 8vw, 6rem);
  background:
    radial-gradient(60rem 30rem at 85% -10%, rgba(168, 71, 47, .28), transparent 60%),
    linear-gradient(165deg, var(--ink) 0%, var(--ink-2) 100%);
  color: var(--on-dark);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(243, 238, 231, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(243, 238, 231, .045) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
  mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  align-items: center;
  gap: 3rem;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--brick);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--brick-light);
}

.hero h1 {
  max-width: 15ch;
  margin-bottom: 1.25rem;
  font-size: clamp(2.35rem, 6vw, 3.9rem);
  line-height: 1.06;
}

.lead {
  max-width: 36rem;
  margin-bottom: 2rem;
  color: rgba(243, 238, 231, .84);
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: .75rem 1.4rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

.btn-primary {
  background: var(--brick);
  color: #fff;
}

.btn-primary:hover {
  background: var(--brick-dark);
  color: #fff;
}

.btn-ghost {
  border-color: rgba(243, 238, 231, .45);
  color: var(--on-dark);
}

.btn-ghost:hover {
  border-color: rgba(243, 238, 231, .8);
  background: rgba(243, 238, 231, .1);
  color: #fff;
}

.hero :focus-visible {
  outline-color: var(--brick-light);
}

/* Hero art: CSS-only building blocks */

.hero-art {
  position: relative;
  justify-self: center;
  width: 320px;
  max-width: 100%;
  height: 300px;
}

.block {
  position: absolute;
  bottom: 4px;
  border-radius: 3px 3px 0 0;
  background:
    repeating-linear-gradient(180deg, var(--wall) 0 16px, transparent 16px 40px),
    repeating-linear-gradient(90deg, var(--wall) 0 14px, transparent 14px 32px),
    var(--win);
  box-shadow: inset 0 6px 0 rgba(0, 0, 0, .12), 0 28px 50px rgba(0, 0, 0, .3);
}

.block-a {
  --wall: #a8472f;
  --win: #f1e4d3;
  left: 0;
  z-index: 2;
  width: 110px;
  height: 216px;
}

.block-b {
  --wall: #3b4a52;
  --win: #c9a27a;
  left: 90px;
  z-index: 1;
  width: 142px;
  height: 296px;
}

.block-c {
  --wall: #d8cab6;
  --win: #2c3940;
  left: 210px;
  z-index: 2;
  width: 110px;
  height: 256px;
}

.ground {
  position: absolute;
  right: -16px;
  bottom: 0;
  left: -16px;
  height: 4px;
  border-radius: 2px;
  background: rgba(243, 238, 231, .4);
}

/* Sections */

.section {
  padding: clamp(4rem, 9vw, 6.5rem) 0;
}

.section-alt {
  background: var(--sand);
}

.section-head {
  max-width: 40rem;
  margin-bottom: 2.5rem;
}

.section-head p:last-child {
  color: var(--muted);
}

.section h2 {
  font-size: clamp(1.85rem, 3.6vw, 2.6rem);
}

.cards {
  display: grid;
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.card {
  position: relative;
  overflow: hidden;
  padding: 2rem 1.75rem 1.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--brick), var(--brick-light));
}

.card-num {
  display: block;
  margin-bottom: 1.25rem;
  color: var(--brick);
  font-family: var(--serif);
  font-size: 2.4rem;
  font-weight: 500;
  line-height: 1;
}

.card h3 {
  font-size: 1.35rem;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.split {
  display: grid;
  align-items: start;
  gap: 2.5rem;
}

.split-copy p {
  max-width: 34rem;
}

.text-link {
  font-weight: 600;
}

.panel {
  margin: 0;
  padding: 1.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.facts div {
  display: grid;
  gap: .15rem;
  padding: .9rem 0;
  border-bottom: 1px solid var(--line);
}

.facts div:first-child {
  padding-top: 0;
}

.facts div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.facts dt,
.panel-label {
  color: var(--muted);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.facts dd {
  margin: 0;
  font-weight: 500;
}

.panel-label {
  margin-bottom: .75rem;
  color: var(--brick);
}

address {
  font-size: 1.15rem;
  font-style: normal;
  line-height: 1.7;
}

/* Footer */

.site-footer {
  padding: 3rem 0 2.5rem;
  background: var(--ink);
  color: var(--on-dark);
  font-size: .95rem;
}

.footer-brand {
  margin-bottom: 1rem;
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 600;
}

.site-footer .brand-suffix {
  margin-left: .35rem;
  color: var(--brick-light);
}

.legal {
  max-width: 52rem;
  color: var(--on-dark-muted);
  font-size: .9rem;
}

.copyright {
  margin: 1.5rem 0 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(243, 238, 231, .12);
  color: var(--on-dark-muted);
  font-size: .9rem;
}

/* Responsive */

@media (max-width: 759px) {
  .nav-toggle {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--paper);
    cursor: pointer;
  }

  .nav-toggle-bar,
  .nav-toggle-bar::before,
  .nav-toggle-bar::after {
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 2px;
    background: var(--ink);
    transition: transform .2s ease, background-color .2s ease;
  }

  .nav-toggle-bar {
    position: relative;
  }

  .nav-toggle-bar::before,
  .nav-toggle-bar::after {
    content: "";
    position: absolute;
    left: 0;
  }

  .nav-toggle-bar::before {
    top: -6px;
  }

  .nav-toggle-bar::after {
    top: 6px;
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle-bar {
    background: transparent;
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle-bar::before {
    transform: translateY(6px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle-bar::after {
    transform: translateY(-6px) rotate(-45deg);
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    border-bottom: 1px solid var(--line);
    background: var(--cream);
    box-shadow: 0 16px 24px rgba(29, 38, 43, .08);
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    gap: 0;
    padding: .5rem 20px 1rem;
  }

  .site-nav a {
    display: block;
    padding: .85rem 0;
    border-bottom: 1px solid var(--line);
  }

  .site-nav li:last-child a {
    border-bottom: 0;
  }

  .site-nav a:hover {
    border-bottom-color: var(--line);
  }
}

@media (max-width: 359px) {
  .hero-art {
    display: none;
  }
}

@media (min-width: 480px) {
  .facts div {
    grid-template-columns: 11rem minmax(0, 1fr);
    gap: 1rem;
  }
}

@media (min-width: 768px) {
  .container {
    padding: 0 32px;
  }
}

@media (min-width: 860px) {
  .cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
  }

  .split {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4rem;
  }
}

@media (min-width: 900px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
    gap: 4rem;
  }

  .hero-art {
    justify-self: end;
    transform: scale(1.15);
    transform-origin: right bottom;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
