/*
Theme Name: BrandRebel Landing
Theme URI: https://brandrebel.jensengroup.ca/
Author: Jensen Group
Description: A one-page construction landing theme for BrandRebel.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: brandrebel-landing
*/

:root {
  --br-red: #d41428;
  --br-white: #ffffff;
  --br-black: #020203;
  --br-smoke: rgba(255, 255, 255, 0.72);
  --br-line: rgba(255, 255, 255, 0.84);
  --br-copy: clamp(1.45rem, 2.1vw, 2.8rem);
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
}

body {
  background: var(--br-black);
  color: var(--br-white);
  font-family: "Montserrat", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  overflow-x: hidden;
}

body.admin-bar .brandrebel-page {
  min-height: calc(100vh - 32px);
}

.brandrebel-page {
  isolation: isolate;
  min-height: 100vh;
  position: relative;
}

.brandrebel-page::before {
  background:
    linear-gradient(90deg, rgba(4, 4, 5, 0) 0%, rgba(4, 4, 5, 0.06) 32%, rgba(4, 4, 5, 0.62) 56%, rgba(2, 2, 3, 0.96) 100%),
    url("assets/images/BR-Landing Page-background.webp") center / cover no-repeat,
    #080808;
  content: "";
  inset: 0;
  position: fixed;
  z-index: -2;
}

.brandrebel-page::after {
  background:
    radial-gradient(circle at 83% 42%, rgba(255, 255, 255, 0.08), transparent 13rem),
    linear-gradient(180deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.62));
  content: "";
  inset: 0;
  pointer-events: none;
  position: fixed;
  z-index: -1;
}

.brandrebel-shell {
  align-items: center;
  display: grid;
  grid-template-columns: minmax(18rem, 0.96fr) minmax(25rem, 1fr);
  min-height: 100vh;
  padding: clamp(1.25rem, 4vw, 5rem);
}

.brandrebel-portrait-space {
  min-height: 34rem;
}

.brandrebel-content {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: clamp(1.45rem, 3.2vw, 3.65rem);
  justify-self: center;
  margin-left: clamp(-1rem, -2vw, 0rem);
  max-width: min(55rem, 100%);
  padding-top: clamp(0rem, 1.6vw, 2rem);
  text-align: center;
}

.brandrebel-logo {
  display: block;
  height: auto;
  max-width: min(38vw, 46rem);
  width: 100%;
}

.brandrebel-message {
  font-size: var(--br-copy);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.24;
  margin: 0;
  max-width: 52rem;
  text-wrap: balance;
}

.brandrebel-message strong {
  font-weight: 700;
}

.brandrebel-cta {
  align-items: center;
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid var(--br-line);
  color: var(--br-white);
  display: inline-flex;
  font-size: clamp(1rem, 1.45vw, 2rem);
  font-weight: 800;
  gap: clamp(1.4rem, 4vw, 5.8rem);
  justify-content: center;
  letter-spacing: 0.28em;
  line-height: 1;
  min-height: clamp(3.1rem, 4.35vw, 4.6rem);
  min-width: min(31.5rem, 100%);
  padding: 1rem clamp(1.5rem, 4vw, 3.5rem);
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.brandrebel-cta:focus-visible {
  outline: 3px solid var(--br-red);
  outline-offset: 5px;
}

.brandrebel-cta:hover {
  background: rgba(212, 20, 40, 0.15);
  border-color: var(--br-white);
  transform: translateY(-2px);
}

.brandrebel-cta svg {
  color: var(--br-red);
  flex: 0 0 auto;
  height: clamp(1.8rem, 2.6vw, 3rem);
  width: clamp(2.7rem, 4vw, 4.6rem);
}

.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

@media (max-width: 1180px) {
  .brandrebel-shell {
    grid-template-columns: minmax(13rem, 0.74fr) minmax(24rem, 1fr);
  }

  .brandrebel-logo {
    max-width: min(48vw, 39rem);
  }
}

@media (max-width: 820px) {
  body {
    overflow-y: auto;
  }

  .brandrebel-page::before {
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.04) 0%, rgba(0, 0, 0, 0.55) 46%, rgba(0, 0, 0, 0.9) 100%),
      url("assets/images/BR-Landing Page-background.webp") 25% center / cover no-repeat,
      #080808;
  }

  .brandrebel-shell {
    align-items: end;
    display: flex;
    min-height: 100svh;
    padding: 2rem 1.2rem 2.3rem;
  }

  .brandrebel-portrait-space {
    display: none;
  }

  .brandrebel-content {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.28));
    gap: 1.55rem;
    margin: 0;
    max-width: none;
    padding-top: 44vh;
    width: 100%;
  }

  .brandrebel-logo {
    max-width: min(92vw, 36rem);
  }

  .brandrebel-message {
    font-size: clamp(1.45rem, 6.2vw, 2.45rem);
    line-height: 1.26;
  }

  .brandrebel-cta {
    gap: 1.2rem;
    letter-spacing: 0.18em;
    min-width: min(100%, 24rem);
  }
}

@media (max-width: 420px) {
  .brandrebel-shell {
    padding-inline: 0.9rem;
  }

  .brandrebel-content {
    padding-top: 40vh;
  }

  .brandrebel-cta {
    font-size: 0.94rem;
    padding-inline: 1rem;
  }
}
