/* The header alone sits over the existing hero photograph. */
.ff-header {
  position: sticky;
  inset: auto;
  top: 0;
  z-index: 50;
  height: 90px;
  margin-bottom: -90px;
  color: #f6f1ea;
  background: rgba(45, 31, 27, .69);
  border-bottom: 1px solid rgba(246, 241, 234, .11);
  -webkit-backdrop-filter: blur(13px) saturate(115%);
  backdrop-filter: blur(13px) saturate(115%);
  transition: background-color .3s ease;
}
.ff-header.is-scrolled { background: rgba(45, 31, 27, .82); }
.ff-header-inner {
  width: min(calc(100% - 56px), 1304px);
  height: 100%;
  min-height: 0;
  margin: auto;
  padding: 0;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: clamp(20px, 2.4vw, 36px);
  border: 0;
}
.ff-header .ff-brand { min-width: 0; }
.ff-header .ff-brand strong { font-size: 26px; }
.ff-header .ff-brand small { margin-top: 6px; letter-spacing: .09em; }
.ff-header .ff-nav {
  order: 0;
  width: auto;
  min-width: 0;
  margin-inline: auto;
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: clamp(15px, 1.65vw, 27px);
  white-space: nowrap;
}
.ff-header .ff-nav a { color: #f6f1ea; }
.ff-header .ff-nav a:focus-visible,
.ff-header .ff-brand:focus-visible,
.ff-header .ff-button:focus-visible,
.ff-menu-toggle:focus-visible {
  outline: 2px solid #ddc5ad;
  outline-offset: 4px;
}
.ff-header .ff-button {
  flex: 0 0 auto;
  width: auto;
  max-width: none;
  min-height: 46px;
  padding: 10px 18px;
  gap: 8px;
  background: rgba(58, 44, 40, .12);
  border: 1px solid rgba(246, 241, 234, .58);
  color: #f6f1ea;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.35;
  text-align: center;
  transition: background-color .25s ease, border-color .25s ease;
}
.ff-header .ff-button:hover {
  background: rgba(246, 241, 234, .12);
  border-color: rgba(246, 241, 234, .84);
  color: #f6f1ea;
}
.ff-header .ff-button .ff-header-cta-label { font-size: inherit; line-height: inherit; font-weight: inherit; }
.ff-header-cta-arrow { display: none; }
.ff-menu-toggle { display: none; }
.ff-hero .ff-scene { padding-top: 90px; }
@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .ff-header { background: rgba(45, 31, 27, .94); }
  .ff-header.is-scrolled { background: rgba(45, 31, 27, .97); }
}
@media (max-width: 1080px) {
  .ff-header {
    top: 10px;
    width: calc(100% - 24px);
    height: 86px;
    margin: 10px auto -96px;
    border: 1px solid rgba(246, 241, 234, .35);
    border-radius: 12px;
  }
  .ff-header-inner {
    width: calc(100% - 28px);
    gap: clamp(8px, 1.5vw, 16px);
  }
  .ff-header .ff-brand { margin-right: auto; }
  .ff-header .ff-brand strong { font-size: clamp(19px, 2.6vw, 25px); }
  .ff-header .ff-brand small { font-size: clamp(8px, 1vw, 10px); letter-spacing: .035em; }
  .ff-header .ff-button {
    max-width: 190px;
    min-height: 48px;
    padding: 8px 12px;
    font-size: 11px;
    text-align: left;
    justify-content: space-between;
  }
  .ff-header-cta-label { max-width: 132px; }
  .ff-header .ff-button .ff-header-cta-arrow { display: block; flex: none; font-size: 20px; }
  .ff-menu-toggle {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    padding: 11px 8px;
    border: 0;
    background: transparent;
    color: #f6f1ea;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    cursor: pointer;
  }
  .ff-menu-toggle span {
    display: block;
    height: 1.5px;
    width: 100%;
    background: currentColor;
    transform-origin: center;
    transition: transform .25s ease, opacity .2s ease;
  }
  .ff-header.menu-open .ff-menu-toggle span:first-child { transform: translateY(7px) rotate(45deg); }
  .ff-header.menu-open .ff-menu-toggle span:nth-child(2) { opacity: 0; }
  .ff-header.menu-open .ff-menu-toggle span:last-child { transform: translateY(-7px) rotate(-45deg); }
  .ff-header .ff-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    order: 0;
    width: min(310px, calc(100vw - 24px));
    margin: 0;
    padding: 10px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(45, 31, 27, .97);
    border: 1px solid rgba(246, 241, 234, .2);
    border-radius: 10px;
    -webkit-backdrop-filter: blur(14px) saturate(115%);
    backdrop-filter: blur(14px) saturate(115%);
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity .25s ease, transform .25s ease, visibility .25s;
  }
  .ff-header.menu-open .ff-nav {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
  .ff-header .ff-nav a {
    display: block;
    padding: 12px 14px;
    font-size: 13px;
    line-height: 1.4;
    white-space: normal;
  }
  .ff-hero .ff-scene { padding-top: 122px; }
  html { scroll-padding-top: 110px; }
}
@media (max-width: 560px) {
  .ff-header .ff-brand { max-width: 160px; }
  .ff-header .ff-button { flex: 0 1 136px; min-width: 0; }
  .ff-menu-toggle { flex: 0 0 40px; width: 40px; }
}
@media (max-width: 420px) {
  .ff-header .ff-brand { flex: 1 1 auto; max-width: 150px; }
  .ff-header .ff-brand strong { font-size: 17px; letter-spacing: .055em; white-space: nowrap; }
  .ff-header .ff-brand small { font-size: 7.5px; line-height: 1.25; }
  .ff-header .ff-button { flex: 0 0 128px; min-width: 0; padding-inline: 5px; gap: 3px; font-size: 10px; }
  .ff-header-cta-label { max-width: 96px; }
  .ff-header .ff-button .ff-header-cta-arrow { font-size: 15px; }
  .ff-menu-toggle { flex-basis: 40px; width: 40px; }
}
@media (max-width: 350px) {
  .ff-header-inner { width: calc(100% - 20px); gap: 5px; }
  .ff-header .ff-brand { max-width: 123px; }
  .ff-header .ff-brand strong { font-size: 16px; }
  .ff-header .ff-brand small { font-size: 7.5px; }
  .ff-header .ff-button { flex-basis: 108px; font-size: 9px; }
  .ff-menu-toggle { flex-basis: 36px; width: 36px; padding-inline: 6px; }
}
