/* Shared site footer — extracted from style.css so /news etc. can reuse it */
/* ---------- Footer ---------- */
/* pinned-reveal: news pins to the viewport bottom, footer slides up over it */
.news-footer-spacer { height: 0; }
.footer {
  background: #1c1c27;
  color: #fff;
  padding: clamp(8rem, 9vw, 8rem) clamp(1.5rem, 5vw, 4.5rem) clamp(2rem, 4vw, 3rem);
  position: relative;
  z-index: 2;
}
.footer-inner {
  max-width: 1500px;
  margin: 0 auto;
}
.footer-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: clamp(1.75rem, 3vw, 2.5rem);
}
.footer-cta__left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.footer-book {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.2rem 2.2rem;
  background: transparent;
  color: #fff;
  border: 1px solid #fff;
  border-radius: 999px;
  text-decoration: none;
  font-size: 1.05rem;
  transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease;
}
.footer-book:hover { transform: translateY(-2px); background: #fff; color: #1c2e42; }
.footer-book svg { transition: transform 0.25s ease; }
.footer-book:hover svg { transform: translateX(5px); }
.footer-heading {
  font-size: clamp(3rem, 9vw, 7rem);
  line-height: 0.98;
  font-weight: 500;
  white-space: nowrap;
  letter-spacing: normal !important;
  overflow: hidden;              /* mask for the slide-up reveal */
  padding-bottom: 0.08em;        /* room so descenders aren't clipped */
}
.footer-heading__inner {
  display: inline-block;
  transform: translateY(115%);
  transition: transform 1.4s cubic-bezier(0.16, 1, 0.3, 1) 0.5s;
  letter-spacing: -0.2rem !important;
}
.footer-heading.is-revealed .footer-heading__inner {
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .footer-heading__inner { transform: none; transition: none; }
}
.footer-heading__apos {
  display: inline-block;
  position: relative;
  left: 0.07em;
}
.footer-heading__finger {
  flex: none;
  font-size: 7rem;
  height: 2.5em;
  width: auto;
  position: relative;
  right: 100px;
  transform-origin: 50% 100%;
  will-change: transform, opacity;
  animation: rabbit-idle 4s ease-in-out infinite;
}
/* resting state: slow rock left and right (~10deg each way) — keyframes must live
   here too since style.css (which also defines them) isn't loaded on these pages */
@keyframes rabbit-idle {
  0%, 100% { transform: rotate(-10deg); }
  50%      { transform: rotate(10deg); }
}
@media (prefers-reduced-motion: reduce) {
  .footer-heading__finger { animation: none; }
}
.footer-heading__dot {
  display: inline-block;
  width: 0.16em;
  height: 0.16em;
  border-radius: 50%;
  background: #ff4844;
  color: transparent;
  overflow: hidden;
  vertical-align: baseline;
  margin-left: 0.04em;
}
.footer-getintouch {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0.6rem 0.6rem 1.6rem;
  background: #fff;
  color: #1c2e42;
  border-radius: 999px;
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 500;
}
.footer-getintouch__arrow {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #000;
  color: #fff;
  transition: transform 0.25s ease;
}
.footer-getintouch:hover .footer-getintouch__arrow { transform: translateX(4px); }
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 0.6fr 1.9fr;
  gap: clamp(1.25rem, 2.5vw, 2rem);
  padding: clamp(2.5rem, 5vw, 4rem) 0;
  margin-top: clamp(3rem, 6vw, 5rem);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-style: normal;
}
.footer-name { color: #fff; font-size: 1.05rem; }
.footer-contact a[href^="tel"] {
  color: #fff;
  font-size: 1.05rem;
  text-decoration: none;
}
.footer-contact .footer-email {
  color: #ff4844;
  font-size: 1.05rem;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}
.footer-contact .footer-email:hover { color: #ff6b68; }
.footer-social { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.footer-col .footer-social a {
  color: #cfcfd6;
  font-size: 1.05rem;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}
.footer-col .footer-social a:hover { color: #fff; }
.footer-col__title {
  font-size: 1.04rem;
  font-weight: 400;
  margin-bottom: clamp(1rem, 2vw, 0.75rem);
}
/* office columns (Belfast, Dublin, Philadelphia) */
.footer-col[aria-label$="office"] .footer-col__title { font-size: 1.3rem; }
.footer-news .footer-col__title { margin-left: 10px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.65rem; }
.footer-col a {
  color: #a0a0a8;
  text-decoration: none;
  font-size: 1.05rem;
  transition: color 0.2s ease;
}
.footer-col a:hover { color: #fff; }
.footer-news { max-width: 420px; justify-self: end; width: 100%; }
.footer-form {
  position: relative;
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 999px;
  padding: 0.4rem 0.4rem 0.4rem 1.5rem;
}
.footer-input {
  flex: 1;
  border: 0;
  background: none;
  outline: none;
  font: inherit;
  font-size: 1.05rem;
  color: #1c2e42;
  padding: 0.65rem 0;
}
.footer-input::placeholder { color: #8a8a97; }
.footer-submit {
  flex: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: #ff4844;
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: transform 0.2s ease;
}
.footer-submit:hover { transform: translateX(3px); }
.footer-consent {
  margin-top: 1rem;
  color: #a0a0a8;
  font-size: 0.8rem;
  padding-left: 10px;
}
.footer-consent a { color: #a0a0a8; text-underline-offset: 3px; }
.footer-consent a:hover { color: #fff; }
.footer-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem 2rem;
  flex-wrap: wrap;
  padding-top: clamp(2rem, 4vw, 3.5rem);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
.footer-ico {
  height: 26px;
  width: auto;
  display: block;
  align-self: flex-start;
  opacity: 0.2;
}
.footer-group {
  font-size: 0.8rem;
  font-weight: 400;
  color: #fff;
  letter-spacing: 0.02rem;
}
.footer-group a {
  color: #fff;
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-group a:hover { color: #ff4844; }
.footer-legal {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
}
.footer-legal a {
  color: #a0a0a8;
  text-decoration: none;
  font-size: 0.8rem;
  transition: color 0.2s ease;
}
.footer-legal a:hover { color: #fff; }
.footer-copy { color: #fff; font-size: 0.8rem; }
@media (max-width: 820px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-news { grid-column: 1 / -1; justify-self: stretch; max-width: none; }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
}
/* uniform letter-spacing across all footer text */
.footer, .footer * { letter-spacing: 0.02rem; }
/* uniform button weight */
.contact-btn,
.footer-book,
.footer-submit,
.ps-btn,
.view-all,
button {
  font-weight: 400;
}
.aidan-card-footer {
  padding: 12px 20px; background: #f8f9fa; border-top: 1px solid #e8e8e8;
  display: flex; justify-content: center; font-size: 12px; color: #9ca3af;
}
/* Greycliff CF across the lower footer (contact, social, newsletter, bottom bar) */
.footer-grid, .footer-grid *,
.footer-social, .footer-social *,
.footer-news, .footer-news *,
.footer-bottom, .footer-bottom * {
  font-family: 'greycliff-cf', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
}
/* "Let's Chat." footer heading in Lexend */
.footer-heading {
  font-family: "Lexend", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
/* Clutch review badge (footer CTA) — inlined SVG with live Roboto "N REVIEWS" text */
.footer-cta__actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-top: 1.75rem;
}
.clutch-badge { display: inline-flex; text-decoration: none; }
.clutch-badge__svg { height: 64px; width: auto; display: block; }
/* both sit in a centered flex row — drop the book's stacked margin so they align */
.footer-cta__actions .footer-book { margin-top: 2px; }
