/* Roofie About page prototype based on the approved About-page structure. */

.roofie-about {
  background: #fff;
  color: var(--site-ink);
}

.roofie-about * {
  box-sizing: border-box;
}

.roofie-about-shell {
  width: min(1170px, calc(100% - 30px));
  margin: 0 auto;
}

.roofie-about-breadcrumbs {
  padding: 13px 0;
  border-bottom: 1px solid var(--site-border);
  background: var(--site-soft);
  font-size: 14px;
}

.roofie-about-breadcrumbs a {
  color: var(--site-muted);
}

.roofie-about-breadcrumbs span {
  margin: 0 8px;
  color: var(--site-muted);
}

.roofie-about-hero {
  position: relative;
  min-height: 470px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--site-ink);
  color: #fff;
}

.roofie-about-hero__placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 28px;
  background:
    linear-gradient(90deg, rgba(var(--site-ink-rgb),.82) 0%, rgba(var(--site-ink-rgb),.62) 46%, rgba(var(--site-ink-rgb),.24) 100%),
    linear-gradient(135deg, var(--site-muted) 0%, var(--site-ink) 55%, var(--site-muted) 100%);
}

.roofie-about-hero__placeholder::before {
  content: '';
  position: absolute;
  inset: 20px;
  border: 1px dashed rgba(255,255,255,.25);
  border-radius: 8px;
}

.roofie-about-hero__placeholder-label {
  position: relative;
  z-index: 1;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(var(--site-ink-rgb),.35);
  color: rgba(255,255,255,.68);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.roofie-about-hero__content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding: 90px 0;
}

.roofie-about-hero h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(54px, 6vw, 78px);
  line-height: .98;
  letter-spacing: -.02em;
}

.roofie-about-section {
  padding: 96px 0;
}

.roofie-about-section--soft {
  background: var(--site-soft);
}

.roofie-about-eyebrow {
  display: block;
  margin-bottom: 14px;
  color: var(--site-accent);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.roofie-about-section h2 {
  max-width: 820px;
  margin: 0 0 24px;
  color: var(--site-ink);
  font-size: clamp(34px, 4vw, 50px);
  line-height: 1.08;
}

.roofie-about-copy {
  max-width: 850px;
}

.roofie-about-copy .roofie-about-placeholder-lines + .roofie-about-placeholder-lines {
  margin-top: 18px;
}

.roofie-about-placeholder-lines {
  display: grid;
  gap: 10px;
  max-width: 760px;
}

.roofie-about-placeholder-lines > span:empty:not([data-roofie-context-lead]) {
  display: block;
  height: 11px;
  border-radius: 999px;
  background: var(--site-border);
}

.roofie-about-placeholder-lines > span:empty:not([data-roofie-context-lead]):nth-child(2) { width: 92%; }
.roofie-about-placeholder-lines > span:empty:not([data-roofie-context-lead]):nth-child(3) { width: 78%; }

.roofie-about-section-head {
  max-width: 900px;
  margin-bottom: 38px;
}

.roofie-about-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.roofie-about-card {
  min-height: 220px;
  padding: 30px;
  border: 1px solid var(--site-border);
  border-radius: 7px;
  background: #fff;
}

.roofie-about-card h3 {
  margin: 0 0 20px;
  color: var(--site-ink);
  font-size: 23px;
  line-height: 1.18;
}

.roofie-about-card .roofie-about-placeholder-lines > span:empty:not([data-roofie-context-lead]) {
  height: 9px;
}

.roofie-about-cta {
  padding: 72px 0;
  background: var(--site-accent);
  color: #fff;
}

.roofie-about-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}

.roofie-about-cta h2 {
  margin: 0 0 10px;
  color: #fff;
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1.08;
}

.roofie-about-cta p {
  margin: 0;
  color: rgba(255,255,255,.88);
}

.roofie-about-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  flex: 0 0 auto;
  padding: 12px 24px;
  border: 2px solid #fff;
  border-radius: 4px;
  background: #fff;
  color: var(--site-ink) !important;
  font-weight: 800;
  text-decoration: none;
}

.roofie-about-footer {
  padding: 54px 0 0;
  background: var(--site-ink);
  color: var(--site-onDark);
}

.roofie-about-footer__grid {
  display: grid;
  grid-template-columns: 1.7fr .8fr .8fr 1fr;
  gap: 42px;
  padding-bottom: 42px;
}

.roofie-about-footer__logo img {
  max-width: 145px;
  height: auto;
  filter: grayscale(1) brightness(4);
}

.roofie-about-footer__brand p {
  max-width: 390px;
  margin: 16px 0 0;
  color: var(--site-onDark);
  line-height: 1.7;
}

.roofie-about-footer__label {
  padding-top: 4px;
  color: #fff;
  font-size: 18px;
  font-weight: 800;
}

.roofie-about-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,.12);
  font-size: 14px;
}

.roofie-about-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.roofie-about-footer a {
  color: var(--site-onDark);
}

@media (max-width: 991px) {
  .roofie-about-hero {
    min-height: 420px;
  }

  .roofie-about-hero__content {
    padding: 76px 0;
  }

  .roofie-about-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .roofie-about-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .roofie-about-breadcrumbs {
    display: none;
  }

  .roofie-about-hero {
    min-height: 330px;
  }

  .roofie-about-hero__placeholder {
    padding: 16px;
    background:
      linear-gradient(90deg, rgba(var(--site-ink-rgb),.78) 0%, rgba(var(--site-ink-rgb),.58) 62%, rgba(var(--site-ink-rgb),.34) 100%),
      linear-gradient(135deg, var(--site-muted) 0%, var(--site-ink) 55%, var(--site-muted) 100%);
  }

  .roofie-about-hero__placeholder::before {
    inset: 12px;
  }

  .roofie-about-hero__placeholder-label {
    padding: 6px 9px;
    font-size: 10px;
  }

  .roofie-about-hero__content {
    padding: 54px 0;
  }

  .roofie-about-hero h1 {
    max-width: 300px;
    font-size: 48px;
  }

  .roofie-about-section {
    padding: 68px 0;
  }

  .roofie-about-grid,
  .roofie-about-footer__grid {
    grid-template-columns: 1fr;
  }

  .roofie-about-card {
    min-height: 0;
    padding: 24px;
  }

  .roofie-about-cta {
    padding: 54px 0;
  }

  .roofie-about-cta__inner,
  .roofie-about-footer__bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .roofie-about-btn {
    min-height: 44px;
    padding: 9px 18px;
    font-size: 14px;
  }
}

@media (max-width: 420px) {
  .roofie-about-hero {
    min-height: 300px;
  }

  .roofie-about-hero h1 {
    font-size: 43px;
  }
}
