/* The filled navigation appears only once the full hero has passed. */
.shared-nav-page .masthead { isolation:isolate; transition:none; }
.shared-nav-page .masthead.is-scrolled { background:transparent; box-shadow:none; }
.shared-nav-page .masthead::after { content:''; position:absolute; inset:0; z-index:-1; background:#fff; transform:scaleY(0); transform-origin:center bottom; transition:transform .65s cubic-bezier(.22,1,.36,1); pointer-events:none; }
.shared-nav-page .masthead.is-scrolled::after { transform:scaleY(1); box-shadow:0 1px 0 #17161415; }
.shared-nav-page .masthead.is-scrolled .masthead__inner { animation:nav-content-enter .6s cubic-bezier(.22,1,.36,1) .12s both; }
@keyframes nav-content-enter { from { opacity:0; transform:translateY(14px); } to { opacity:1; transform:translateY(0); } }
/* Keep only the original compact trigger/socials over the hero. */
.shared-nav-page .masthead:not(.is-scrolled) .masthead__nav,
.shared-nav-page .masthead:not(.is-scrolled) .masthead__cta { display:none; }
.shared-nav-page .masthead:focus-within .masthead__inner { animation:none; }
@media(prefers-reduced-motion:reduce) {
 .shared-nav-page .masthead::after { transition:none; }
 .shared-nav-page .masthead.is-scrolled .masthead__inner { animation:none; }
}
/* Reference proportions: compact trigger, left brand, evenly spread links. */
@media(min-width:768px) {
 .shared-nav-page .masthead.is-scrolled { height:100px; }
 .shared-nav-page .masthead.is-scrolled .masthead__inner {
  display:grid; grid-template-columns:28px clamp(160px,18vw,224px) minmax(0,1fr) 98px;
  grid-template-rows:1fr; width:100%; max-width:none; height:100px;
  padding:14px 28px; gap:24px; align-items:center;
 }
 .shared-nav-page .masthead.is-scrolled .masthead__burger {
  grid-column:1; grid-row:1; width:28px; min-width:28px; padding:0;
  grid-template-columns:24px; grid-template-rows:1px 1px; gap:7px;
 }
 .shared-nav-page .masthead.is-scrolled .masthead__burger > span { width:24px; height:1px; }
 .shared-nav-page .masthead.is-scrolled .masthead__logo {
  grid-column:2; grid-row:1; width:100%; justify-self:start;
 }
 .shared-nav-page .masthead.is-scrolled .masthead__logo img {
  width:100%; max-height:70px; height:auto; object-fit:contain;
 }
 .shared-nav-page .masthead.is-scrolled .masthead__nav {
  display:flex; grid-column:3; grid-row:1; width:100%; min-width:0;
  justify-content:space-evenly; align-items:center; flex-wrap:nowrap;
  gap:16px; padding:0 24px;
 }
 .shared-nav-page .masthead.is-scrolled .masthead__nav a {
  font:400 10px/1.4 Arial,sans-serif; letter-spacing:.16em;
  white-space:nowrap; color:#343432;
 }
 .shared-nav-page .masthead.is-scrolled .masthead__social { display:none; }
 .shared-nav-page .masthead.is-scrolled .masthead__cta {
  display:inline-flex; grid-column:4; grid-row:1; width:98px; min-height:42px;
  justify-content:center; align-items:center; padding:12px 16px;
  border:0; background:#ece7e1; color:#343432;
  font:400 10px/1.4 Arial,sans-serif; letter-spacing:.14em;
 }
 .shared-nav-page .masthead.is-scrolled .masthead__cta:hover { background:#ded7cc; color:#343432; }
}
@media(min-width:768px) and (max-width:950px) {
 .shared-nav-page .masthead.is-scrolled .masthead__inner { grid-template-columns:24px 145px minmax(0,1fr) 88px; padding-inline:20px; gap:16px; }
 .shared-nav-page .masthead.is-scrolled .masthead__nav { gap:12px; padding:0; }
 .shared-nav-page .masthead.is-scrolled .masthead__nav a { font-size:9px; letter-spacing:.12em; }
 .shared-nav-page .masthead.is-scrolled .masthead__cta { width:88px; }
}

.shared-nav-page .masthead.is-scrolled { position:fixed; inset:0 0 auto; background:#fff; color:#343432; z-index:100; }
.shared-nav-page .masthead.is-scrolled .masthead__logo img { filter:brightness(0); }
.shared-nav-page .masthead.is-scrolled .masthead__burger { color:#343432; position:static; }
.shared-nav-page .masthead.is-scrolled .masthead__burger b { display:none; }
.shared-nav-page .masthead.is-scrolled .masthead__nav a { text-shadow:none; color:#343432; }
.site-footer { background:#F9F7F4; }
.site-footer__top,.site-footer__gallery-item { opacity:1 !important; transform:none !important; }
.shared-nav-page .masthead.is-scrolled .masthead__burger { display:grid !important; }
.shared-nav-page .masthead.is-scrolled .masthead__nav a[data-contact-page] { display:none; }
.site-footer { background:#F9F7F4; --footer-bg:#F9F7F4; }
.site-footer__inner .motion-reveal { opacity:1 !important; transform:none !important; }

body.folio-landing.shared-nav-page > .masthead:not(.is-scrolled) { position:absolute !important; }
/* Use the homepage's uppercase navigation labels on every shared header. */
.shared-nav-page .masthead.is-scrolled .masthead__nav a,
.shared-nav-page .masthead--solid .masthead__nav a {
 font-family:var(--font-label),Arial,sans-serif !important;
 font-size:10px; font-weight:400; line-height:1.4;
 letter-spacing:.16em; text-transform:uppercase;
}
.shared-nav-page .masthead.is-scrolled .masthead__cta,
.shared-nav-page .masthead--solid .masthead__cta {
 font-family:var(--font-label),Arial,sans-serif !important;
 font-size:10px; font-weight:400; line-height:1.4;
 letter-spacing:.14em; text-transform:uppercase;
}

/* Desktop reference: one balanced row of five text links. */
@media (min-width:768px) {
 .shared-nav-page .masthead.is-scrolled .masthead__inner {
  grid-template-columns:28px clamp(160px,18vw,224px) minmax(0,1fr);
 }
 .shared-nav-page .masthead.is-scrolled .masthead__nav {
  display:flex; justify-content:space-between; gap:clamp(16px,3vw,64px);
  padding-inline:clamp(24px,5vw,96px) 0;
 }
 .shared-nav-page .masthead.is-scrolled .masthead__nav a {
  display:inline-flex; align-items:center; justify-content:center; min-height:44px;
  font-size:12px; line-height:1.4; letter-spacing:.16em; text-transform:none;
  white-space:nowrap;
 }
 .shared-nav-page .masthead.is-scrolled .masthead__nav a[data-contact-page] { display:inline-flex; }
 .shared-nav-page .masthead.is-scrolled .masthead__cta { display:none; }
}
@media (min-width:768px) and (max-width:950px) {
 .shared-nav-page .masthead.is-scrolled .masthead__inner { grid-template-columns:24px 145px minmax(0,1fr); }
 .shared-nav-page .masthead.is-scrolled .masthead__nav { gap:12px; padding-inline:12px 0; }
 .shared-nav-page .masthead.is-scrolled .masthead__nav a { font-size:10px; letter-spacing:.1em; }
}
