.fit-site-footer {
  --footer-cream: #fdf7ef;
  --footer-ink: #0F172A;
  width: 100%;
  background: var(--footer-cream);
  color: var(--footer-ink);
  font: 400 15px/1.5 "General Sans", Arial, sans-serif;
}
.fit-site-footer, .fit-site-footer * { box-sizing: border-box; }
.fit-site-footer h2, .fit-site-footer h3 {
  margin: 0;
  font-family: "Hedvig Letters Serif", Georgia, serif;
  font-weight: 400;
  line-height: 1.12;
}
.fit-site-footer a { color: inherit; }
.fit-site-footer p { margin: 0; }
.fit-footer-banner {
  min-height: clamp(360px, 48vw, 640px);
  display: grid;
  align-items: end;
}
.fit-footer-banner-copy, .fit-footer-content { width: min(100%, 1360px); margin-inline: auto; padding-inline: clamp(20px, 5vw, 72px); }
.fit-footer-banner-copy { padding-block: 34px clamp(36px, 6vw, 70px); }
.fit-footer-banner h2 { font-size: clamp(38px, 5.4vw, 72px); max-width: 16ch; }
.fit-footer-banner p { max-width: 52ch; margin-top: 14px; }
.fit-footer-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.fit-site-footer .fit-footer-pill {
  display: inline-flex; justify-content: center; align-items: center; border: 0; border-radius: 999px;
  padding: 9px 17px; background: #efdfcd; color: var(--footer-ink); text-decoration: none;
  font: 500 14px/1.4 "General Sans", sans-serif; cursor: pointer; transition: background-color .2s ease;
}
.fit-site-footer .fit-footer-pill:hover { background: #e7d2b8; }
.fit-site-footer .fit-footer-secondary { background: #fffdf9; }
.fit-footer-insta-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 18px; }
.fit-footer-insta-heading h2 { font-size: clamp(24px, 3vw, 38px); }
.fit-footer-insta-heading a { font-size: 14px; }
.fit-footer-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.fit-footer-tile { position: relative; display: block; overflow: hidden; border-radius: 16px; aspect-ratio: 1; background: #efdfcd; }
.fit-footer-tile img { width: 100%; height: 100%; display: block; object-fit: cover; }
.fit-footer-tile:nth-child(2) img,
.fit-footer-tile:nth-child(4) img { transform: scale(1.16); }
.fit-site-footer svg { width: 18px; height: 18px; flex: none; }
.fit-footer-tile span { position: absolute; right: 12px; bottom: 12px; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 253, 249, .78); backdrop-filter: blur(8px); opacity: 0; transition: opacity .2s ease; }
.fit-footer-tile:is(:hover, :focus-visible) span { opacity: 1; }
.fit-footer-columns { display: grid; grid-template-columns: 1.25fr .75fr 1fr 1.15fr; gap: clamp(20px, 3.2vw, 50px); padding-block: clamp(34px, 5vw, 64px); }
.fit-footer-columns > * { min-width: 0; }
.fit-footer-columns h3 { font-size: clamp(22px, 2vw, 28px); margin-bottom: 14px; }
.fit-footer-columns ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 5px; }
.fit-footer-columns ul a, .fit-footer-columns address a { text-decoration: none; }
.fit-footer-columns a:hover { text-decoration: underline; }
.fit-footer-columns address { display: grid; gap: 8px; margin-top: 14px; font-style: normal; }
.fit-footer-columns address a { display: flex; gap: 8px; }
.fit-footer-columns dl { margin: 0; }
.fit-footer-columns dl div { display: flex; justify-content: space-between; flex-wrap: wrap; column-gap: 6px; padding: 3px 0; }
.fit-footer-columns dd { margin: 0; }
.fit-footer-form { display: grid; gap: 7px; }
.fit-footer-form label { display: grid; }
.fit-footer-form label > span { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); }
.fit-footer-form :is(input, textarea) { width: 100%; margin: 0; border: 1px solid #e6d7c8; border-radius: 8px; background: #fffdf9; padding: 7px 9px; color: inherit; font: inherit; resize: vertical; }
.fit-footer-form button { justify-self: start; }
.fit-footer-status { font-size: 13px; }
.fit-footer-bottom { display: grid; grid-template-columns: 1fr auto 1fr; gap: 14px; align-items: center; border-top: 1px solid #e6d7c8; padding-block: 18px; font-size: 13px; }
.fit-footer-bottom > :last-child { text-align: right; }
.fit-footer-social { display: flex; gap: 7px; }
.fit-footer-social a { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #f7ecdf; }
.fit-footer-social a:hover { background: #efdfcd; }
@media (max-width: 1000px) { .fit-footer-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) {
  .fit-footer-columns, .fit-footer-bottom { grid-template-columns: minmax(0, 1fr); }
  .fit-footer-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fit-footer-insta-heading { align-items: flex-start; flex-direction: column; }
  .fit-footer-bottom > :last-child { text-align: left; }
}

.fit-footer-form :is(input, textarea) {
  border: 0;
  background-color: #fffdf9;
  color: #475569;
  font-size: 13px;
  line-height: 1.45;
}
.fit-footer-form :is(input, textarea)::placeholder { color: #64748B; opacity: 1; }
.fit-footer-form :is(input, textarea):focus-visible { outline: 2px solid #4B5FA3; outline-offset: 2px; }

.fit-footer-insta-heading a { text-decoration: none; }
.fit-footer-form :is(input, textarea)::placeholder { opacity: .65; }

/* The same frame dimensions are consumed by the homepage hero. */
:root {
  --fit-frame-max: 100%;
  --fit-frame-gutter: 50px;
}
@media (min-width: 810px) and (max-width: 1199.98px) {
  :root { --fit-frame-gutter: 30px; }
}
@media (max-width: 809.98px) {
  :root { --fit-frame-gutter: 10px; }
}

footer.fit-site-footer {
  --footer-inset: clamp(22px, 4.8vw, 76px);
  width: calc(100% - 2 * var(--fit-frame-gutter));
  max-width: var(--fit-frame-max);
  margin: 0 auto var(--fit-frame-gutter);
  container-type: inline-size;
  background: transparent;
  border-radius: 0 0 24px 24px;
  overflow: hidden;
}

/* The photo and crown share the full footer frame. */
footer.fit-site-footer {
  --rise: clamp(36px, 3cqi, 48px);
  --crown-width: clamp(156px, 32cqi, 440px);
  --corner: 24px;
  --corner-mask: #000 calc(100% - .7px), transparent;
  mask:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M0 100C21 100 31 0 50 0S79 100 100 100Z'/%3E%3C/svg%3E") center top / var(--crown-width) calc(var(--rise) + 1px) no-repeat,
    radial-gradient(circle var(--corner) at bottom right, var(--corner-mask)) left 0 top var(--rise) / var(--corner) var(--corner) no-repeat,
    radial-gradient(circle var(--corner) at bottom left, var(--corner-mask)) right 0 top var(--rise) / var(--corner) var(--corner) no-repeat,
    linear-gradient(#000 0 0) center bottom / calc(100% - 2 * var(--corner) + 1px) calc(100% - var(--rise)) no-repeat,
    linear-gradient(#000 0 0) center bottom / 100% calc(100% - var(--rise) - var(--corner) + 1px) no-repeat;
  background: url("/fit-footer-blue-final.png") center / cover no-repeat;
  background-blend-mode: normal;
}
.fit-footer-banner {
  min-height: calc(clamp(320px, 38vw, 520px) + var(--rise));
  padding-top: var(--rise);
}
@media (max-width: 1199.98px) {
  footer.fit-site-footer.fit-site-footer { --rise: 30px; }
}
@media (max-width: 809.98px) {
  footer.fit-site-footer.fit-site-footer { --rise: 24px; --crown-width: clamp(156px, 44cqi, 440px); --corner: 20px; }
}

.fit-footer-banner-copy, .fit-footer-content {
  width: 100%;
  max-width: none;
  padding-inline: var(--footer-inset);
}
.fit-footer-banner-copy { padding-block: 42px clamp(36px, 5vw, 76px); }
#main footer.fit-site-footer .fit-footer-banner-copy :is(h2,p) { color: #fff !important; }
.fit-footer-content { background: transparent; padding-top: clamp(54px, 6vw, 96px); }
.fit-footer-social { justify-self: center; }
@media (max-width: 600px) {
  .fit-footer-bottom { justify-items: center; text-align: center; }
  .fit-footer-bottom > :last-child { text-align: center; }
}

#main footer.fit-site-footer .fit-footer-content,
#main footer.fit-site-footer .fit-footer-content :is(h2,h3,p,a,dt,dd,label) {
  color: #fff !important;
}

@layer fit-actions {
  footer.fit-site-footer.fit-site-footer,
  footer.fit-site-footer.fit-site-footer *,
  footer.fit-site-footer.fit-site-footer *::before,
  footer.fit-site-footer.fit-site-footer *::after {
    text-shadow: none !important;
    box-shadow: none !important;
    filter: none !important;
  }
}

/* Editorial footer layout from the supplied PSD. */
footer.fit-site-footer { --footer-inset: clamp(20px, 3.65cqi, 85px); }
.fit-footer-banner {
  grid-template-columns: minmax(0, 44fr) minmax(0, 56fr);
  align-items: center;
  gap: 2cqi;
  min-height: 0;
  padding: calc(var(--rise) + 5.25cqi) var(--footer-inset) 2.5cqi;
}
.fit-footer-banner-copy { padding: 0; }
.fit-footer-banner h2 { font-size: clamp(32px, 3.55cqi, 72px); }
.fit-footer-banner p { max-width: 32em; }
.fit-footer-insta-heading { justify-content: flex-end; margin-bottom: 1.45cqi; }
.fit-footer-insta-heading h2 { color: #fff; text-align: right; font-size: clamp(20px, 2cqi, 40px); }
.fit-footer-tiles { gap: .45cqi; }
.fit-footer-tile { border-radius: .45cqi; }
.fit-footer-instagram > a {
  display: block;
  margin-top: .65cqi;
  text-align: right;
  text-decoration: none;
  color: #fff;
  font-size: clamp(11px, .7cqi, 15px);
}
#main footer.fit-site-footer .fit-footer-content {
  padding-top: 0;
  background: rgb(21 57 77 / .14);
}
.fit-footer-columns {
  grid-template-columns: 1.25fr .75fr 1fr 1.15fr;
  gap: 2.4cqi;
  padding-block: 2.8cqi 3cqi;
}
.fit-footer-columns h3 { font-size: clamp(19px, 1.5cqi, 32px); margin-bottom: 8px; }
.fit-footer-bottom { border-color: rgb(255 255 255 / .5); }
#main footer.fit-site-footer .fit-footer-social a { background: #fff; color: #1E4E68 !important; }
@media (max-width: 850px) {
  .fit-footer-banner { grid-template-columns: minmax(0, 1fr); gap: 28px; padding-bottom: 24px; }
  .fit-footer-insta-heading { justify-content: flex-start; align-items: flex-start; margin-bottom: 12px; }
  .fit-footer-insta-heading h2 { text-align: left; }
  .fit-footer-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; padding-block: 24px; }
}
@media (max-width: 600px) {
  .fit-footer-columns { grid-template-columns: minmax(0, 1fr); }
  .fit-footer-tiles { gap: 6px; }
  .fit-footer-tile { border-radius: 6px; }
}

@media (min-width: 768px) {
  footer.fit-site-footer > .fit-footer-banner {
    display: grid;
    grid-template-columns: minmax(0, 44fr) minmax(0, 56fr);
    gap: 2cqi;
  }
  footer.fit-site-footer .fit-footer-banner-copy { grid-area: 1 / 1; }
  footer.fit-site-footer .fit-footer-instagram { grid-area: 1 / 2; min-width: 0; }
  footer.fit-site-footer .fit-footer-insta-heading { justify-content: flex-end; }
  footer.fit-site-footer .fit-footer-insta-heading h2 { text-align: right; }
  footer.fit-site-footer .fit-footer-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.fit-site-footer .fit-footer-form .fit-footer-pill {
  --action-fill: rgb(255 255 255 / .18);
  --action-ink: #fff;
  --action-filter: blur(16px);
}
.fit-site-footer .fit-footer-insta-heading h2 {
  --framer-text-color: #fff;
  color: #fff !important;
}

@layer fit-actions {
  .fit-site-footer .fit-footer-form .fit-footer-pill {
    min-height: 34px !important;
    height: 34px !important;
    padding: 6px 15px !important;
    font-size: 13px !important;
    gap: 6px !important;
  }
  .fit-site-footer .fit-footer-form .fit-footer-pill::before {
    width: 14px !important;
    height: 14px !important;
  }
}
.fit-site-footer .fit-footer-form :is(input, textarea) {
  background-color: rgb(255 255 255 / .72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #0f172a;
}
.fit-site-footer .fit-footer-form :is(input, textarea)::placeholder {
  color: #475569;
  opacity: 1;
}

#main footer.fit-site-footer .fit-footer-form :is(input, textarea) {
  background: rgb(255 255 255 / .48) !important;
  color: #fff !important;
  caret-color: #fff;
  border: none !important;
  outline: none !important;
}
#main footer.fit-site-footer .fit-footer-form :is(input, textarea):focus {
  background: rgb(15 23 42 / .36) !important;
}
#main footer.fit-site-footer .fit-footer-form :is(input, textarea)::placeholder {
  color: #334155 !important;
  opacity: 1 !important;
}
#main footer.fit-site-footer .fit-footer-insta-heading h2 {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}

@media (min-width: 601px) and (max-width: 1024px) {
  footer.fit-site-footer .fit-footer-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  footer.fit-site-footer > .fit-footer-banner {
    padding-top: calc(var(--rise) + 32px);
  }
  footer.fit-site-footer .fit-footer-tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  footer.fit-site-footer .fit-footer-tile { border-radius: 8px; }
  footer.fit-site-footer .fit-footer-insta-heading h2 { max-width: none; }
  #main footer.fit-site-footer .fit-footer-form :is(input, textarea) {
    min-height: 44px;
    font-size: 16px;
  }
  @layer fit-actions {
    footer.fit-site-footer .fit-footer-form .fit-footer-pill {
      min-height: 44px !important;
      height: auto !important;
    }
  }
}
