/* ------------------------------------------------------------------
   Revenue Resolutions footer  (v2.0)
   Tokens fall back to the site hexes if the theme's --rr-* are absent.
------------------------------------------------------------------- */
.rr-footer{
  --f-bg: var(--rr-forest, #0d261f);
  --f-grad: none;
  --f-text: #f4efe4;
  --f-muted: rgba(244,239,228,.82);
  --f-line: rgba(244,239,228,.22);
  --f-gold: var(--rr-gold, #c9a66b);
  --f-gold-line: rgba(201,166,107,.85);
  --f-swoosh: 1;
  --f-serif: var(--rr-serif, "Gelasio", Georgia, serif);
  --f-sans: var(--rr-sans, "Roboto", Arial, sans-serif);
  --f-head: "Montserrat", var(--f-sans);
  position: relative;
  overflow: hidden;
  background-color: var(--f-bg);
  background-image: var(--f-grad);
  color: var(--f-text);
  font-family: var(--f-sans);
  display: flow-root;
}
.rr-footer *{box-sizing:border-box}
.rr-footer a{color:inherit;text-decoration:none}
.rr-footer a:hover,.rr-footer a:focus-visible{color:var(--f-gold)}
.rr-footer :focus-visible{outline:2px solid var(--f-gold);outline-offset:3px}

/* ---- Background choices: <footer class="rr-footer rr-footer--forest|ink|paper|paper-2"> ---- */
.rr-footer--forest{
  --f-bg:#0d261f;
  --f-grad:
    radial-gradient(90% 120% at 0% 100%, rgba(31,84,66,.55) 0%, rgba(31,84,66,0) 60%),
    linear-gradient(180deg,#0f2b23 0%,#0b211b 100%);
}
.rr-footer--ink{ --f-bg:#0c0c0c; --f-swoosh:.55; }
.rr-footer--paper,
.rr-footer--paper-2{
  --f-text:#14201f;
  --f-muted:rgba(20,32,31,.78);
  --f-line:rgba(20,32,31,.25);
  --f-gold:#7e5f28;
  --f-gold-line:rgba(126,95,40,.6);
  --f-swoosh:.28;
}
.rr-footer--paper{ --f-bg:#f4efe4; }
.rr-footer--paper-2{ --f-bg:#ebe4d3; }

/* decorative swoosh, bottom-left */
.rr-footer__upper{position:relative}
.rr-footer__swoosh{
  position:absolute; left:0; bottom:0; height:min(100%,620px); width:auto;
  opacity:var(--f-swoosh); pointer-events:none; z-index:0;
}

/* ---- main grid ---- */
.rr-footer__main{
  position:relative; z-index:1;
  width:min(1560px, 100% - 80px); margin:0 auto;
  padding:76px 0 72px;
  display:grid;
  grid-template-columns:minmax(0,1.55fr) minmax(0,1.1fr) minmax(0,.8fr) minmax(0,.8fr) minmax(350px,1.65fr);
  column-gap:44px;
  align-items:start;
}

/* brand column */
.rr-footer__brand{display:inline-flex;flex-direction:column;align-items:flex-start;gap:10px}
.rr-footer__brand img{display:block;height:auto}
.rr-footer__brand .name{
  font-family:var(--f-head); font-weight:500; font-size:24px;
  letter-spacing:.12em; line-height:1.15; text-transform:uppercase;
}
.rr-footer__brand .tag{
  font-family:var(--f-head); font-size:10px; letter-spacing:.16em;
  text-transform:uppercase; color:var(--f-gold);
}
.rr-footer__headline{
  margin:34px 0 18px; max-width:15em;
  font-family:var(--f-serif); font-weight:400; font-size:32px; line-height:1.18;
}
.rr-footer__statement{
  margin:0; max-width:27em;
  font-size:15px; font-weight:300; line-height:1.85; letter-spacing:.025em; color:var(--f-muted);
}

/* link columns */
.rr-footer__h{
  position:relative; margin:0 0 30px; padding-bottom:18px;
  font-family:var(--f-head); font-weight:500; font-size:13px; line-height:1.2;
  letter-spacing:.24em; text-transform:uppercase; color:var(--f-gold);
}
.rr-footer__h::after{
  content:""; position:absolute; left:0; bottom:0; width:54px; height:2px; background:var(--f-gold);
}
.rr-footer__col{display:flex;flex-direction:column;gap:20px;list-style:none;margin:0;padding:0}
.rr-footer__col li{margin:0;padding:0}
.rr-footer__col a{font-family:var(--f-serif); font-size:17px; line-height:1.35}

/* contact column */
.rr-footer__contact-col{
  border-left:1px solid var(--f-line);
  padding-left:48px; margin-left:8px;
}
.rr-footer__contact{list-style:none;margin:0;padding:0;display:grid;gap:22px}
.rr-footer__contact li{display:flex;gap:18px;align-items:flex-start;font-size:16px;font-weight:300;line-height:1.5;letter-spacing:.01em}
.rr-footer__ico{
  flex:none; width:26px; height:26px; margin-top:-1px;
  fill:none; stroke:var(--f-gold); stroke-width:1.5; stroke-linecap:round; stroke-linejoin:round;
}
.rr-footer__cta{
  display:flex; align-items:center; justify-content:space-between; gap:26px;
  margin-top:38px; padding:22px 26px; white-space:nowrap;
  background:linear-gradient(180deg,#dcb877 0%,#c9a25f 100%);
  color:#0d261f; border-radius:2px; box-shadow:0 8px 22px rgba(0,0,0,.28);
  font-family:var(--f-head); font-weight:600; font-size:12.5px; letter-spacing:.15em; text-transform:uppercase;
  transition:transform .2s, box-shadow .2s, filter .2s;
}
.rr-footer a.rr-footer__cta:hover,.rr-footer a.rr-footer__cta:focus-visible{
  color:#0d261f; filter:brightness(1.07); transform:translateY(-1px);
}
.rr-footer__arrow{flex:none;width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;transition:transform .2s}
.rr-footer__cta:hover .rr-footer__arrow{transform:translateX(4px)}
.rr-footer--paper .rr-footer__cta,
.rr-footer--paper-2 .rr-footer__cta{background:#7e5f28;color:#f4efe4;box-shadow:0 6px 16px rgba(0,0,0,.15)}
.rr-footer--paper a.rr-footer__cta:hover,
.rr-footer--paper-2 a.rr-footer__cta:hover{color:#f4efe4}

/* ---- optional newsletter band ---- */
.rr-footer__signup{
  position:relative; z-index:1;
  width:min(1560px, 100% - 80px); margin:0 auto;
  border-top:1px solid var(--f-line);
  padding:40px 0;
  display:grid; grid-template-columns:1fr 2fr; column-gap:56px; align-items:start;
}
.rr-footer .rr-footer__signup h2{
  margin:0; padding-top:18px; font-family:var(--f-serif); font-weight:400; line-height:1.2;
  font-size:24px; letter-spacing:.06em; text-transform:uppercase;
  color:var(--f-text) !important; /* beats theme heading colours */
}
.rr-footer__signup > form{display:grid;grid-template-columns:1fr 1fr 1.4fr auto;gap:24px;align-items:end}
.rr-footer__field{display:block}
.rr-footer__field span{display:block;font-size:14px;letter-spacing:.04em;margin-bottom:4px}
.rr-footer__field input{
  width:100%; background:transparent; border:0;
  border-bottom:1px solid var(--f-text); color:var(--f-text);
  font:inherit; font-size:15px; padding:6px 0 8px; border-radius:0;
}
.rr-footer__field input:focus{outline:0;border-bottom-color:var(--f-gold)}
.rr-footer__consent{grid-column:1 / -1; margin:6px 0 0; font-size:12px; line-height:1.4; color:var(--f-muted)}
.rr-footer__btn{
  display:inline-block; background:transparent; color:var(--f-text);
  border:1px solid var(--f-text); padding:13px 36px; cursor:pointer;
  font-family:var(--f-sans); font-size:13px; letter-spacing:.14em; text-transform:uppercase;
  transition:background .2s,color .2s,border-color .2s;
}
.rr-footer__btn:hover,.rr-footer__btn:focus-visible{background:var(--f-gold);border-color:var(--f-gold);color:var(--f-bg)}
.rr-footer__form-slot input[type=text],.rr-footer__form-slot input[type=email]{
  width:100%;background:transparent;border:0;border-bottom:1px solid var(--f-text);
  color:var(--f-text);font:inherit;font-size:15px;padding:6px 0 8px;border-radius:0}
.rr-footer__form-slot label{color:var(--f-text);font-size:14px}
.rr-footer__form-slot input[type=submit],.rr-footer__form-slot button{
  background:transparent;color:var(--f-text);border:1px solid var(--f-text);padding:13px 36px;
  cursor:pointer;font-size:13px;letter-spacing:.14em;text-transform:uppercase}
.rr-footer__form-slot input[type=submit]:hover,.rr-footer__form-slot button:hover{
  background:var(--f-gold);border-color:var(--f-gold);color:var(--f-bg)}
/* Mailchimp for WP forms in the newsletter band */
.rr-footer__form-slot form{margin:0}
.rr-footer__form-slot p{margin:0}
.rr-footer__form-slot .rrf-nl{display:grid;grid-template-columns:1fr 1fr 1.4fr auto;gap:24px;align-items:end}
.rr-footer__form-slot .rrf-nl label{display:block;font-size:14px;letter-spacing:.04em}
.rr-footer__form-slot .rrf-nl label input{margin-top:4px}
.rr-footer__form-slot .rrf-nl .rrf-consent{grid-column:1 / -1;font-size:12px;line-height:1.4;color:var(--f-muted)}
.rr-footer__form-slot .rrf-nl .rrf-consent a{text-decoration:underline}
/* the default Mailchimp for WP markup (everything in one paragraph) */
.rr-footer__form-slot .mc4wp-form-fields > p{display:flex;flex-wrap:nowrap;align-items:flex-end;gap:18px 24px}
.rr-footer__form-slot .mc4wp-form-fields > p label{display:flex;flex:2 1 0;align-items:flex-end;gap:6px 12px;min-width:0;font-size:14px;white-space:nowrap}
.rr-footer__form-slot .mc4wp-form-fields > p label:last-of-type{flex:1.1 1 0}
.rr-footer__form-slot .mc4wp-form-fields > p input[type=text],
.rr-footer__form-slot .mc4wp-form-fields > p input[type=email]{flex:1 1 0;width:auto;min-width:0}
.rr-footer__form-slot .mc4wp-form-fields > p input[type=submit]{flex:none}
.rr-footer__form-slot .mc4wp-response{margin-top:14px;font-size:14px;line-height:1.5}
.rr-footer__form-slot .mc4wp-response p{margin:0}

/* ---- bottom bar ---- */
.rr-footer__bar{
  position:relative; z-index:1;
  border-top:1px solid var(--f-gold-line);
  padding:36px clamp(24px,3.4vw,65px);
  display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:20px 32px;
  font-size:15px; font-weight:300; letter-spacing:.045em; line-height:1.5;
}
.rr-footer__bar-left,.rr-footer__bar-right{display:flex;align-items:center;flex-wrap:wrap;gap:14px 30px}
.rr-footer__sep{display:block;width:1px;height:28px;background:var(--f-line);flex:none}
.rr-footer__bar-left .rr-footer__sep{margin:0 30px 0 0}
.rr-footer__legal{display:flex;align-items:center;list-style:none;margin:0;padding:0}
.rr-footer__legal li{margin:0;padding:0;line-height:1}
.rr-footer__credit{color:var(--f-muted)}
.rr-footer__legal li + li{margin-left:22px;padding-left:22px;border-left:1px solid var(--f-line)}
.rr-footer__social{display:flex;align-items:center;gap:30px}
.rr-footer__social a{display:grid;place-items:center;color:var(--f-gold);line-height:0}
.rr-footer__social a:hover{color:var(--f-text)}
.rr-footer__social svg{width:25px;height:25px;fill:currentColor}
.rr-footer__top{
  display:inline-flex;align-items:center;gap:12px;
  font-family:var(--f-head); font-weight:500; font-size:12px; letter-spacing:.2em; text-transform:uppercase; color:var(--f-gold);
}
.rr-footer__top:hover{color:var(--f-text)}
.rr-footer__chev{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.rr-footer__bar-right .rr-footer__sep{margin:0}

/* ---- responsive ---- */
@media (max-width:1280px){
  .rr-footer__form-slot .mc4wp-form-fields > p{flex-wrap:wrap}
  .rr-footer__form-slot .mc4wp-form-fields > p label{flex:1 1 260px;white-space:normal}
  .rr-footer__main{grid-template-columns:repeat(3,1fr);row-gap:56px;column-gap:40px;padding:60px 0}
  .rr-footer__brand-col{grid-column:1 / -1}
  .rr-footer__contact-col{
    grid-column:1 / -1; margin:0; padding:48px 0 0; border-left:0; border-top:1px solid var(--f-line);
    display:grid; grid-template-columns:minmax(0,1fr) auto; column-gap:48px; align-items:start;
  }
  .rr-footer__contact-col .rr-footer__h{grid-column:1 / -1}
  .rr-footer__cta{margin-top:0;align-self:start}
  .rr-footer__signup{grid-template-columns:1fr;row-gap:24px}
  .rr-footer__signup > form,.rr-footer__form-slot .rrf-nl{grid-template-columns:1fr 1fr}
}
@media (max-width:760px){
  .rr-footer__main,.rr-footer__signup{width:calc(100% - 48px)}
  .rr-footer__main{grid-template-columns:1fr 1fr;column-gap:28px;row-gap:44px;padding:48px 0}
  .rr-footer__headline{font-size:28px}
  .rr-footer__contact-col{grid-template-columns:1fr}
  .rr-footer__cta{margin-top:30px}
  .rr-footer__signup > form,.rr-footer__form-slot .rrf-nl{grid-template-columns:1fr}
  .rr-footer__swoosh{height:min(100%,460px);opacity:calc(var(--f-swoosh) * .6)}
  .rr-footer__bar{flex-direction:column;align-items:flex-start;padding:28px 24px}
  .rr-footer__bar-left{flex-direction:column;align-items:flex-start;gap:14px}
  .rr-footer__bar-left .rr-footer__sep{display:none}
  .rr-footer__bar-right{width:100%;justify-content:space-between}
}
@media (prefers-reduced-motion:reduce){
  .rr-footer__cta,.rr-footer__arrow{transition:none}
}
