/* ============================================
   REDROCK STRATEGIES — SHARED STYLESHEET
   Color palette: vivid red / deep red / white
   No black.
   ============================================ */

/* Fonts loaded via <link> in HTML head for performance */

/* ── Variables ─────────────────────────────── */
:root {
  --red:        #C8102E;
  --red-deep:   #8B0020;
  --red-dark:   #3D0010;
  --red-muted:  #F8ECEE;
  --white:      #FFFFFF;
  --off-white:  #F9F5F4;
  --text:       #3D0010;      /* replaces black */
  --text-light: #7A3040;
  --border:     #E8D0D5;

  --font-head:  'Barlow Condensed', sans-serif;
  --font-body:  'Barlow', sans-serif;
  --font-serif: 'Crimson Pro', serif;

  --max-w: 1240px;
  --nav-h: 88px;
  --gap:   clamp(40px, 6vw, 96px);
}

/* ── Reset ─────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── Utility ───────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 60px);
}
.section { padding: var(--gap) 0; }
.label {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
  display: block;
  margin-bottom: 16px;
}
.label--white { color: rgba(255,255,255,0.7); }
.rule {
  width: 48px;
  height: 3px;
  background: var(--red);
  display: block;
  margin-bottom: 28px;
}
.rule--white { background: var(--white); }

/* ── Navigation ────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 100;
  transition: background 0.3s, box-shadow 0.3s;
}
.nav.scrolled {
  background: var(--red);
  box-shadow: 0 2px 24px rgba(61,0,16,0.25);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.nav__logo img {
  height: 54px;
  width: auto;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 40px;
}
.nav__links a {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  transition: color 0.2s;
}
.nav__links a:hover,
.nav__links a.active { color: var(--white); }
.nav__links a.active { border-bottom: 2px solid var(--red); padding-bottom: 2px; }
.nav__cta {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white) !important;
  background: var(--red);
  padding: 10px 24px;
  transition: background 0.2s !important;
  border: none !important;
}
.nav__cta:hover { background: var(--red-deep) !important; }

/* Hamburger */
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
}
.nav__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all 0.3s;
}
.nav__mobile {
  display: none;
  position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  background: var(--red);
  padding: 24px 0;
  z-index: 99;
}
.nav__mobile.open { display: block; }
.nav__mobile a {
  display: block;
  padding: 14px clamp(20px, 4vw, 60px);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nav__mobile a:hover { color: var(--white); background: rgba(255,255,255,0.04); }

/* ── Page Hero (inner pages) ───────────────── */
.page-hero {
  background: var(--red-dark);
  padding: calc(var(--nav-h) + 72px) 0 72px;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 4px;
  background: var(--red);
}
.page-hero__label { color: rgba(255,255,255,0.5); }
.page-hero h1 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(48px, 7vw, 96px);
  line-height: 0.95;
  letter-spacing: -0.01em;
  color: var(--white);
  text-transform: uppercase;
}
.page-hero__sub {
  margin-top: 20px;
  font-family: var(--font-serif);
  font-size: clamp(17px, 2vw, 22px);
  color: rgba(255,255,255,0.65);
  max-width: 580px;
  line-height: 1.5;
}

/* ── Buttons ───────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 16px 36px;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
}
.btn--red { background: var(--red); color: var(--white); }
.btn--red:hover { background: var(--red-deep); }
.btn--outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.4);
}
.btn--outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.06);
}
.btn--outline-dark {
  background: transparent;
  color: var(--red);
  border: 2px solid var(--red);
}
.btn--outline-dark:hover { background: var(--red); color: var(--white); }
.btn svg { width: 16px; height: 16px; }

/* ── Quote / Pull Block ────────────────────── */
.quote-block {
  background: var(--red-dark);
  padding: var(--gap) 0;
  position: relative;
}
.quote-block::before {
  content: '\201C';
  font-family: var(--font-serif);
  font-size: 280px;
  color: rgba(200,16,46,0.15);
  position: absolute;
  top: -40px; left: 40px;
  line-height: 1;
  pointer-events: none;
}
.quote-block__text {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(22px, 3.5vw, 40px);
  color: var(--white);
  line-height: 1.35;
  max-width: 860px;
}
.quote-block__attr {
  margin-top: 20px;
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}

/* ── CTA Strip ─────────────────────────────── */
.cta-strip {
  background: var(--red);
  padding: 72px 0;
}
.cta-strip__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.cta-strip h2 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(28px, 4vw, 52px);
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1;
}
.cta-strip p {
  font-family: var(--font-serif);
  font-size: 18px;
  color: rgba(255,255,255,0.75);
  margin-top: 8px;
}

/* ── Footer ────────────────────────────────── */
.footer {
  background: var(--red);
  padding: 64px 0 32px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}
.footer__logo img { height: 72px; margin-bottom: 20px; }
.footer__tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 15px;
  color: rgba(255,255,255,0.82);
  line-height: 1.5;
  max-width: 300px;
}
.footer__col p {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.78);
  margin-bottom: 20px;
}
.footer__col a {
  display: block;
  font-family: var(--font-body);
  font-size: 14px;
  color: rgba(255,255,255,0.82);
  margin-bottom: 10px;
  transition: color 0.2s;
}
.footer__col a:hover { color: var(--white); }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  flex-wrap: wrap;
  gap: 12px;
}
.footer__copy {
  font-family: var(--font-body);
  font-size: 12px;
  color: rgba(255,255,255,0.78);
}
.footer__legal a {
  font-size: 12px;
  color: rgba(255,255,255,0.78);
  margin-left: 20px;
  transition: color 0.2s;
}
.footer__legal a:hover { color: var(--white); }

/* ── Reveal animation ──────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.22,1,0.36,1), transform 0.7s cubic-bezier(0.22,1,0.36,1);
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }
.reveal-d4 { transition-delay: 0.4s; }

/* ── Responsive ────────────────────────────── */
@media (max-width: 900px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: flex; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .cta-strip__inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 600px) {
  :root { --nav-h: 64px; }
}
